nvbn/thefuck

Can we make thefuck learn alias + function in bash?

Open

#675 opened on Aug 8, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (3,949 forks)batch import
HackIllinoisenhancementhacktoberfesthelp wanted

Repository metrics

Stars
 (96,953 stars)
PR merge metrics
 (No merged PRs in 30d)

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