No more .tmux files

This commit is contained in:
Oliver Davies 2024-12-16 17:09:03 +00:00
parent ee81a0dbb5
commit 839cd30420

View file

@ -23,9 +23,7 @@ pkgs.writeShellApplication {
}
hydrate() {
if [ -f "$2/.tmux" ]; then
tmux send-keys -t "$1" "source $2/.tmux" Enter
elif [ -f "$2/.tmux-sessionizer" ]; then
if [ -f "$2/.tmux-sessionizer" ]; then
tmux send-keys -t "$1" "source $2/.tmux-sessionizer" Enter
elif [ -f "$HOME/.tmux-sessionizer" ]; then
tmux send-keys -t "$1" "source $HOME/.tmux-sessionizer" Enter