aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorgregstallings <gregstallings@gmail.com>2013-11-05 16:12:15 +0100
committerMathias Bynens <mathias@qiwi.be>2013-11-05 16:13:35 +0100
commitcb8843bea74f1d223ea2967c7a891ca76c9e54e9 (patch)
tree5c40b3d9a9d05b9a43f5dce114140ace46144c03 /.aliases
parent5b8a202b2e7fff29647b1957401289c9143df882 (diff)
downloaddotfiles-cb8843bea74f1d223ea2967c7a891ca76c9e54e9.tar.gz
dotfiles-cb8843bea74f1d223ea2967c7a891ca76c9e54e9.tar.bz2
dotfiles-cb8843bea74f1d223ea2967c7a891ca76c9e54e9.zip
.aliases: Add `reload`
`reload` invokes the shell as a login shell, which essentially reloads it. Closes #247.
Diffstat (limited to '.aliases')
-rw-r--r--.aliases3
1 files changed, 3 insertions, 0 deletions
diff --git a/.aliases b/.aliases
index f5c4038..1252166 100644
--- a/.aliases
+++ b/.aliases
@@ -141,3 +141,6 @@ alias chromekill="ps ux | grep '[C]hrome Helper --type=renderer' | grep -v exten
# Lock the screen (when going AFK)
alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend"
+
+# Reload the shell (i.e. invoke as a login shell)
+alias reload="exec $SHELL -l"