[fix] Linux changes

This commit is contained in:
Uttarayan
2023-03-21 11:08:13 +05:30
parent 1fbada28e9
commit e7218c9c3f
16 changed files with 188 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
live_sessions=$(tmux list-sessions 2>/dev/null)
all_sessions=$(gfind ~/.config/tmux/sessions -type f -executable -printf '%f\n'| sort)
all_sessions=$(find ~/.config/tmux/sessions -type f -executable -printf '%f\n'| sort)
TMUX_SESSIONS="$HOME/.config/tmux/sessions"
# for some reason ~/.config/tmux/session doesn't work if made with quotes
# TMUX_SESSIONS=$XDG_CONFIG_HOME/tmux/sessions