diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-06-04 11:51:38 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-06-04 11:51:38 -0500 |
| commit | 4567ec7e1281cae3feba3f2fb827f8cfbabf48f1 (patch) | |
| tree | e50dcf6fb9706d7944f83389a175d3ea6fed2589 /env/.zshrc | |
| parent | cffb4360557e74eb4ace93f9903965819c9b0689 (diff) | |
Squashed commit of the following:
ps1 change
vis bind to lf
cleaned up vis plugins
added greyscript language server
added asciidoc vis lexer
Diffstat (limited to 'env/.zshrc')
| -rwxr-xr-x | env/.zshrc | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -9,7 +9,7 @@ SAVEHIST=1000 # End of lines configured by zsh-newuser-install PS1='%B%F{magenta}%n%B%F{yellow}@%B%F{magenta}%M %B%F{cyan}%1~ %B%F{default}∮ ' -#PS1='%B%F{white}[%B%F{red}Z%B%F{magenta}ARCH %B%F{cyan}%1~%B%F{white}]%B%F{default}$ ' +tty | grep -q pts && test "$USER" = "iceyrazor" && PS1='%B%F{magenta}アイシライゾ%B%F{yellow}@%B%F{magenta}%M %B%F{cyan}%1~ %B%F{default}∮ ' bindkey -v @@ -17,9 +17,9 @@ bindkey -v function vi-yank-clipboard { zle vi-yank if [ "$WAYLAND_DISPLAY" ]; then - printf "$CUTBUFFER" | wl-copy + printf -- "%s" "$CUTBUFFER" | wl-copy else - printf "$CUTBUFFER" | xclip -selection clipboard + printf -- "%s" "$CUTBUFFER" | xclip -selection clipboard fi } @@ -36,5 +36,3 @@ source ~/.config/.profile # bindkey -a i forward-char # bindkey -a n down-history # bindkey -a e up-history - -# eval "$(atuin init zsh)" |
