alias_command(alias, command, *options) â self
Class Public methods
Creates a command alias at the given alias
for the given
command
, passing any options
along with it.
1 2 | Shell::CommandProcessor.alias_command "lsC" , "ls" , "-CBF" , "--show-control-chars" Shell::CommandProcessor.alias_command( "lsC" , "ls" ){|*opts| [ "-CBF" , "--show-control-chars" , *opts]} |
Please login to continue.