mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 15:30:15 +08:00
Better filename matching
This commit is contained in:
parent
128cd3f566
commit
a265acee4f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user