]> git.rmz.io Git - dotfiles.git/commitdiff
fix globbing in zsh
authorSamir Benmendil <ram-z@chakra-project.org>
Sat, 1 Dec 2012 17:06:13 +0000 (18:06 +0100)
committerSamir Benmendil <ram-z@chakra-project.org>
Sat, 1 Dec 2012 17:06:13 +0000 (18:06 +0100)
zshrc

diff --git a/zshrc b/zshrc
index 6f8f6a3a12de5d57e830e196498abce22ad1e026..c52d8b082805442530d3da5d78e7ab8c4f32bc73 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -11,7 +11,8 @@ setopt extended_history
 # misc
 setopt beep
 setopt extendedglob
-setopt nomatch
+setopt csh_nullglob # if glob does not match, remove pattern, if no glob matches print error
+setopt numeric_glob_sort # sort numerically not lexically
 setopt noclobber    # don't allow overwriting files with '>', use '>!' instead
 setopt notify
 setopt rcquotes     # echo 'don''t'; prints don't
@@ -68,3 +69,4 @@ hash -d src=~/src
 hash -d chroot_testing=/buildsystem/testing/buildroot
 hash -d chroot_master=/buildsystem/master/buildroot
 hash -d chroot_lib32=/buildsystem/lib32/buildroot
+hash -d wineprefixes=/mnt/sdd5/wineprefixes