[mike@mwxm4]
This commit is contained in:
@@ -241,7 +241,7 @@ func handleUnalias(name string) {
|
||||
|
||||
func listAliases() {
|
||||
if len(aliases) == 0 {
|
||||
fmt.Println(col(cGray, "no aliases defined"))
|
||||
fmt.Println(col(cDark, "no aliases defined"))
|
||||
return
|
||||
}
|
||||
for _, n := range aliasNames() {
|
||||
@@ -251,7 +251,7 @@ func listAliases() {
|
||||
|
||||
// formatAlias renders `name = 'body'` with color.
|
||||
func formatAlias(name, body string) string {
|
||||
return col(cGreen, name) + col(cGray, " = ") + col(cYellow, "'"+body+"'")
|
||||
return col(cGreen, name) + col(cDark, " = ") + col(cYellow, "'"+body+"'")
|
||||
}
|
||||
|
||||
// expandAlias substitutes positional parameters in an alias body. With no
|
||||
|
||||
Reference in New Issue
Block a user