diff options
author | gregstallings <gregstallings@gmail.com> | 2013-11-05 16:12:15 +0100 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2013-11-05 16:13:35 +0100 |
commit | cb8843bea74f1d223ea2967c7a891ca76c9e54e9 (patch) | |
tree | 5c40b3d9a9d05b9a43f5dce114140ace46144c03 /.aliases | |
parent | 5b8a202b2e7fff29647b1957401289c9143df882 (diff) | |
download | dotfiles-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-- | .aliases | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |