From b482328380dcedc04c9b8c6792248c1e643c6c98 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Sun, 24 Oct 2021 12:21:06 -0700 Subject: [PATCH] zsh: add sdn (shutdown now) alias --- .zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index c20e312..10952e9 100644 --- a/.zshrc +++ b/.zshrc @@ -97,7 +97,11 @@ alias dot='git --git-dir="$HOME/git/dotfiles" --work-tree="$HOME"' alias d='git --git-dir="$HOME/git/dotfiles" --work-tree="$HOME"' # duplicate for auto-complete - alias tm='tmux new -As0' # open a new session called 0, but if there is already a session called 0, connect to it + # quicker shutdown + alias sdn='shutdown now' + + # open a new session called 0, but if there is already a session called 0, connect to it + alias tm='tmux new -As0' # List available X displays. Useful for finding what display to export when connected over ssh. alias lsx='ls /tmp/.X11-unix | tr "X" ":"'