From e318abd0cd64a4adfd49813b49a688d53e2f57b9 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Tue, 2 Feb 2021 08:32:45 -0700 Subject: Remove set options from script so cancelling fzf doesn't error --- scripts/tmux_session_fzf | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'scripts/tmux_session_fzf') diff --git a/scripts/tmux_session_fzf b/scripts/tmux_session_fzf index c093468..140a474 100755 --- a/scripts/tmux_session_fzf +++ b/scripts/tmux_session_fzf @@ -4,17 +4,8 @@ # Author: Cody Hiar # Date: 2020-03-17 # -# Description: Select a tmux session with FZF +# Description: Switch to a different tmux session # -# Set options: -# e: Stop script if command fails -# u: Stop script if unset variable is referenced -# x: Debug, print commands as they are executed -# o pipefail: If any command in a pipeline fails it all fails -# -# IFS: Internal Field Separator -set -euo pipefail -IFS=$'\n\t' get_active_pane(){ local SESSION="${1}" -- cgit v1.2.3