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

Next revision
Previous revision
bash_configs:bashrc_vs_.bash_profile [2013/07/04 19:34] – created juckinsbash_configs:bashrc_vs_.bash_profile [2019/10/04 12:39] (current) juckins
Line 1: Line 1:
 +Tips for using .bashrc vs .bash_profile 
 +
 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="[\u@\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.1372980873.txt.gz · Last modified: 2013/07/04 19:34 by juckins