aboutsummaryrefslogtreecommitdiff
path: root/env/.zshrc
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-06-04 11:51:38 -0500
committericeyrazor <iceyrazor@mailfence.com>2026-06-04 11:51:38 -0500
commit4567ec7e1281cae3feba3f2fb827f8cfbabf48f1 (patch)
treee50dcf6fb9706d7944f83389a175d3ea6fed2589 /env/.zshrc
parentcffb4360557e74eb4ace93f9903965819c9b0689 (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-xenv/.zshrc8
1 files changed, 3 insertions, 5 deletions
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)"