add bashrc.root

This commit is contained in:
2024-01-23 09:52:04 +01:00
parent 6dbd254992
commit 4a14195bcd
2 changed files with 215 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
# i.e., add at the end of .bashrc:
# [ -f "$HOME/.bashrc.$USER" ] && . "$HOME/.bashrc.$USER"
#
# Debian default ~/.profile does:
# Debian default ~/.profile usually does:
# 1) source .bashrc if it exists
# 2) add "$HOME"/bin in PATH
# This imply a duplicate "$HOME/bin" in PATH, as we do everything here.
@@ -130,6 +130,8 @@ e() {
$VISUAL "$@"
}
export -f e
# look for Emacs
if hash emacs 2>/dev/null; then
# uncomment below to use full emacs
#export EDITOR=emacs
@@ -189,7 +191,7 @@ export QUOTING_STYLE=literal
# avoid these stupid systemd defaults (horizontal scroll and pager)
alias systemctl="systemctl --no-pager --full"
# useful aliases/functions
# aliases/functions for ls and history
alias l='ls -F'
alias ls='ls -F'
alias l1='ls -1F'