Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 545830
Collapse All | Expand All

(-)a/share/functions/setenv.fish (-1 / +5 lines)
Lines 1-4 Link Here
1
1
2
function setenv --description 'Set global variable. Alias for set -g, made for csh compatibility'
2
function setenv --description 'Set global variable. Alias for set -g, made for csh compatibility'
3
    set -gx $argv
3
    if string match -q PATH -- $argv[1]
4
        set -gx (string replace -a : \n -- $argv)
5
    else
6
        set -gx $argv
7
    end
4
end
8
end

Return to bug 545830