mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
Better filename matching
This commit is contained in:
@@ -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