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