diff options
author | jbbrokaw <jbrokaw@gmail.com> | 2014-11-03 09:03:08 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-11-04 11:06:21 -0800 |
commit | 32010d1d937d9763d88ff013de43d13b0fe5d6a3 (patch) | |
tree | d3c8151618a74e03fb05c43365cfdd6060221f4f /share | |
parent | 75860db511eac9f912f39e8e4d89e3a46ecc8deb (diff) |
Changes tabs to 4 spaces per fish style
Diffstat (limited to 'share')
-rw-r--r-- | share/completions/heroku.fish | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/share/completions/heroku.fish b/share/completions/heroku.fish index e4348335..c18d47ca 100644 --- a/share/completions/heroku.fish +++ b/share/completions/heroku.fish @@ -2,49 +2,49 @@ # By Jason Brokaw (github.com/jbbrokaw) function __fish_list_available_addons - heroku addons:list | awk -F":" '/^[a-z]/ {print $1}' + heroku addons:list | awk -F":" '/^[a-z]/ {print $1}' end function __fish_list_installed_addons - heroku addons | awk '{if (NR>1) print $1}' + heroku addons | awk '{if (NR>1) print $1}' end function __fish_list_heroku_apps - heroku apps | awk '{if (NR>1) print $1}' + heroku apps | awk '{if (NR>1) print $1}' end function __fish_list_heroku_config_keys - heroku config | awk -F':' '{if (NR>1) print $1}' + heroku config | awk -F':' '{if (NR>1) print $1}' end function __fish_list_heroku_domains - heroku domains | awk '{if (NR>1) print $1}' + heroku domains | awk '{if (NR>1) print $1}' end function __fish_list_heroku_dynos - heroku ps | awk -F':' '{if (NR>1) print $1}' + heroku ps | awk -F':' '{if (NR>1) print $1}' end function __fish_list_heroku_releases - heroku releases | awk '{if (NR>1) print $1}' + heroku releases | awk '{if (NR>1) print $1}' end function __fish_heroku_needs_command - set cmd (commandline -opc) - if [ (count $cmd) -eq 1 -a $cmd[1] = 'heroku' ] - return 0 - end - return 1 + set cmd (commandline -opc) + if [ (count $cmd) -eq 1 -a $cmd[1] = 'heroku' ] + return 0 + end + return 1 end function __fish_heroku_using_command - set cmd (commandline -opc) - if [ (count $cmd) -gt 1 ] - if [ $argv[1] = $cmd[2] ] - return 0 + set cmd (commandline -opc) + if [ (count $cmd) -gt 1 ] + if [ $argv[1] = $cmd[2] ] + return 0 + end end - end - return 1 + return 1 end set -l heroku_looking -c heroku -n '__fish_heroku_needs_command' @@ -107,7 +107,7 @@ complete $heroku_looking -xa addons:upgrade -d 'upgrade an existing addon' complete -c heroku -n '__fish_heroku_using_command addons:upgrade' -fa '(__fish_list_installed_addons)' # Apps options and subcommands -complete -c heroku -n '__fish_heroku_using_command apps' -s o -l org -l ORG -d "the org to list the apps for" +complete -c heroku -n '__fish_heroku_using_command apps' -s o -l org -l ORG -d "the org to list the apps for" complete -c heroku -n '__fish_heroku_using_command apps' -s A -l all -d "list all apps in the org. Not just joined apps" complete -c heroku -n '__fish_heroku_using_command apps' -s p -l personal -d "list apps in personal account when a default org is set" |