dotnix @main -
refs -
log -
-
https://git.jolheiser.com/dotnix.git
chore: update wezterm config in nushell
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmZ8UtMACgkQuFOtpdp7
v3phPxAAz0v7sih/WLBZ/CXXaNAD8nUXTfVuupyJxMhGuK05g5K/F8yusZTSRV1M
ENkI+V7IkdpkkrfRWHzxK0KRRuqlIaaQxzytNhEbyHrkEfvfOkiE9mMIEZlaZj+I
nLB4sxxOKl0XuFBxGQJOB1SMe45bSMt3VEKxuJLEffDH3VpJ7GeC2ZpOVkbCQ1tE
bRHGG1XHgESouOTpOCPqYovXyy8AsilYJ8q1A8ZsrKeA91vKt1g+hJFjO/CQs3ws
8BEcCxFWQX0pKHatWX+NdMBI/GhxyN7ezY6egLGZWmIKEDH86YFwhj67xbdPBKEL
WHoyjYYvqQB8VykveRamFTCkr4toLYzLQLox3X5c7OFDuAjY7yCKDz6TU3XOVq9Y
OOZOf7B2EIkf2C4Og1m0jGXadVHlFDG1X3G6ZRlch/VoCkWF0IPowRB1wy9Vjd1O
4oKbGY4vo5KU19iV1mhwfbCpOUDrrygnHy086AM3Dnwt2360TmZ1phVjG0Pvcl1c
nmvExel9cq0pK0PyWsBWPdMPhGg+Caa1R2Bb2xvV/MhXYU7lSuG2Pe+pVfdA+cT1
RP0uvKsViXRdsnh7lA6dbbC6MGbmSXk08p2HuCUrhHDRSIx0k0+Fuwb5MrO0Td0C
eu+KEoc1I7BCq5kCLNIS9VTI7HrIY3tXHriwhp/dJZGLA3zRl60=
=WOuO
-----END PGP SIGNATURE-----
diff --git a/apps/nogui/nushell/config.nu b/apps/nogui/nushell/config.nu
index 958956934b1de7c3a5bb4418a306bf8879dba24b..8b9e456f70bce65996ede263920e08befe64da09 100644
--- a/apps/nogui/nushell/config.nu
+++ b/apps/nogui/nushell/config.nu
@@ -399,7 +399,34 @@ float_precision: 2
# buffer_editor: "emacs" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL
use_ansi_coloring: true
edit_mode: emacs # emacs, vi
- shell_integration: true # enables terminal markers and a workaround to arrow keys stop working issue
+ shell_integration: {
+ # osc2 abbreviates the path if in the home_dir, sets the tab/window title, shows the running command in the tab/window title
+ osc2: true
+ # osc7 is a way to communicate the path to the terminal, this is helpful for spawning new tabs in the same directory
+ osc7: true
+ # osc8 is also implemented as the deprecated setting ls.show_clickable_links, it shows clickable links in ls output if your terminal supports it. show_clickable_links is deprecated in favor of osc8
+ osc8: true
+ # osc9_9 is from ConEmu and is starting to get wider support. It's similar to osc7 in that it communicates the path to the terminal
+ osc9_9: false
+ # osc133 is several escapes invented by Final Term which include the supported ones below.
+ # 133;A - Mark prompt start
+ # 133;B - Mark prompt end
+ # 133;C - Mark pre-execution
+ # 133;D;exit - Mark execution finished with exit code
+ # This is used to enable terminals to know where the prompt is, the command is, where the command finishes, and where the output of the command is
+ osc133: true
+ # osc633 is closely related to osc133 but only exists in visual studio code (vscode) and supports their shell integration features
+ # 633;A - Mark prompt start
+ # 633;B - Mark prompt end
+ # 633;C - Mark pre-execution
+ # 633;D;exit - Mark execution finished with exit code
+ # 633;E - NOT IMPLEMENTED - Explicitly set the command line with an optional nonce
+ # 633;P;Cwd=<path> - Mark the current working directory and communicate it to the terminal
+ # and also helps with the run recent menu in vscode
+ osc633: true
+ # reset_application_mode is escape \x1b[?1l and was added to help ssh work better
+ reset_application_mode: true
+ }
show_banner: false # true or false to enable or disable the banner
render_right_prompt_on_last_line: false # true or false to enable or disable right prompt to be rendered on last line of the prompt.
diff --git a/apps/nogui/nushell/jolheiser.nu b/apps/nogui/nushell/jolheiser.nu
index c6a7d3dbcf13d71a8f5837999f59d898ba23137b..ee508fd02363e70a935f5a4969034cce3327ed69 100644
--- a/apps/nogui/nushell/jolheiser.nu
+++ b/apps/nogui/nushell/jolheiser.nu
@@ -83,7 +83,6 @@ }
## Other ##
$env.EDITOR = hx
-$env.config = ($env.config | upsert "shell_integration" ("WEZTERM_PANE" not-in $env and "SSH_CLIENT" not-in $env))
source ~/.config/nushell/zoxide.nu
source ~/.config/nushell/ohmyposh.nu