summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/functions/xcat2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/functions/xcat b/etc/functions/xcat
new file mode 100644
index 0000000..8a03d30
--- /dev/null
+++ b/etc/functions/xcat
@@ -0,0 +1,2 @@
+## vim:ft=zsh
+[[ -r $1 ]] && cat $1