mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-23 09:27:25 +08:00
add capability to bash export
This commit is contained in:
parent
fa024507da
commit
c7d55526ec
5
plugins/export/export.load
Normal file
5
plugins/export/export.load
Normal file
|
@ -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
|
Loading…
Reference in New Issue
Block a user