1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-24 17:00:47 +00:00

Better filename matching

This commit is contained in:
Justin Aiken 2013-09-05 10:00:14 -06:00
parent 128cd3f566
commit a265acee4f

View file

@ -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