diff options
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)" |
