ansible-role--bashrc/files/bashrc

24 lines
592 B
Bash
Raw Permalink Normal View History

2015-11-17 13:20:58 +00:00
##
## BASH RC - every new shell
2023-01-15 21:55:02 +00:00
##
2015-11-17 13:20:58 +00:00
2015-11-17 23:57:38 +00:00
## 01-29 environment changes (XX-bin-... and XX-env-)
## 40-69 development settings (XX-dev)
2023-01-15 21:55:02 +00:00
## 70-89 utilities and applications specific environment changes (XX-app-...)
2015-11-17 23:57:38 +00:00
## 90-99 shell customisation : colors, prompt, etc.
## 95-99 miscelanous or low priority : aliases and completion (XX-misc-)
2015-11-17 13:20:58 +00:00
if [ -d "$HOME/.bashrc.d" ]; then
for script in $(find "$HOME/.bashrc.d/" -name '*.sh' |sort -n) ; do
# echo "Loading `basename \"$script\"`..." # >&2
. "$script"
2015-11-17 13:20:58 +00:00
done
fi
case "$(hostname)" in
dilong) export LIBVA_DRIVER_NAME=i965
;;
*) ;;
esac
2015-11-17 13:20:58 +00:00