mirror of
https://github.com/notwa/rc
synced 2024-05-18 17:53:23 -07:00
10 lines
169 B
Bash
Executable File
10 lines
169 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
# from https://github.com/sorin-ionescu/prezto/
|
|
# YES_ZSH
|
|
|
|
slit() {
|
|
awk "{ print ${(j:,:):-\$${^@}} }"
|
|
}
|
|
|
|
[ "${SOURCING:-0}" -gt 0 ] || slit "$@"
|