mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-01-14 13:00:33 +08:00
Better filename matching
This commit is contained in:
parent
128cd3f566
commit
a265acee4f
@ -21,7 +21,7 @@ function marks {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function _completemarks {
|
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
|
compctl -K _completemarks jump
|
||||||
|
Loading…
Reference in New Issue
Block a user