clayrisser / eternal-utils

Eternally persist exported environment variables, aliases and sources
https://codejam.ninja
MIT License
4 stars 0 forks source link

Multiple path keys overwritten with first path #2

Closed clayrisser closed 6 years ago

clayrisser commented 6 years ago

When I have multiple PATH keys, their values are all replaced with the first path key.

For example, if my .zsh_envs file has the following . . .

PATH=$PATH/one
PATH=$PATH/two
PATH=$PATH/three

. . . it gets replaced with

PATH=$PATH/one
PATH=$PATH/one
PATH=$PATH/one
clayrisser commented 6 years ago

Fixed with commit 46e9ff90853dc78e11fdbae04024d62034ce745b