nvbn/thefuck

Doesn't handle quotes and arguments with spaces well

Open

#720 创建于 2017年10月27日

在 GitHub 查看
 (3 评论) (1 反应) (0 负责人)Python (96,953 star) (3,949 fork)batch import
HackIllinoishacktoberfesthelp wanted

描述

v3.24 using Python 3.5.3, on Ubuntu 17.04, GNU bash 4.4.7(1)-release.

Using an alias, but with no alias is indifferent:

$ theheck "catt 'My File'"
cat My File [enter/↑/↓/ctrl+c]

$ theheck "catt My\ File"
cat My File [enter/↑/↓/ctrl+c]

$ theheck "ehco -e '\n'"
echo -e \n [enter/↑/↓/ctrl+c]

$ theheck "ehco -n $'\n'"
echo -n $\n [enter/↑/↓/ctrl+c]

The debug output is here: https://pastebin.com/GjXPpQbs

贡献者指南

Doesn't handle quotes and arguments with spaces well · nvbn/thefuck#720 | Good First Issue