Loading .profile +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ # Automatically run terminal multiplexer on SSH connect case $TERM in screen*|tmux*) ;; *) [ -n "$SSH_TTY" ] && [ -z "$TMUX" ] && has tmux && *) [ -n "${SSH_TTY-}" ] && [ -z "${TMUX-}" ] && has tmux && exec ~/.shell/bin/tmux-display-helper start-client ;; esac Loading .shell/funcs +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ get_branch() manage_path() { local var="$1" val="$2"; shift 2 eval local cur=\$$var eval local cur=\${$var-} local cur=`echo $cur | sed -E 's!(^|:)'"$val"'(:|$)!\1\2!;s!^:|:$!!;s!::!:!'` local pre="$cur" post= while [ $# -gt 0 ]; do Loading .shell/ssh +1 −1 Original line number Diff line number Diff line . ~/.shell/lib/ssh.sh make_config test -n "$SSH_CONFIG" || return 0 test -n "${SSH_CONFIG-}" || return 0 alias ssh="ssh -F '${SSH_CONFIG}'" alias scp="scp -F '${SSH_CONFIG}'" Loading Loading
.profile +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ # Automatically run terminal multiplexer on SSH connect case $TERM in screen*|tmux*) ;; *) [ -n "$SSH_TTY" ] && [ -z "$TMUX" ] && has tmux && *) [ -n "${SSH_TTY-}" ] && [ -z "${TMUX-}" ] && has tmux && exec ~/.shell/bin/tmux-display-helper start-client ;; esac Loading
.shell/funcs +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ get_branch() manage_path() { local var="$1" val="$2"; shift 2 eval local cur=\$$var eval local cur=\${$var-} local cur=`echo $cur | sed -E 's!(^|:)'"$val"'(:|$)!\1\2!;s!^:|:$!!;s!::!:!'` local pre="$cur" post= while [ $# -gt 0 ]; do Loading
.shell/ssh +1 −1 Original line number Diff line number Diff line . ~/.shell/lib/ssh.sh make_config test -n "$SSH_CONFIG" || return 0 test -n "${SSH_CONFIG-}" || return 0 alias ssh="ssh -F '${SSH_CONFIG}'" alias scp="scp -F '${SSH_CONFIG}'" Loading