dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone git://edryd.org/dotfiles
Log | Files | Refs

commit 79c7d36c6ca2745a89e450190c5a0c9d9ef6e89d
parent 5500afede4b10cc8b8baffd3731f90a00041d28a
Author: Ed van Bruggen <edvb54@gmail.com>
Date:   Mon,  4 Sep 2017 07:44:43 -0700

bash: More color aliases

Diffstat:
bashrc | 11++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/bashrc b/bashrc @@ -22,9 +22,7 @@ shopt -s checkwinsize # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" -# enable programmable completion features (you don't need to enable -# this, if it's already enabled in /etc/bash.bashrc and /etc/profile -# sources /etc/bash.bashrc). +# enable programmable completion features if ! shopt -oq posix; then if [ -f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion @@ -96,7 +94,14 @@ bind '"\t":menu-complete' if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto -F' + alias dir='dir --color=auto' + alias vdir='vdir --color=auto' + alias grep='grep --color=auto' + alias fgrep='fgrep --color=auto' + alias egrep='egrep --color=auto' + + alias diff='diff --color=auto' fi # easily change back directories