aliases.plugin.zsh 355 B

1234567891011
  1. # with lots of 3rd-party amazing aliases installed, just need something to explore it quickly.
  2. #
  3. # - acs: alias cheatsheet
  4. # group alias by command, pass addition argv to grep.
  5. function acs(){
  6. (( $+commands[python3] )) || {
  7. echo "[error] No python executable detected"
  8. return
  9. }
  10. alias | python3 ${functions_source[$0]:h}/cheatsheet.py $@
  11. }