-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc_root
More file actions
26 lines (22 loc) · 838 Bytes
/
bashrc_root
File metadata and controls
26 lines (22 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
set -o noclobber
shopt -s failglob
if [ "$LOGNAME" = root ] || [ "`id -u`" -eq 0 ] ; then
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
fi
export PAGER; PAGER="less --quit-if-one-screen --ignore-case --no-init"
export SYSTEMD_PAGER; SYSTEMD_PAGER=''
export TERMINAL; TERMINAL=urxvt
export VISUAL; VISUAL=emacs
export PATH; PATH=/sbin:/bin:/usr/bin
alias blank='xset s reset;xset s blank;xset s on;xset s 1'
alias cp='cp -i'
alias date='date --rfc-email'
alias grep='grep --color=auto'
alias h='history'
alias less='less --quit-if-one-screen --ignore-case --no-init'
alias ls='ls --classify --color=auto'
alias mv='mv -i'
alias noblank='xset s reset;xset s noblank;xset s off;xset dpms force on'
alias pav='source ~/env/bin/activate'
alias python='python3'
alias z='suspend'