aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2021-02-02 08:32:45 -0700
committerCody Hiar <cody@hiar.ca>2021-02-02 08:32:45 -0700
commite318abd0cd64a4adfd49813b49a688d53e2f57b9 (patch)
treed4c1caf7d887863fee54db26f4091ab65af474b7 /scripts
parent722b0362df859e6524a26c2120e88be1518d0277 (diff)
Remove set options from script so cancelling fzf doesn't error
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tmux_session_fzf11
1 files changed, 1 insertions, 10 deletions
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}"