summaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-12-10 17:12:53 +0100
committerGravatar Tom Willemse2014-12-10 17:12:53 +0100
commitbea07604f2de6dbf7dcc29cc541b52c110fb8cc8 (patch)
tree8442f5896e0659e37dba37f25eaf872cbf4f3024 /zsh
parent240b9534df61f03d2c06175f4678471d6ca29445 (diff)
downloaddotfiles-bea07604f2de6dbf7dcc29cc541b52c110fb8cc8.tar.gz
dotfiles-bea07604f2de6dbf7dcc29cc541b52c110fb8cc8.zip
Add myctl ZSH alias
Typing `systemctl --user restart emacs' at least once a day and often also `systemctl --user start mpd' is annoying. `systemctl' is for system-wide unit files, `myctl' just for my own.
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 3a0d9a3..884a098 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -31,6 +31,7 @@ alias ls="ls -F --color=always"
alias mysql="mysql --pager"
alias sbcl="rlwrap sbcl"
alias scrot="/usr/bin/scrot -e 'mv \$f ~/pictures/screenshots/'"
+alias myctl="systemctl --user"
# Suffix aliases
alias -s pdf="zathura"