mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-22 19:09:30 +08:00
6 lines
120 B
Fish
6 lines
120 B
Fish
function export
|
|
set var1 (echo $argv | cut -f1 -d=)
|
|
set var2 (echo $argv | cut -f2 -d=)
|
|
set -x -g $var1 $var2
|
|
end
|