Move extensions to new .bashrc.d structure
This commit is contained in:
parent
02b7168bf0
commit
0edea05e46
7
bashrc
7
bashrc
@ -89,7 +89,7 @@ if [[ $system == "Linux" ]]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# hostname
|
# hostname TODO could we not get rid of hostname command (not always installed)?
|
||||||
# if hostname has 5 parts then host=.secondpart
|
# if hostname has 5 parts then host=.secondpart
|
||||||
if [[ $(hostname | grep -o "\." | wc -l) -eq 4 ]]; then
|
if [[ $(hostname | grep -o "\." | wc -l) -eq 4 ]]; then
|
||||||
host='.'$(hostname | cut -f 2 -d '.')
|
host='.'$(hostname | cut -f 2 -d '.')
|
||||||
@ -161,7 +161,6 @@ alias vnc-gdm="sudo x11vnc -auth /run/user/$X_gdm_id/gdm/Xauthority -localhost -
|
|||||||
alias vnc-lightdm='sudo x11vnc -auth /var/run/lightdm/root/:0 -localhost -once -nopw -display :0'
|
alias vnc-lightdm='sudo x11vnc -auth /var/run/lightdm/root/:0 -localhost -once -nopw -display :0'
|
||||||
|
|
||||||
# load any additional configuration
|
# load any additional configuration
|
||||||
for f in ~/.bashrc-*; do
|
for f in ~/.bashrc.d/bashrc-*; do
|
||||||
[ -e "$f" ] && . ~/.bashrc-*
|
[ -e "$f" ] && source $f
|
||||||
break
|
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user