var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
How does one set up bash startup file?
I was wondering how one would go about setting up a bash start-up file to change the prompt and start up in a certain directory?
I have read that one can create a .bash_profile file in the home directory (in a shared hosting environment) but will bash automatically execute such a file if created there?
You know I gots to hand it to any of you that deal with Unix every day. It's like trying to learn to speak in Chinese .
Any insight on this would be appreciated.
yes it should execute that file, unless that has been disabled (unlikely)
try putting this in the .bash_profile (or .profile file).
More info can be found from the INVOCATION section of man bash
Hope this helps
if [ "X$SSH2_CLIENT" = "X" ]; then
export PATH TERM PS1 PAGER EDITOR VISUAL
alias pico="pico -w"
alias ls="gnuls -F --color=auto"
alias rm="rm -f"
Here is my typical .profile file