source grc rc-file
This commit is contained in:
parent
faa0dacc0a
commit
35b236612c
2 changed files with 3 additions and 12 deletions
|
@ -4,6 +4,9 @@ vscripts="${HOME}/vscripts"
|
|||
completion_path='/usr/share/bash-completion/bash_completion'
|
||||
[[ -r "${completion_path}" ]] && . "${completion_path}"
|
||||
|
||||
grc_rc='/etc/profile.d/grc.bashrc'
|
||||
[[ -r "${grc_rc}" ]] && . "${grc_rc}"
|
||||
|
||||
# because fuck you thats' why
|
||||
fuck() { echo 'no, fuck you'; }
|
||||
|
||||
|
|
12
bashrc
12
bashrc
|
@ -99,18 +99,6 @@ alias iconvuk='command iconv -c -f utf-8 -t koi8-r'
|
|||
alias iconvku='command iconv -c -f koi8-r -t utf-8'
|
||||
alias iconvwu='command iconv -c -f cp1251 -t utf-8'
|
||||
|
||||
# grc
|
||||
if is_exec grc; then
|
||||
alias ping='command grc --colour=auto ping'
|
||||
alias ping6='command grc --colour=auto ping'
|
||||
alias traceroute='command grc --colour=auto traceroute'
|
||||
alias traceroute6='command grc --colour=auto traceroute'
|
||||
alias make='command grc --colour=auto make'
|
||||
alias diff='command grc --colour=auto diff'
|
||||
alias cvs='command grc --colour=auto cvs'
|
||||
alias netstat='command grc --colour=auto netstat'
|
||||
fi
|
||||
|
||||
# ls
|
||||
alias ls='command ls --color=auto --group-directories-first '
|
||||
alias la='ls -FA'
|
||||
|
|
Loading…
Reference in a new issue