Every day: $ git pish $ fuck
alias gp="git push" has probably saved me hours of my life
The Fuck – An app which corrects your previous console command
41–50 of 112 posts
Re: The Fuck – An app which corrects your previous console command
#42Every day: $ git pish $ fuck
alias gp="git push" has probably saved me hours of my life
My bashrc has so many of these, and they're probably among the most common commands I use daily!:
alias gs="git status"
alias gb="git branch"
alias grh="git reset --hard"
alias gcdf="git clean -df"
alias gf="git fetch"
alias gp="git pull"
alias gdom="git diff origin/master"
alias gdomn="git diff --name-status origin/master"
alias gd="git diff"
alias gl="git log"
alias glm="git log --author "
alias gc="git checkout"
alias gcm="git checkout master"Re: The Fuck – An app which corrects your previous console command
#43Earlier quoted context omitted.
alias gp="git push" has probably saved me hours of my life
Amen. My bashrc has so many of these, and they're probably among the most common commands I use daily!: alias gs="git status" alias gb="git branch" alias grh="git reset --hard" alias gcdf="git clean -df" alias gf="git fetch" alias gp="git pull" alias gdom="git diff origin/master" alias gdomn="git diff --name-status origin/master" alias gd="git diff" alias gl="git log" alias glm="git log --author " alias gc="git check…
Re: The Fuck – An app which corrects your previous console command
#44Re: The Fuck – An app which corrects your previous console command
#45git stauts
I mean, git knows enough to ask me "Did you mean this? status".
Re: The Fuck – An app which corrects your previous console command
#46Earlier quoted context omitted.
Rule for this behavior disabled by default, but you can enable it. Also you can disable confirmation or use `fuck -y` for more fun.
I like how you named and styled the command after how many terminal users actually approach these situations. 1. Hurriedly type something to solve a pressing problem. It doesn't work but tells you enough the fix should be obvious to a machine. 2. Mutter or shout "Fuck!" in head depending on how obvious problem was, how often it repeats, or just how long it takes to redo it. 3. Perform the correct action. Your model i…
Re: The Fuck – An app which corrects your previous console command
#47Earlier quoted context omitted.
It is-- what is the perceived downside?
You have a giant list of common typos, making you a worse and worse typer as years go on, until you are mashing your head on the keyboard to type anything.
Re: The Fuck – An app which corrects your previous console command
#48Earlier quoted context omitted.
I like how you named and styled the command after how many terminal users actually approach these situations. 1. Hurriedly type something to solve a pressing problem. It doesn't work but tells you enough the fix should be obvious to a machine. 2. Mutter or shout "Fuck!" in head depending on how obvious problem was, how often it repeats, or just how long it takes to redo it. 3. Perform the correct action. Your model i…
Of course, the drawback is that the machine doesn't really know what you intended without more context than a single command line. Often it can make a good guess, but not always and sometimes it'll guess wrong, perhaps disastrously so.
Re: The Fuck – An app which corrects your previous console command
#49Earlier quoted context omitted.
I like how you named and styled the command after how many terminal users actually approach these situations. 1. Hurriedly type something to solve a pressing problem. It doesn't work but tells you enough the fix should be obvious to a machine. 2. Mutter or shout "Fuck!" in head depending on how obvious problem was, how often it repeats, or just how long it takes to redo it. 3. Perform the correct action. Your model i…
Of course, the drawback is that the machine doesn't really know what you intended without more context than a single command line. Often it can make a good guess, but not always and sometimes it'll guess wrong, perhaps disastrously so.
Re: The Fuck – An app which corrects your previous console command
#50Earlier quoted context omitted.
Cannot for the life of me tell if this is a serious suggestion.
I've actually done this for a couple commands I screw up often enough -- I have this in my bashrc: alias dumbtypo="echo 'LEARN TO TYPE, MORON'" alias sl="dumbtypo; ls" alias rbuy="dumbtypo; ruby" alias pytohn="dumbtypo; python" alias brwe="dumbtypo; brew" alias arhcey="dumbtypo; archey"