Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


bash_configs:bashrc_vs_.bash_profile

Tips for using .bashrc vs .bash_profile

http://www.joshstaiger.org/archives/2005/07/bash_profile_vs.html

.bashrc root updates:

# 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
bash_configs/bashrc_vs_.bash_profile.txt · Last modified: 2019/10/04 12:39 by juckins