From bfce13a6093c9d853c57f22d16d49365d8533588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Mon, 11 Oct 2021 07:59:34 +0200 Subject: [PATCH] remove comments and fix typo --- functions.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/functions.sh b/functions.sh index 9fe02c3..b1da67c 100755 --- a/functions.sh +++ b/functions.sh @@ -20,7 +20,7 @@ promptcommandmunge () { esac EXIT } -## this function updates in combination with PROMPT_COMMAND the shell-environment-variables in tmus-sessions, +## this function updates in combination with PROMPT_COMMAND the shell-environment-variables in tmux-sessions, # every time prompt is called. It does it only, when called from tmux (Environment TMUX is set) function _tmux_hook() { # [ -z "${TMUX+x}" ] || eval "$(tmux show-environment -s)" @@ -31,10 +31,6 @@ function _tmux_hook() { } -# Append `;` if PROMPT_COMMAND is not empty -#PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND;}_tmux_hook" - - # To make the code more reliable on detecting the default umask function _umask_hook { # Record the default umask value on the 1st run @@ -47,9 +43,6 @@ function _umask_hook { fi } -# Append `;` if PROMPT_COMMAND is not empty -#PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND;}_umask_hook" - cpb() { scp "$1" ${SSH_CLIENT%% *}:~/Work }