nvbn/thefuck

Can we make thefuck learn alias + function in bash?

Ouverte

#675 ouverte le 8 août 2017

 (1 commentaire) (0 réaction) (0 personne assignée)Python (3 960 forks)batch import
HackIllinoisenhancementhacktoberfesthelp wanted

Métriques du dépôt

Stars
 (97 740 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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