Compare commits
No commits in common. "b916e4ac4d3ae3e6fd3579aeee55452e1c9c9b13" and "070fc5fb8134451970649ceab112cd9dd097b868" have entirely different histories.
b916e4ac4d
...
070fc5fb81
1 changed files with 0 additions and 16 deletions
|
@ -64,22 +64,6 @@ in
|
|||
functions = {
|
||||
fish_greeting = "";
|
||||
cheat = "cht.sh $argv | bat -p";
|
||||
sourceenv = ''
|
||||
set -f envfile "$argv"
|
||||
if not test -f "$envfile"
|
||||
echo "Unable to load $envfile"
|
||||
return 1
|
||||
end
|
||||
printf "exported"
|
||||
while read line
|
||||
if not string match -qr '^#|^$' "$line"
|
||||
set item (string split -m 1 '=' $line)
|
||||
printf " $item[1]"
|
||||
set -gx "$item[1]" "$item[2]"
|
||||
end
|
||||
end < "$envfile"
|
||||
printf "\n"
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue