From a62f538c357bc290da45647e3fac3b4aa70efe1c Mon Sep 17 00:00:00 2001 From: neodarz Date: Fri, 3 Nov 2017 09:58:51 +0100 Subject: Add script for rofi get zsh alias --- scripts/.scripts/zsh_aliases_functions.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/.scripts/zsh_aliases_functions.sh (limited to 'scripts') diff --git a/scripts/.scripts/zsh_aliases_functions.sh b/scripts/.scripts/zsh_aliases_functions.sh new file mode 100755 index 0000000..c6ac167 --- /dev/null +++ b/scripts/.scripts/zsh_aliases_functions.sh @@ -0,0 +1,6 @@ +# fetch all zsh aliases +alias | awk -F'[ =]' '{print $1}' + +# fetch all zsh functions +# http://superuser.com/questions/681575/any-way-to-get-list-of-functions-defined-in-zsh-like-alias-command-for-aliases +#print -l ${(ok)functions} -- cgit v1.2.1