Skip to content

Commit

Permalink
add a shell alias by default
Browse files Browse the repository at this point in the history
Closes canonical#1586

Signed-off-by: Tycho Andersen <[email protected]>
  • Loading branch information
Tycho Andersen committed May 18, 2016
1 parent 9e31eb8 commit 3e28092
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e28092

Please sign in to comment.