nvbn/thefuck

Can we make thefuck learn alias + function in bash?

Open

#675 ouverte le 8 août 2017

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Python (3 949 forks)batch import
HackIllinoisenhancementhacktoberfesthelp wanted

Métriques du dépôt

Stars
 (96 953 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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?

Guide contributeur