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