mirror of
https://github.com/pnx/dotfiles
synced 2026-07-04 15:23:40 +02:00
adding bashrc
This commit is contained in:
parent
7e5de861ba
commit
4102585363
2 changed files with 26 additions and 0 deletions
25
bashrc
Normal file
25
bashrc
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
# .bashrc
|
||||||
|
|
||||||
|
# Source global definitions
|
||||||
|
if [ -f /etc/bashrc ]; then
|
||||||
|
. /etc/bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
# User specific environment
|
||||||
|
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
|
||||||
|
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
||||||
|
fi
|
||||||
|
export PATH
|
||||||
|
|
||||||
|
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
||||||
|
# export SYSTEMD_PAGER=
|
||||||
|
|
||||||
|
# User specific aliases and functions
|
||||||
|
if [ -d ~/.bashrc.d ]; then
|
||||||
|
for rc in ~/.bashrc.d/*; do
|
||||||
|
if [ -f "$rc" ]; then
|
||||||
|
. "$rc"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
unset rc
|
||||||
|
|
@ -20,6 +20,7 @@ for target in ${DIRECTORIES[@]}; do
|
||||||
ln -sfr -t $HOME/.config $BASE_PATH/$target
|
ln -sfr -t $HOME/.config $BASE_PATH/$target
|
||||||
done
|
done
|
||||||
|
|
||||||
|
ln -sfr $BASE_PATH/bashrc $HOME/.bashrc
|
||||||
ln -sfr $BASE_PATH/tmux.conf $HOME/.tmux.conf
|
ln -sfr $BASE_PATH/tmux.conf $HOME/.tmux.conf
|
||||||
ln -sfr $BASE_PATH/Xresources $HOME/.Xresources
|
ln -sfr $BASE_PATH/Xresources $HOME/.Xresources
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue