mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-25 05:17:11 -07:00
issue #27 Fish 2 compatibility: support old PATH handling, as well
This commit is contained in:
parent
018c9f01a3
commit
735760bb25
1 changed files with 4 additions and 1 deletions
|
@ -34,7 +34,10 @@ for sdk_cmd in $test_commands
|
|||
|
||||
# For nicer diffs: one entry per line, sorted
|
||||
string split ":" (cat path_bash) | sort > path_bash
|
||||
string split ":" (cat path_fish) | sort > path_fish
|
||||
string split ":" (cat path_fish) \
|
||||
| string split " " \
|
||||
| sort > path_fish
|
||||
# split by spaces for fish 2.*
|
||||
|
||||
for out in sout status path anthome
|
||||
if [ (checksum "$out"_bash) != (checksum "$out"_fish) ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue