mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 19:54:22 +08:00
Better filename matching
This commit is contained in:
1 parent
128cd3f566
commit
a265acee4f
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user