aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-11-03 09:58:51 +0100
committerneodarz <neodarz@neodarz.net>2017-11-03 09:58:51 +0100
commita62f538c357bc290da45647e3fac3b4aa70efe1c (patch)
treed21456d3606449d946ec619c90e1f57f0e2f114a /scripts
parentf92b1532555fcea669d0d2dcbe417d79e135d53b (diff)
downloaddotfiles_ascii-a62f538c357bc290da45647e3fac3b4aa70efe1c.tar.xz
dotfiles_ascii-a62f538c357bc290da45647e3fac3b4aa70efe1c.zip
Add script for rofi get zsh alias
Diffstat (limited to '')
-rwxr-xr-xscripts/.scripts/zsh_aliases_functions.sh6
1 files changed, 6 insertions, 0 deletions
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}