Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
b456541c
Commit
b456541c
authored
Jul 23, 2013
by
Andrey Janzen
Browse files
In capistrano completion show also tasks without description
parent
2cc4801b
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/capistrano/_capistrano
View file @
b456541c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
if [[ -f config/deploy.rb || -f Capfile ]]; then
if [[ -f config/deploy.rb || -f Capfile ]]; then
if [[ ! -f .cap_tasks~ || config/deploy.rb -nt .cap_tasks~ ]]; then
if [[ ! -f .cap_tasks~ || config/deploy.rb -nt .cap_tasks~ ]]; then
echo "\nGenerating .cap_tasks~..." > /dev/stderr
echo "\nGenerating .cap_tasks~..." > /dev/stderr
cap --tasks | grep '#' | cut -d " " -f 2 > .cap_tasks~
cap
-v
--tasks | grep '#' | cut -d " " -f 2 > .cap_tasks~
fi
fi
compadd `cat .cap_tasks~`
compadd `cat .cap_tasks~`
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment