From 1d98588efde0ea3124827caaf630bb0f33c444f4 Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Thu, 22 May 2025 23:34:25 -0400 Subject: `modules/tmux`: switch to "sesh" session management --- modules/tmux/session-load.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/tmux/session-load.sh') 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 -- cgit v1.2.3