Thread: [Fremantle Maemo5+Harmattan Maemo6] [REQUEST] The f u c k terminal app port
View Single Post
Posts: 30 | Thanked: 24 times | Joined on Mar 2014
#1
Hi, I've just found this great terminal app for correcting mistakes in terminal, when you mess up something, just write "f u c k" (without spaces) and it will correct your previous command. Here are few examples:
➜ apt-get install vim
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

➜ f u c k
sudo apt-get install vim
[sudo] password for nvbn:
Reading package lists... Done
...


➜ git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use

git push --set-upstream origin master


➜ f u c k
git push --set-upstream origin master
Counting objects: 9, done.


➜ puthon
No command 'puthon' found, did you mean:
Command 'python' from package 'python-minimal' (main)
Command 'python' from package 'python3' (main)
zsh: command not found: puthon

➜ f u c k
python
Python 3.4.2 (default, Oct 8 2014, 13:08:17)
...
I would love to see this on Maemo and MeeGo, but I don't know how to port it and make suitable .deb files... Please, can somebody do it from sources?

https://github.com/nvbn/thef u c k (without spaces)
 

The Following 2 Users Say Thank You to Mir57 For This Useful Post: