nvbn/thefuck

Doesn't handle quotes and arguments with spaces well

開放

#720 建立於 2017年10月27日

 (3 則留言) (1 個反應) (0 位負責人)Python (3,960 個分叉)batch import
HackIllinoishacktoberfesthelp wanted

倉庫指標

星標
 (97,740 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南