summaryrefslogtreecommitdiff
path: root/etc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions')
-rw-r--r--etc/functions/xexport4
-rw-r--r--etc/functions/xsource (renamed from etc/functions/esource)0
2 files changed, 4 insertions, 0 deletions
diff --git a/etc/functions/xexport b/etc/functions/xexport
new file mode 100644
index 0000000..6c9235b
--- /dev/null
+++ b/etc/functions/xexport
@@ -0,0 +1,4 @@
+## vim:ft=zsh
+if [[ -n $1 ]] {
+ export $1
+}
diff --git a/etc/functions/esource b/etc/functions/xsource
index ff01ab4..ff01ab4 100644
--- a/etc/functions/esource
+++ b/etc/functions/xsource