summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh
diff options
context:
space:
mode:
authorAlan Pearce2016-07-04 14:36:59 +0200
committerAlan Pearce2016-07-04 14:36:59 +0200
commit0f87ea4e81cfd480310f109f892ae51b919b265c (patch)
tree6fde319dcbb5ade9bb94d7d46c9a15762a1063e3 /tag-zsh/config/zsh
parentbc564613c5244d86ae94b3ffb88563fe211bc8ca (diff)
downloadnixfiles-0f87ea4e81cfd480310f109f892ae51b919b265c.tar.lz
nixfiles-0f87ea4e81cfd480310f109f892ae51b919b265c.tar.zst
nixfiles-0f87ea4e81cfd480310f109f892ae51b919b265c.zip
zsh: Add $HOME/bin to path
Diffstat (limited to 'tag-zsh/config/zsh')
-rw-r--r--tag-zsh/config/zsh/zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 237b94a0..160257e4 100644
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -11,6 +11,11 @@ zplug "tymm/zsh-directory-history", as:plugin
 
 WORDCHARS='*?_-[]~.&;!#$%^(){}<>'
 
+if [[ ${path[(I)$HOME/bin ]} ]]
+then
+	path+=($HOME/bin)
+fi
+
 ls='\ls'
 gnu_ls_options="-v --group-directories-first --color=auto"
 gnu_ls_isodate="--time-style=long-iso"