Fixed noise by rerouting the output of some external completion scripts to /dev/null fixing: ISSUE #2 from the master repository.

This commit is contained in:
che666 2018-04-07 19:23:04 +02:00
parent fdebc6d854
commit 8f539d5f19
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 )"