3 Expands all glob expressions, subcommands and aliases (including global).
5 Idea from: https://blog.patshead.com/2012/11/automatically-expaning-zsh-global-aliases---simplified.html.
9 Add `globalias` to the plugins array in your zshrc file:
12 plugins=(... globalias)
15 Then just press `SPACE` to trigger the expansion of a command you've written.
17 If you only want to insert a space without expanding the command line, press
20 if you would like to filter out any values from expanding set `GLOBALIAS_FILTER_VALUES` to
21 an array of said values. See [Filtered values](#filtered-values).
28 $ touch {1..10}<space>
30 $ touch 1 2 3 4 5 6 7 8 9 10
34 $ ls folder/file.json anotherfolder/another.json
42 $ mkdir Tue,\ 04\ Oct\ 2016\ 13:54:03\ +0300
49 alias -g G="| grep --color=auto -P"
50 alias l='ls --color=auto -lah'
54 $ ls --color=auto -lah | grep --color=auto -P
59 alias S="sudo systemctl"
71 alias la='ls --color=auto -lah'
72 GLOBALIAS_FILTER_VALUES=(l)
78 $ ls --color=auto -lah