Merge pull request #9 from che666/master

Fixed noise by rerouting the output of some external completion
This commit is contained in:
Toan Nguyen 2018-04-08 18:21:57 +07:00 committed by GitHub
commit 63ed4c4886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

@ -1 +1 @@
[[ -x "$(which aws_completer)" ]] && complete -C "$(which aws_completer)" aws
[[ -x "$(which aws_completer)" ]] &>/dev/null && complete -C "$(which aws_completer)" aws

@ -1,4 +1,4 @@
#!/usr/bin/env bash
which register-python-argcomplete > /dev/null \
which register-python-argcomplete &> /dev/null \
&& eval "$(register-python-argcomplete conda)" \
|| echo "Please install argcomplete to use conda completion" > /dev/null

@ -1 +1 @@
[[ -x "$(which jungle)" ]] && eval "$(_JUNGLE_COMPLETE=source jungle)"
[[ -x "$(which jungle)" ]] &>/dev/null && eval "$(_JUNGLE_COMPLETE=source jungle)"

@ -1 +1 @@
which kontena > /dev/null && . "$( kontena whoami --bash-completion-path )"
which kontena &> /dev/null && . "$( kontena whoami --bash-completion-path )"