From 718adf13e3d3b29b0ab66447621809c022d6c010 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Tue, 3 Jan 2017 14:13:39 +0100 Subject: [PATCH] removed leftover debugging code in _username() --- .tmux.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 44de80f..0fde0bc 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -421,9 +421,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # pid=$(ps -a | awk -v tty="${tty##/dev/}" '$5 == tty && /ssh/ && && !/vagrant ssh/ && !/autossh/ && !/-W/ { print $1 }') # [ -n "$pid" ] && ssh_parameters=$(tr '\0' ' ' < "/proc/$pid/cmdline" | sed 's/^ssh //') # else -# set -x # ssh_parameters=$(ps -t "$tty" -o command= | awk '/ssh/ && !/vagrant ssh/ && !/autossh/ && !/-W/ { $1=""; print $0; exit }') -# set +x # fi # if [ -n "$ssh_parameters" ]; then # # shellcheck disable=SC2086