diff options
author | Michael Muré <batolettre@gmail.com> | 2019-08-31 13:25:44 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-08-31 13:25:44 +0200 |
commit | c7792a5d1279a92c8d0caf67a0cf688cc9e32e09 (patch) | |
tree | 31e04585bf2e68ba5311722cb52df9ffd1e0a2ab /misc/bash_completion | |
parent | 2b14bb253c0bbc7e5010de62f2dc527186d88f0a (diff) | |
download | git-bug-c7792a5d1279a92c8d0caf67a0cf688cc9e32e09.tar.gz |
commands: add a "tui" alias for "termui"
Diffstat (limited to 'misc/bash_completion')
-rw-r--r-- | misc/bash_completion/git-bug | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug index ae3242e5..06032f10 100644 --- a/misc/bash_completion/git-bug +++ b/misc/bash_completion/git-bug @@ -1042,6 +1042,10 @@ _git-bug_root_command() commands+=("show") commands+=("status") commands+=("termui") + if [[ -z "${BASH_VERSION}" || "${BASH_VERSINFO[0]}" -gt 3 ]]; then + command_aliases+=("tui") + aliashash["tui"]="termui" + fi commands+=("title") commands+=("user") commands+=("version") |