dotfiles/.bash_profile
Dongsu Park 0722320162 add dotfiles to be placed under home directories
dotfiles like .bash*, .git*, .vim*, etc.
2017-04-21 12:58:17 +02:00

44 lines
895 B
Bash

# .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