From 13f1c294695486374eece10f63d796b11c4a029f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 25 Nov 2020 15:30:05 +0100 Subject: bashrc: add more aliases --- bash/bashrc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bash') diff --git a/bash/bashrc b/bash/bashrc index 4cf0273..18364ac 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -17,12 +17,22 @@ HISTSIZE=65536 # activate lesspipe [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" +# TODO: split off aliases? # ls colors if [ -x /usr/bin/dircolors ]; then eval "`dircolors -b`" alias ls='ls --color=auto' fi +alias grep='grep --color=auto' +alias egrep='egrep --color=auto' +alias ll='ls -l' +alias la='ls -A' +alias lh='ls -lh' +alias lla='ls -lA' +alias llh='ls -lAh' +alias lt='ls -lt' + # disable flow control # XXX should this be here? stty -ixon -- cgit v1.2.3