From c2cdc9cd996c86e0044e0606e3fd93469d0e9d02 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 17 Jun 2020 20:56:29 -0700 Subject: [PATCH] Add ZSH aliases --- zsh/zshrc.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/zsh/zshrc.org b/zsh/zshrc.org index 327ba86..9b2eda8 100644 --- a/zsh/zshrc.org +++ b/zsh/zshrc.org @@ -26,6 +26,20 @@ Autoload any ZSH function from =$HOME/.zsh/functions=. alias hc=herbstclient #+END_SRC + Systemd supports user-level services, it's easy to manage them with this + simple alias. + + #+begin_src sh + alias myctl="systemctl --user" + #+end_src + + By default scrot will take a screenshot in whatever the current working + directory is, but I prefer having it all in the same location. + + #+begin_src sh + alias scrot="/usr/bin/scrot -e 'mv \$f ~/pictures/screenshots/'" + #+end_src + * History Store ZSH history in a non-intrusive place.