Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  $ alias zcc='zig cc'
Only works interactively, though.


  shopt -s expand_aliases
Put that at the top of your bash scripts and aliases will work there too.


Nice!! I've been programming shells for ~30 years and I learn this only today :-(




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: