diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/home-manager | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/home-manager b/bin/home-manager index 73d06c7f..cf434738 100755 --- a/bin/home-manager +++ b/bin/home-manager @@ -135,8 +135,7 @@ for old in $channel_root/$old_channels rm $old end -set --function i (contains --index (status dirname) $PATH) -if test -n $i +if set --function i (contains --index (status dirname) $PATH) && test -n $i set --erase PATH[$i] end |