summaryrefslogtreecommitdiff
path: root/ar
diff options
context:
space:
mode:
Diffstat (limited to 'ar')
-rwxr-xr-xar/.local/bin/sessionizer5
1 files changed, 2 insertions, 3 deletions
diff --git a/ar/.local/bin/sessionizer b/ar/.local/bin/sessionizer
index 5857dd3..e7501e5 100755
--- a/ar/.local/bin/sessionizer
+++ b/ar/.local/bin/sessionizer
@@ -1,15 +1,14 @@
#!/bin/sh
sessionizer() {
- [ -n "$TMUX" ] && gitpath=$(tmux display-message -p '#{pane_current_path}') || gitpath="$PWD"
path="$(
sesh list -c -H | fzf-tmux -p 80%,70% \
--no-sort --cycle --ignore-case --ansi --border=sharp --multi --border-label "╢ TheSiahxyz ╟" --prompt "💡 " \
--header "^a all ^e sesh ^f zoxide ^g git ^t tmux ^u staged files ^x tmux kill M-cr open in editor ^/ help" \
--reverse \
- --bind "ctrl-a:change-prompt(💡 )+reload(sesh list -H)" \
+ --bind "ctrl-a:change-prompt(💡 )+reload(sesh list -d -H)" \
--bind "ctrl-e:change-prompt(📑 )+reload(sesh list -c -H)" \
- --bind "ctrl-f:change-prompt(🔎 )+reload(sesh list -z -H)" \
+ --bind "ctrl-f:change-prompt(🔎 )+reload(sesh list -d -z -H)" \
--bind "ctrl-g:change-prompt( )+reload(fd -H -d 1 -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 -t)" \
--bind "ctrl-v:execute($EDITOR ${0})+abort" \