2021-06-12 02:45:05 +00:00
|
|
|
# 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(){
|
2021-12-28 16:46:35 +00:00
|
|
|
(( $+commands[python] )) || {
|
|
|
|
echo "[error] No python executable detected"
|
|
|
|
return
|
|
|
|
}
|
|
|
|
alias | python ${functions_source[$0]:h}/cheatsheet.py $@
|
2021-06-12 02:45:05 +00:00
|
|
|
}
|