I'm not sure what's happened but my ~/.profile is no longer loading.
Can anyone see something wrong with the following?
export PS1="\u@local [\w]# "
export EDITOR="subl -w"
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
alias vst="ssh -i ~/.ssh/vst root@vst"
I know for a fact using that PS1 like I am attempting to do it should be doing Peter@local [~/path/to/file]#
but it's not.
Any ideas?
profile file is hidden, use the ls -a command to list it. After the login program adds the LOGNAME (login name) and HOME (login directory) variables to the environment, the commands in the $HOME/. profile file are executed if the file is present.
bash_profile , ~/. bash_login etc. bash_profile file is located in the current user home directory as a hidden file.
The . bash_profile is used for customizing the user configuration settings. This file is located in the home directory and is mostly hidden.
Zsh is more interactive and customizable than Bash. Zsh has floating-point support that Bash does not possess. Hash data structures are supported in Zsh that are not present in Bash. The invocation features in Bash is better when comparing with Zsh.
Does ~/.bash_profile
or ~/.bash_login
exist? If so, that'll be used instead of ~/.profile
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With