summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-11-18 20:36:29 -0500
committerJune McEnroe <programble@gmail.com>2017-11-18 20:36:29 -0500
commite9c741774a72bf7b6d8131a58f23997e70bc81d8 (patch)
tree87501f47a9bc4da49053674b8c7e1df3493e1e99
parentRemove april, add july (diff)
downloadsrc-e9c741774a72bf7b6d8131a58f23997e70bc81d8.tar.gz
src-e9c741774a72bf7b6d8131a58f23997e70bc81d8.zip
Condense path
Diffstat (limited to '')
-rw-r--r--home/.zshrc7
1 files changed, 1 insertions, 6 deletions
diff --git a/home/.zshrc b/home/.zshrc
index 7de8abd1..13d82742 100644
--- a/home/.zshrc
+++ b/home/.zshrc
@@ -10,12 +10,7 @@ bindkey -v
 KEYTIMEOUT=1
 
 OLDPATH=$PATH
-path=(
-  /sbin /bin
-  /usr/local/sbin /usr/local/bin
-  /usr/sbin /usr/bin
-  ~/.bin ~/.cargo/bin
-)
+path=({,/usr/local,/usr}/{s,}bin ~/.bin ~/.cargo/bin)
 
 export PAGER=less MANPAGER=less EDITOR=vim GIT_EDITOR=vim
 type nvim > /dev/null \