From c7d55526ec2d63a1db76968250e36450a2330bbd Mon Sep 17 00:00:00 2001 From: Jichao Ouyang Date: Mon, 8 Dec 2014 14:39:28 +0800 Subject: [PATCH] add capability to bash `export` --- plugins/export/export.load | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 plugins/export/export.load diff --git a/plugins/export/export.load b/plugins/export/export.load new file mode 100644 index 0000000..f8d110b --- /dev/null +++ b/plugins/export/export.load @@ -0,0 +1,5 @@ +function export + set var1 (echo $argv | cut -f1 -d=) + set var2 (echo $argv | cut -f2 -d=) + set -x -g $var1 $var2 +end