nvbn/thefuck

Can we make thefuck learn alias + function in bash?

Open

#675 建立於 2017年8月8日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (96,953 star) (3,949 fork)batch import
HackIllinoisenhancementhacktoberfesthelp wanted

描述

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?

貢獻者指南