]> id.pley.net Git - dotfiles.git/blobdiff - zsh_login
Update zsh options; remove opensource & internal aliases
[dotfiles.git] / zsh_login
index 1eb60652d7ad5e898894881c13dcdd1e1be21e1b..2a24355e0bdee9b4084433e3126154d6274b17cc 100644 (file)
--- a/zsh_login
+++ b/zsh_login
@@ -29,12 +29,19 @@ __git_files () {
 }
 
 setopt PROMPT_SUBST
-setopt INC_APPEND_HISTORY
 setopt SHARE_HISTORY
 setopt extended_glob
+setopt AUTO_CD
+setopt DVORAK
+setopt CDABLE_VARS
+setopt CD_SILENT
 
-PS1=$'\(zsh) %(?.%F{green}  ┬─┬ノ(º_ºノ\)%f.%F{red}(╯°□°\)╯︵ ┻━┻%f) %(1v.%1v .)%n@%m:%(3~,.../,)%2~> '
-PATH=~/bin:$PATH
+PS1=$'%(?.😊.😡)  %(1v.%1v .)%n@%m:%(3~,.../,)%2~> '
+PATH=~/bin:$PATH:~/homebrew/bin:
+
+if [[ -d ~/homebrew/bin ]]; then
+       PATH=$PATH:~/homebrew/bin
+fi
 
 HISTFILE=~/.zsh_history
 HISTSIZE=5000
@@ -42,8 +49,15 @@ SAVEHIST=1000
 WORDCHARS='*?_-.[]~&;!#$%^(){}<>'
 
 export MANPATH=~/man:$MANPATH
+
+if [[ -d ~/homebrew/share/man ]]; then
+       MANPATH=$MANPATH:~/homebrew/share/man
+fi
+
 export EDITOR=/usr/bin/vim
 export LSCOLORS=gxfxcxdxbxegedabagacad
 
+export CDPATH=~
+
 source ~/.dotfiles/zsh_aliases
 source ~/.dotfiles/zsh_webkit_login