From cf24e2f956dc374ef1e76478051ab2ca2a683e5b Mon Sep 17 00:00:00 2001 From: Heavy Date: Fri, 9 Jul 2021 08:43:39 +0200 Subject: [PATCH] Fixed wrong "/dev/null" entry in 08.alias file. --- dot_bashrc.d/executable_08.alias.tmpl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dot_bashrc.d/executable_08.alias.tmpl b/dot_bashrc.d/executable_08.alias.tmpl index 71b9a97..e3e50af 100644 --- a/dot_bashrc.d/executable_08.alias.tmpl +++ b/dot_bashrc.d/executable_08.alias.tmpl @@ -20,6 +20,16 @@ alias lm='ls -al |more' # pipe through 'more' alias l='ls -CF' alias lsd='ls -l | grep "^d"' #list only directories +# dircolors +export LS_OPTIONS='--color=auto' +eval "$(dircolors -b)" +alias ls='ls $LS_OPTIONS' + +# Use vim if available +if type vim >/dev/null 2>/dev/null; then + alias vi=$(which vim) +fi + # git shortcut alias gg='git graph' @@ -29,6 +39,9 @@ alias tailer="tail --follow=name --retry" # git aliases alias gg='git graph' +# grep processes +alias psg='ps -aux | grep -v grep | grep ' + # aliases to own scripts alias start-agent='start-agent.sh' alias find-agent='find-agent.sh'