add dotfiles to be placed under home directories
dotfiles like .bash*, .git*, .vim*, etc.
This commit is contained in:
parent
8fd26fd7b3
commit
0722320162
96 changed files with 24010 additions and 0 deletions
44
.bash_profile
Normal file
44
.bash_profile
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# .bash_profile
|
||||
# Dongsu Park <dpark AT posteo.net>
|
||||
|
||||
# Get the aliases and functions
|
||||
if [ -f ~/.bashrc ]; then
|
||||
. ~/.bashrc
|
||||
fi
|
||||
|
||||
# User specific environment and startup programs
|
||||
|
||||
if [ ! -z ${REMOTEHOST} ]; then
|
||||
export DISPLAY=${REMOTEHOST}:0.0
|
||||
fi
|
||||
|
||||
SYSDIR=`uname -m`-`uname -r`
|
||||
|
||||
## Paths
|
||||
export PATH=$HOME/bin:$PATH:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/opt/bin
|
||||
export BASH_ENV=$HOME/.bashrc
|
||||
|
||||
## Control history
|
||||
export HISTSIZE=1000
|
||||
export HISTFILESIZE=200
|
||||
|
||||
## Control file name completion: ignore the following suffices
|
||||
export FIGNORE=:.o:.bak:.old:.aux:.toc
|
||||
|
||||
## Prompt
|
||||
## ex) user1@host1 ~ {41}
|
||||
export PS1="\u@\h `dirs` $(parse_git_branch) {\!} "
|
||||
|
||||
unset USERNAME
|
||||
|
||||
# Execute the subshell script
|
||||
if [ -e ~/.bashrc ]; then
|
||||
source ~/.bashrc
|
||||
fi
|
||||
|
||||
export PKGDIR=/usr/portage/packages
|
||||
|
||||
xset b off
|
||||
setxkbmap -model cherrycmexpert -layout us,de -variant nodeadkeys
|
||||
|
||||
# end of ~/.bash_profile
|
||||
Loading…
Add table
Add a link
Reference in a new issue