mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
Better filename matching
This commit is contained in:
1 parent
128cd3f566
commit
a265acee4f
1 file changed
+1
-1
@@ -21,7 +21,7 @@ function marks {
|
||||
}
|
||||
|
||||
function _completemarks {
|
||||
reply=($(ls $MARKPATH/**/*(-) | grep : | sed -E 's/(.*)\/([a-z]*):$/\2/g'))
|
||||
reply=($(ls $MARKPATH/**/*(-) | grep : | sed -E 's/(.*)\/([_\da-zA-Z\-]*):$/\2/g'))
|
||||
}
|
||||
|
||||
compctl -K _completemarks jump
|
||||
|
||||
Reference in new issue
Block a user