From e59cb1da5d3fc3374ec84bbc088159c7f2ea4f99 Mon Sep 17 00:00:00 2001 From: axel Date: Thu, 22 Jun 2006 10:11:23 +1000 Subject: Add setenv shellscript function for csh compatibility darcs-hash:20060622001123-ac50b-22e783ec5f77120a6960f28d735893d58e1a7db4.gz --- share/functions/setenv.fish | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 share/functions/setenv.fish (limited to 'share/functions/setenv.fish') diff --git a/share/functions/setenv.fish b/share/functions/setenv.fish new file mode 100644 index 00000000..e8186994 --- /dev/null +++ b/share/functions/setenv.fish @@ -0,0 +1,4 @@ + +function setenv -d (N_ 'Set global variable. Alias for set -g, made for csh compatibility') + set -g $argv +end -- cgit v1.2.3