summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-30 16:09:39 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-30 16:09:39 +0900
commitedec8f89cc0c6bfc2f4bc421a0b36521dee06696 (patch)
treef4be403145d5f550513996c4713e338e5158724c
parentca508cd237e3d103f998468c8b42b681ec58be8e (diff)
modified sesh/sesh.toml, modified bin/sessionizer
-rw-r--r--ar/.config/sesh/sesh.toml2
-rwxr-xr-xar/.local/bin/sessionizer4
2 files changed, 4 insertions, 2 deletions
diff --git a/ar/.config/sesh/sesh.toml b/ar/.config/sesh/sesh.toml
index 77f1b9f..7ffde3e 100644
--- a/ar/.config/sesh/sesh.toml
+++ b/ar/.config/sesh/sesh.toml
@@ -6,7 +6,7 @@ sort_order = [
]
[default_session]
-startup_command = "if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then git status; else clear && ls -I .git; fi"
+startup_command = "if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then git status; else clear && ls -I .git; fi; exec $SHELL"
preview_command = "eza -glaa --icons --group-directories-first --color=always {}"
[[session]]
diff --git a/ar/.local/bin/sessionizer b/ar/.local/bin/sessionizer
index 93f32b1..56e072c 100755
--- a/ar/.local/bin/sessionizer
+++ b/ar/.local/bin/sessionizer
@@ -28,8 +28,10 @@ M-cr open in editor
)" 2>/dev/null
case "$path" in
+ "") ;;
^*) sessionizer ;;
- *) sesh connect "$path" >/dev/null 2>&1 && exit ;;
+ /*|\~*) sesh connect "$path" >/dev/null 2>&1 && exit ;;
+ *) sesh connect "${path#* }" >/dev/null 2>&1 && exit ;;
esac
}