Skip to content

installer overwrites .profile by creating .bash_profile #56

@Valcyclovir

Description

@Valcyclovir

edge node installer does touch "$HOME/.bash_profile", which overwrites settings on .profile:
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi

mesg n 2> /dev/null || true

the above stopped working after the installer, causing user to have to source .bashrc after on every terminal start.

solution:
create .bash_profile with both pyenv setup and the above command, or add pyenv setup or .profile
#Pyenv setup
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"

if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi

mesg n 2> /dev/null || true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions