Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/continuum_status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "$CURRENT_DIR/helpers.sh"
source "$CURRENT_DIR/variables.sh"

print_status() {
local save_int="$(get_tmux_option "$auto_save_interval_option")"
local save_int="$(get_tmux_option "$auto_save_interval_option" "$auto_save_interval_default")"
local status=""
local style_wrap
if [ $save_int -gt 0 ]; then
Expand Down
4 changes: 3 additions & 1 deletion scripts/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ current_tmux_server_pid() {
}

all_tmux_processes() {
# search for "^tmux " cause there can be some other running scripts,
# whose name starts with "tmux" for eg "tmux-mem-cpu-load"
# ignores `tmux source-file .tmux.conf` command used to reload tmux.conf
ps -Ao "command pid" |
\grep "^tmux" |
\grep "^tmux " |
\grep -v "^tmux source"
}

Expand Down