Re: [SOLVED] How to define bash aliases?
Posted: 25. Aug 2011, 04:07
I have my aliases always in .bashrc and no problems that way.
like:
alias ll='ls -l'
like:
alias ll='ls -l'
Linux for the Lazy Slacker
https://forum.salixos.org/
Create a ~/.bash_profile which sources ~/.bashrc (which in turn will source ~/.bash_aliases). .bash_profile is executed (if it exists) when a login terminal is started.john256 wrote:I found, however, that this don't work if the XFCE Terminal is set to run as a login shell. Does anybody know how to make bash_aliases to work in this case?
Edit: I need the option "Run command as login shell" because it enables colored output defined in ~/.dir_colors. If this can be accomplished without running the terminal as login shell, I would greatly appreciate hints in that direction.