~kiril/dotfiles

72f341c918638bd189451e0c3a81ab3ae0797484 — Kiril Vladimirov 1 year, 4 months ago 57e57e3
bash: source user-dirs, colors and rc from profile
1 files changed, 3 insertions(+), 8 deletions(-)

M bash/profile
M bash/profile => bash/profile +3 -8
@@ 1,9 1,4 @@
#!/bin/bash

if [ -r ~/.dir_colors ]; then
	eval $(dircolors ~/.dir_colors)
fi

if [ -r ~/.bashrc ]; then
	source ~/.bashrc
fi
test -r "$HOME/.config/user-dirs.dirs" && source "$HOME/.config/user-dirs.dirs"
test -r "$HOME/.dir_colors"            && eval $(dircolors "$HOME/.dir_colors")
test -r "$HOME/.bashrc"                && source "$HOME/.bashrc"