aboutsummaryrefslogtreecommitdiff
path: root/modules/tmux/session-load.sh
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-05-22 23:34:25 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-05-22 23:34:25 -0400
commit1d98588efde0ea3124827caaf630bb0f33c444f4 (patch)
tree4627a22a3ce6de1a3ff3e3240ecf4039abe4e450 /modules/tmux/session-load.sh
parent0caba5ff2e023770bf34a0154af768cbc410f4c6 (diff)
downloadhome-1d98588efde0ea3124827caaf630bb0f33c444f4.tar.gz
`modules/tmux`: switch to "sesh" session management
Diffstat (limited to 'modules/tmux/session-load.sh')
-rw-r--r--modules/tmux/session-load.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tmux/session-load.sh b/modules/tmux/session-load.sh
index c292d94..456c605 100644
--- a/modules/tmux/session-load.sh
+++ b/modules/tmux/session-load.sh
@@ -3,7 +3,6 @@
# usage: to create a project/session, create a symlink in .projects to the working directory
# the name of the symlink is the name of the project
-# if there is no path specified, prompt via fzf
if ! [[ -d $HOME/.projects ]]; then
echo "Error: Couldn't find '~/.projects' directory." >&2
exit 1
@@ -12,7 +11,8 @@ fi
if [[ $# -eq 1 ]]; then
input=$1
else
- input=$(cd $HOME/.projects; find . -type l | sed 's/^\.\///' | fzf)
+# if there is no path specified, prompt via fzf
+ input=$(cd $HOME/.projects; find . -type l | sed 's/^\.\///' | fzf --tmux)
fi
if [[ -z $input ]]; then