nvbn/thefuck

Can we make thefuck learn alias + function in bash?

Open

#675 aperta il 8 ago 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Python (3949 fork)batch import
HackIllinoisenhancementhacktoberfesthelp wanted

Metriche repository

Star
 (96.953 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

i have this function in .bash_profile

quickpush() {
  git add .
  git commit -m "$@"
  echo "🍏 commit message: [$@]"
  git push
  echo 🚀  quick push success... or not.
}

when i use it in terminal (mac)

$: quickpus hello world // => suggest quickpush hello world

can we auto suggest like that for all function in bash or need modify fuck for each custom function?

Guida contributor