mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-12 15:34:50 +08:00
Compare commits
2 Commits
3d51d63077
...
fae34b383d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fae34b383d | ||
|
|
6b8b6253d2 |
@ -6,7 +6,7 @@
|
||||
# Inspiration : https://weblog.rubyonrails.org/2006/3/9/fast-rake-task-completion-for-zsh
|
||||
|
||||
function _jake () {
|
||||
if [ -f Jakefile ]||[ -f jakefile ]; then
|
||||
if [ -f Jakefile ] || [ -f jakefile ] || [ -f Jakefile.js ] || [ -f jakefile.js ]; then
|
||||
compadd `jake -T | cut -d " " -f 2 | sed -E "s/.\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"`
|
||||
fi
|
||||
}
|
||||
|
||||
@ -43,6 +43,7 @@ subcmds=(
|
||||
'provides'
|
||||
'rdependents'
|
||||
'rdeps'
|
||||
'reclaim'
|
||||
'rpmpackage'
|
||||
'search'
|
||||
'selfupdate'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user