From 4567ec7e1281cae3feba3f2fb827f8cfbabf48f1 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Thu, 4 Jun 2026 11:51:38 -0500 Subject: Squashed commit of the following: ps1 change vis bind to lf cleaned up vis plugins added greyscript language server added asciidoc vis lexer --- env/.zshrc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'env/.zshrc') diff --git a/env/.zshrc b/env/.zshrc index 84418af..9d75855 100755 --- a/env/.zshrc +++ b/env/.zshrc @@ -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)" -- cgit v1.3