2
0
Fork 0

various changes

This commit is contained in:
Ducky 2022-03-02 00:35:53 +00:00
parent 9db131e54c
commit ca8cfe828f
10 changed files with 32 additions and 44 deletions

View file

@ -2,8 +2,6 @@
#
# Everytime this is sourced, a new version is pulled from /etc/skel/.bashrc,
# rendering any changes you make here overwritten the next time you launch Bash.
#
# Put any extra aliases, functions, or other mess into ~/.bash_aliases.
# If not running interactively, don't do anything
case $- in
@ -93,11 +91,6 @@ else
PS1="\h:\W > "
fi
# Aliases
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# Completions
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
@ -113,6 +106,6 @@ if [[ -z $SUDO_USER ]]; then
print_header
fi
if [[ $UID != 0 ]]; then
update_bashrc
fi
# Update prompt
# TODO: Tell user if something has updated
update_bashrc