Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check .bashrc for .bash_profile #600

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ShivamPoW
Copy link

I checked .bashrc and it loads .bash_aliases instead of .bash_profile. So, for me logging out and in didn't work.

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

So had to source in each session. Hence, added small script at the end of .bashrc. I think just renaming everywhere works but probably not for everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant