mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-17 10:42:33 +01:00
unf*ck sl -> ls
This commit is contained in:
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'
|
Reference in New Issue
Block a user