diff options
Diffstat (limited to 'etc/functions')
-rw-r--r-- | etc/functions/xcat | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/functions/xcat b/etc/functions/xcat index 8a03d30..3b74fe9 100644 --- a/etc/functions/xcat +++ b/etc/functions/xcat @@ -1,2 +1,5 @@ ## vim:ft=zsh -[[ -r $1 ]] && cat $1 +while [[ -n $1 ]] { + [[ -r $1 ]] && cat $1 + shift +} |