nvbn/thefuck

Can we make thefuck learn alias + function in bash?

開放

#675 建立於 2017年8月8日

 (1 則留言) (0 個反應) (0 位負責人)Python (3,960 個分叉)batch import
HackIllinoisenhancementhacktoberfesthelp wanted

倉庫指標

星標
 (97,740 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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?

貢獻者指南