my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
353 B

3 years ago
  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[python] )) || {
  7. echo "[error] No python executable detected"
  8. return
  9. }
  10. alias | python ${functions_source[$0]:h}/cheatsheet.py $@
  11. }