Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


bash_configs:bashrc_vs_.bash_profile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
bash_configs:bashrc_vs_.bash_profile [2013/07/04 19:34]
juckins
bash_configs:bashrc_vs_.bash_profile [2019/10/04 12:39] (current)
juckins
Line 3: Line 3:
 http://​www.joshstaiger.org/​archives/​2005/​07/​bash_profile_vs.html http://​www.joshstaiger.org/​archives/​2005/​07/​bash_profile_vs.html
  
 +.bashrc root updates:
 +
 +<​code>​
 +# Added by CJ
 +
 +# Set prompt
 +PS1="​[\[email protected]\h:​ \w]# "
 +
 +PATH=$PATH:​$HOME/​bin:​.
 +export PATH
 +unset USERNAME
 +
 +alias ssh='​ssh -Y'
 +alias vi='​vim'​
 +
 +# no funny characters in man pages
 +#export LC_ALL="​en_US"​
 +
 +# Combine history
 +export HISTSIZE=10000
 +export HISTCONTROL=ignoredups
 +shopt -s histappend
 +</​code>​
  
bash_configs/bashrc_vs_.bash_profile.txt ยท Last modified: 2019/10/04 12:39 by juckins