nvbn/thefuck

Can we make thefuck learn alias + function in bash?

Open

#675 opened on Aug 8, 2017

 (1 comment) (0 reactions) (0 assignees)Python (3,960 forks)batch import
HackIllinoisenhancementhacktoberfesthelp wanted

Repository metrics

Stars
 (97,740 stars)
PR merge metrics
 (PR metrics pending)

Description

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?

Contributor guide