From 35b236612c4cc93c90898d0abddf7efe636a6804 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 22 May 2017 16:30:13 +0300 Subject: [PATCH] source grc rc-file --- bashplugins | 3 +++ bashrc | 12 ------------ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/bashplugins b/bashplugins index a697366..04e4de3 100644 --- a/bashplugins +++ b/bashplugins @@ -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'; } diff --git a/bashrc b/bashrc index 6e99287..e1d3e06 100644 --- a/bashrc +++ b/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'