[profile] Add my .profile file

This commit is contained in:
M1dgard 2018-08-18 22:19:05 +02:00
parent a72c78fc60
commit 06c19fc29a
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4
2 changed files with 23 additions and 1 deletions

View file

@ -22,7 +22,8 @@ mkdir -p $DOT_CONF
ln -s $PWD/xfce4-terminal $DOT_CONF/xfce4/terminal ln -s $PWD/xfce4-terminal $DOT_CONF/xfce4/terminal
} }
ln -s $PWD/user-dirs.dirs $DOT_CONF/user-dirs.dirs ln -s $PWD/profile $HOME/.profile
ln -s $PWD/gitignore $HOME/.gitignore ln -s $PWD/gitignore $HOME/.gitignore
mkdir -p $DOT_CONF/nvim/plug/ mkdir -p $DOT_CONF/nvim/plug/
ln -s $PWD/nvim-init.vim $DOT_CONF/nvim/init.vim ln -s $PWD/nvim-init.vim $DOT_CONF/nvim/init.vim
ln -s $PWD/user-dirs.dirs $DOT_CONF/user-dirs.dirs

21
profile Normal file
View file

@ -0,0 +1,21 @@
export PATH="$PATH:$HOME/.local/bin"
export EDITOR=vim
export VISUAL="$EDITOR"
export TERMINAL=st
if which nproc >/dev/null 2>&1; then
export MAKEFLAGS="-j $(( $(nproc) * 3 / 4 ))"
else
export MAKEFLAGS="-j 2"
fi
export PARINIT="rTbgqR B=.,?_A_a Q=_s>|"
export PIPENV_VENV_IN_PROJECT=true
# Automatically start x when logging in on tty1
if [ ! $DISPLAY && $XDG_VTNR -eq 1 ]; then
exec startx
fi