mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-25 13:27:10 -07:00
Forgot that Travis wouldn't have the hack-assist folder.
Relates to issue #19
This commit is contained in:
parent
88c81dc479
commit
be5efd6aaf
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ end
|
||||||
# Hack for issue #19: Create version of sdkman-init that doesn't export
|
# Hack for issue #19: Create version of sdkman-init that doesn't export
|
||||||
# any environment variables.
|
# any environment variables.
|
||||||
if not test -f "$__fish_sdkman_noexport_init"
|
if not test -f "$__fish_sdkman_noexport_init"
|
||||||
|
mkdir -p (dirname $__fish_sdkman_noexport_init)
|
||||||
sed -e 's/^\(\s*\).*\(export\|to_path\).*$/\1:/g' "$__fish_sdkman_init" \
|
sed -e 's/^\(\s*\).*\(export\|to_path\).*$/\1:/g' "$__fish_sdkman_init" \
|
||||||
> $__fish_sdkman_noexport_init
|
> $__fish_sdkman_noexport_init
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue