Update dotfiles/.bash_logout, dotfiles/.profile

This commit is contained in:
Brian Zalewski 2022-09-30 12:32:29 +00:00
parent 55f59c6c88
commit cf0f8f58ef
2 changed files with 5 additions and 13 deletions

5
dotfiles/.bash_logout Normal file
View file

@ -0,0 +1,5 @@
# ~/.bash_logout: executed by bash(1) when login shell exits
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi

View file

@ -141,19 +141,6 @@ resetdocker() {
docker system prune -a --force docker system prune -a --force
} }
# Source: https://itnext.io/bash-aliases-are-awesome-8a76aecc96ab
# Type ".. 5" to cd .. 5 times
..() {
N=$(($1))
if [ $N -lt 1 ]; then
N=1
fi
while ((N)); do
cd ..
let N-=1
done;
}
### Aliases ### Aliases
# Create an Authelia password hash # Create an Authelia password hash