File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 22
22
- allow using '$HOSTNAME' in @resurrect-dir
23
23
- add zsh history saving and restoring
24
24
- delete resurrect files older than 30 days, but keep at least 5 files
25
+ - add save and restore hooks
26
+ - always use ` -ao ` flags for ` ps ` command to detect commands
25
27
26
28
### v2.4.0, 2015-02-23
27
29
- add "tmux-test"
Original file line number Diff line number Diff line change @@ -10,16 +10,8 @@ exit_safely_if_empty_ppid() {
10
10
fi
11
11
}
12
12
13
- ps_command_flags () {
14
- case $( uname -s) in
15
- FreeBSD) echo " -ao" ;;
16
- OpenBSD) echo " -ao" ;;
17
- * ) echo " -eo" ;;
18
- esac
19
- }
20
-
21
13
full_command () {
22
- ps " $( ps_command_flags ) " " ppid command" |
14
+ ps -ao " ppid command" |
23
15
sed " s/^ *//" |
24
16
grep " ^${PANE_PID} " |
25
17
cut -d' ' -f2-
You can’t perform that action at this time.
0 commit comments