summaryrefslogtreecommitdiff
path: root/ar/.local/bin/sessionizer
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-29 03:22:00 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-29 03:22:00 +0900
commit994aae6685c755d202b81de6068e968faec87ab5 (patch)
tree130cd43716396aa9f87bd195fcb4dbc02f348e29 /ar/.local/bin/sessionizer
parent874cab7d07e8de6e3e19bbfcb886e47ff330b283 (diff)
modified bin/sessionizer
Diffstat (limited to 'ar/.local/bin/sessionizer')
-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" \