some adaptions for fish and tmux setup

This commit is contained in:
Dennis 2026-01-12 10:27:06 +01:00
parent cb8363269e
commit 1f317cc34c
2 changed files with 5 additions and 2 deletions

View file

@ -60,7 +60,7 @@
end
'';
sessionizer = /* fish */ ''
set -l selected (dev_projects | fzf --prompt "Create/switch to session: " --header " Ctrl-d: Kill Session " --bind "ctrl-d:execute(tmux kill-session -t basename {})+reload(dev_projects)")
set -l selected (dev_projects | fzf --prompt "sessionize >> ")
if test -z "$selected"
return 1

View file

@ -42,7 +42,7 @@
set -g window-status-current-style bg=default,fg=magenta,bold
set-window-option -g window-status-format "[#I] #W#F"
set-window-option -g window-status-current-format "[#I] #W#F"
set -g pane-border-style fg=gray
set -g pane-border-style fg=#807c9f
set -g pane-active-border-style fg=magenta
unbind %
@ -67,6 +67,9 @@
unbind s
bind s display-popup -h 50% -w 80% -E sessionizer
unbind C-x
bind C-x kill-session
unbind v
bind v choose-tree -Zw "join-pane -t '%%'"
'';