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
4 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -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

View File

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

View File

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