From 3e280923813a4677a6bdec0d0ee637c3ef678ad1 Mon Sep 17 00:00:00 2001 From: Tycho Andersen Date: Wed, 18 May 2016 14:52:55 -0700 Subject: [PATCH] add a `shell` alias by default Closes #1586 Signed-off-by: Tycho Andersen --- config.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.go b/config.go index 8c935c591d4c..d553b06fb095 100644 --- a/config.go +++ b/config.go @@ -81,7 +81,9 @@ var DefaultRemotes = map[string]RemoteConfig{ var DefaultConfig = Config{ Remotes: DefaultRemotes, DefaultRemote: "local", - Aliases: map[string]string{}, + Aliases: map[string]string{ + "shell": "exec @ARGS@ -- login -f root", + }, } // LoadConfig reads the configuration from the config path; if the path does