mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 09:13:35 +01:00
12 lines
355 B
Bash
12 lines
355 B
Bash
# 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 $@
|
|
}
|