I hereby claim:
- I am jsvazic on github.
- I am elitesec (https://keybase.io/elitesec) on keybase.
- I have a public key ASCQ-fq_ZXOZ9WzE7vSMt54t7baXImTRFZ8WjA3RfRbYDQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Set prefix to Ctrl-a | |
| set-option -g prefix C-a | |
| unbind C-a | |
| bind-key C-a send-prefix | |
| # Use Alt-arrow keys to switch panes | |
| bind -n M-Left select-pane -L | |
| bind -n M-Right select-pane -R | |
| bind -n M-Up select-pane -U | |
| bind -n M-Down select-pane -D |
| #!/bin/bash | |
| # Loop by line | |
| IFS=$'\n' | |
| old_process=$(ps aux --forest | grep -v "ps aux --forest" | grep -v "sleep 1" | grep -v $0) | |
| while true; do | |
| new_process=$(ps aux --forest | grep -v "ps aux --forest" | grep -v "sleep 1" | grep -v $0) | |
| diff <(echo "$old_process") <(echo "$new_process") | grep [\<\>] |