]> id.pley.net Git - dotfiles.git/blobdiff - zsh_login
Update zsh aliases and settings
[dotfiles.git] / zsh_login
index b2d298772e0c72e36c2f6c19bd98455f7ff685c4..83186801abd8b462c6b3f3c321360d0b3c572044 100644 (file)
--- a/zsh_login
+++ b/zsh_login
@@ -29,12 +29,17 @@ __git_files () {
 }
 
 setopt PROMPT_SUBST
 }
 
 setopt PROMPT_SUBST
-setopt INC_APPEND_HISTORY
 setopt SHARE_HISTORY
 setopt extended_glob
 setopt SHARE_HISTORY
 setopt extended_glob
+setopt AUTO_CD
+setopt DVORAK
 
 PS1=$'%(?.😊.😡)  %(1v.%1v .)%n@%m:%(3~,.../,)%2~> '
 
 PS1=$'%(?.😊.😡)  %(1v.%1v .)%n@%m:%(3~,.../,)%2~> '
-PATH=~/bin:$PATH
+PATH=~/bin:$PATH:~/homebrew/bin:
+
+if [[ -d ~/homebrew/bin ]]; then
+       PATH=$PATH:~/homebrew/bin
+fi
 
 HISTFILE=~/.zsh_history
 HISTSIZE=5000
 
 HISTFILE=~/.zsh_history
 HISTSIZE=5000
@@ -42,8 +47,15 @@ SAVEHIST=1000
 WORDCHARS='*?_-.[]~&;!#$%^(){}<>'
 
 export MANPATH=~/man:$MANPATH
 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 EDITOR=/usr/bin/vim
 export LSCOLORS=gxfxcxdxbxegedabagacad
 
+export CDPATH=~
+
 source ~/.dotfiles/zsh_aliases
 source ~/.dotfiles/zsh_webkit_login
 source ~/.dotfiles/zsh_aliases
 source ~/.dotfiles/zsh_webkit_login