1
0
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:
Brobin 2015-04-22 20:41:56 -05:00
parent 0272e8a801
commit 5de020bccd

14
thefuck/rules/sl_ls.py Normal file
View 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'