Fix all redirects to /dev/null

This commit is contained in:
Bruno Sutic
2014-05-23 14:18:22 +02:00
parent 7c385390d7
commit 518777cfbd
5 changed files with 6 additions and 5 deletions

View File

@ -3,4 +3,4 @@
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# (I)nstalls all plugins
tmux bind-key I run-shell "$CURRENT_DIR/sync_plugins.sh 2>&1 1>&/dev/null"
tmux bind-key I run-shell "$CURRENT_DIR/sync_plugins.sh >/dev/null 2>&1"

View File

@ -12,7 +12,7 @@ silently_source_all_tmux_files() {
local plugin_tmux_files="$plugin_path*.tmux"
for tmux_file in $plugin_tmux_files; do
# runs *.tmux file as an executable
$tmux_file 2>&1 1>&/dev/null
$tmux_file >/dev/null 2>&1
done
}

View File

@ -74,7 +74,7 @@ sync_plugins() {
}
reload_tmux_environment() {
tmux source-file ~/.tmux.conf 2>&1 1>&/dev/null
tmux source-file ~/.tmux.conf >/dev/null 2>&1
}
main() {