Skip to content

Commit 4c4a864

Browse files
authored
Merge pull request #20326 from 00nx/patch-1
Add total number of currently defined aliases
2 parents be8864f + b1e1fbc commit 4c4a864

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/alias.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ def cmd_alias(*args)
5454
@aliases.each_pair do |key, val|
5555
tbl << ['alias', key, val]
5656
end
57+
print_status("Total aliases: #{@aliases.length}")
5758
return print(tbl.to_s)
59+
5860
end
5961
when 1 # display the alias if one matches this name (or help)
6062
return cmd_alias_help if (args[0] == '-h') || (args[0] == '--help')

0 commit comments

Comments
 (0)