diff options
author | nulltrek <pumabit@gmail.com> | 2013-09-25 22:25:04 +0200 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2013-10-02 21:40:19 +0800 |
commit | 6990871efd032acec88ae4272be20b1d144c3509 (patch) | |
tree | 29d284c36820852e99940b2478c6ffc8f55f3f6f /share | |
parent | a62ebc9a69ac57f74b9bcaa52813eaefd79aede2 (diff) |
Fix git completions when aliased command is not found.
Diffstat (limited to 'share')
-rw-r--r-- | share/completions/git.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish index 138b2c4a..d4b9fcf3 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -53,7 +53,7 @@ function __fish_git_using_command end # aliased command - set -l aliased (command git config --get "alias.$cmd[2]" | sed 's/ .*$//') + set -l aliased (command git config --get "alias.$cmd[2]" ^ /dev/null | sed 's/ .*$//') if [ $argv[1] = "$aliased" ] return 0 end |