Skip to content

Some Tricks

Eliot edited this page Sep 10, 2025 · 2 revisions
  • Start tmux on every ssh login
if which tmux >/dev/null 2>&1 && -n "$SSH_CONNECTION"; then
    #if not inside a tmux session, attach start a new session
    test -z "$TMUX" && tmux new-session -A -s tmux
fi
  • Use Trash replace rm
alias rm='trash-put'

Clone this wiki locally