]> id.pley.net Git - dotfiles.git/blobdiff - zsh_login
Added has() function; made EDITOR variables dependent on whether terminal is remote.
[dotfiles.git] / zsh_login
index 51a1b00d52caae466cb6f2c7d0a6a0490327eec5..b2d298772e0c72e36c2f6c19bd98455f7ff685c4 100644 (file)
--- a/zsh_login
+++ b/zsh_login
@@ -33,12 +33,13 @@ setopt INC_APPEND_HISTORY
 setopt SHARE_HISTORY
 setopt extended_glob
 
 setopt SHARE_HISTORY
 setopt extended_glob
 
-PS1=$'\(zsh) %(?.%F{green}:-\)%f.%F{red}:-(%f) %(1v.%1v .)%n@%m:%(3~,.../,)%2~> '
+PS1=$'%(?.😊.😡)  %(1v.%1v .)%n@%m:%(3~,.../,)%2~> '
 PATH=~/bin:$PATH
 
 HISTFILE=~/.zsh_history
 HISTSIZE=5000
 SAVEHIST=1000
 PATH=~/bin:$PATH
 
 HISTFILE=~/.zsh_history
 HISTSIZE=5000
 SAVEHIST=1000
+WORDCHARS='*?_-.[]~&;!#$%^(){}<>'
 
 export MANPATH=~/man:$MANPATH
 export EDITOR=/usr/bin/vim
 
 export MANPATH=~/man:$MANPATH
 export EDITOR=/usr/bin/vim