summary refs log tree commit diff
diff options
context:
space:
mode:
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 \