Skip to content

Commit

Permalink
Merge pull request #7 from borisjoffe/master
Browse files Browse the repository at this point in the history
Fix #6, allowing equals character in variable values
  • Loading branch information
derekstavis committed Nov 1, 2015
2 parents 76edd9a + 25141a4 commit a6046bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/fenv.apply.fish
Expand Up @@ -26,7 +26,7 @@ function fenv.apply

for variable in $variables
set key (echo $variable | sed -e 's/=.*//')
set value (echo $variable | sed -e 's/.*=//')
set value (echo $variable | sed -e 's/[^=]*=//')

if test "$key" = 'PATH'
set value (echo $value | sed -e 's/:/ /g')
Expand Down

0 comments on commit a6046bc

Please sign in to comment.