Shell profile is weird when logging in sometimes
Bugzilla ID | 17 |
Reporter | A. Wilcox (awilfox) |
Assignee | Horst Burkhardt (mc68030) |
Reported | 2016-08-13 05:58:56 -0500 |
Modified | 2016-10-26 02:45:16 -0500 |
Status | RESOLVED FIXED |
Version | 1.0-ALPHA1 |
Hardware | Adélie Linux / All |
Importance | Normal / critical |
Description
Logging in to an Adélie system from tty or launching a Konsole shows the typical Adélie bash/zsh prompt, but logging in via SSH or opening a new tmux window shows "-bash-4.3" as PS1 and PATH set to simply /usr/bin:/bin.
This has major usability repercussions; for instance, on ssh:
-bash-4.3# apk
-bash: apk: command not found
-bash-4.3# echo $PATH
/usr/bin:/bin
As I am not highly knowledgable in the internal workings of Bash, I have assigned this to our shell expert.