Browse Source

Add a warning about needing to restart the entire login session

E.g. for a GUI session, ~/.profile is executed by the GUI login "shell" at its startup
so one needs to fully log out and log back in.
Before that, the change would only be seen by shells explicitly started as login shells.
pull/1898/head
Ivan Pozdeev 3 years ago
parent
commit
aab562c696
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libexec/pyenv-init

+ 3
- 0
libexec/pyenv-init View File

@ -114,6 +114,9 @@ function help_() {
;;
esac
echo
echo '# Make sure to restart your entire logon session'
echo '# for changes to ~/.profile to take effect.'
echo
} >&2
}

Loading…
Cancel
Save