mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 12:06:04 +00:00
unf*ck sl -> ls
This commit is contained in:
parent
0272e8a801
commit
5de020bccd
14
thefuck/rules/sl_ls.py
Normal file
14
thefuck/rules/sl_ls.py
Normal file
@ -0,0 +1,14 @@
|
||||
"""
|
||||
This happens way too often
|
||||
|
||||
When typing really fast cause I'm a 1337 H4X0R,
|
||||
I often fuck up 'ls' and type 'sl'. No more!
|
||||
"""
|
||||
|
||||
|
||||
def match(command, settings):
|
||||
return command.script == 'sl'
|
||||
|
||||
|
||||
def get_new_command(command, settings):
|
||||
return 'ls'
|
Loading…
x
Reference in New Issue
Block a user