aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-06-17 20:56:29 -0700
committerGravatar Tom Willemse2020-06-17 20:56:29 -0700
commitc2cdc9cd996c86e0044e0606e3fd93469d0e9d02 (patch)
tree6543c1f2775dde680b6ed191ff75ef143191e4b4
parent992fcf0617e23e730871b2cf557d6139ae5513f7 (diff)
downloadnew-dotfiles-c2cdc9cd996c86e0044e0606e3fd93469d0e9d02.tar.gz
new-dotfiles-c2cdc9cd996c86e0044e0606e3fd93469d0e9d02.zip
Add ZSH aliases
-rw-r--r--zsh/zshrc.org14
1 files changed, 14 insertions, 0 deletions
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.