add bashrc.root
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user