Fuck, I wanted ls -lah

This commit is contained in:
Joseph Henrich
2015-04-23 20:28:19 -04:00
parent 48ec853436
commit a454438939
2 changed files with 20 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
def match(command, settings):
return ('ls' in command.script and not ('ls -' in command.script))
def get_new_command(command, settings):
command = command.script.split(' ')
command[0] = 'ls -lah'
return ' '.join(command)