From cb8843bea74f1d223ea2967c7a891ca76c9e54e9 Mon Sep 17 00:00:00 2001 From: gregstallings Date: Tue, 5 Nov 2013 16:12:15 +0100 Subject: .aliases: Add `reload` `reload` invokes the shell as a login shell, which essentially reloads it. Closes #247. --- .aliases | 3 +++ 1 file changed, 3 insertions(+) (limited to '.aliases') 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" -- cgit v1.2.3