diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-28 15:42:50 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-28 15:42:50 +0900 |
| commit | ae78dbbff81196f1d7bc8fabf84d05e6b9f3ca03 (patch) | |
| tree | fdc69ee3e2772aa4db7e8efe4bd30d101c7f82ac /fedora/.local/bin/sessionizer | |
| parent | 06ad645351572c0e7188c52028998384d718df2e (diff) | |
Diffstat (limited to 'fedora/.local/bin/sessionizer')
| -rwxr-xr-x | fedora/.local/bin/sessionizer | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/fedora/.local/bin/sessionizer b/fedora/.local/bin/sessionizer deleted file mode 100755 index 93f32b1..0000000 --- a/fedora/.local/bin/sessionizer +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -sessionizer() { - path="$( - sesh list -d --icons | fzf-tmux \ - -p 80%,70% --no-sort --cycle --ignore-case --ansi --border=sharp --multi --reverse \ - --border-label "╢ TheSiahxyz ╟" \ - --header "^a all ^e sesh ^f zoxide ^g git ^t tmux ^u staged files ^x tmux kill M-cr open in editor ^/ help" \ - --prompt "💡 " \ - --bind "ctrl-a:change-prompt(💡 )+reload(sesh list -d -H --icons)" \ - --bind "ctrl-e:change-prompt(📑 )+reload(sesh list -d -c -H --icons)" \ - --bind "ctrl-f:change-prompt(🔎 )+reload(sesh list -d -z -H --icons)" \ - --bind "ctrl-g:change-prompt( )+reload(fd -H -d 1 -d -t d -E .Trash -E .git -E .cache . $HOME/Private/repos $HOME/Public/repos | sed 's|$HOME|~|g')" \ - --bind "ctrl-t:change-prompt(🪟 )+reload(sesh list -d -t --icons)" \ - --bind "ctrl-v:execute($EDITOR ${0})+abort" \ - --bind 'ctrl-x:execute(tmux kill-session -t "$(echo {} | cut -d" " -f2-)")+reload(sesh list -d --icons)' \ - --bind "alt-enter:execute($EDITOR {})+abort" \ - --bind 'ctrl-/:change-prompt(❓ )+reload(echo "^a all -^e sesh config -^f zoxide -^g git -^t tmux -^x tmux kill -M-cr open in editor -^/ help")' \ - --preview-window 'right:45%' \ - --preview 'sesh preview {}' - )" 2>/dev/null - - case "$path" in - ^*) sessionizer ;; - *) sesh connect "$path" >/dev/null 2>&1 && exit ;; - esac -} - -sessionizer |
