From 316fdf03712fe983a699129a2069287c7ca8c6b1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 18 Aug 2016 00:29:25 +0200 Subject: .bashrc: leave the upstream part intact --- .bashrc | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/.bashrc b/.bashrc index ed3e765..6a7450f 100644 --- a/.bashrc +++ b/.bashrc @@ -37,7 +37,7 @@ # set -o ignoreeof # # Use case-insensitive filename globbing -shopt -s nocaseglob +# shopt -s nocaseglob # # Make bash append rather than overwrite the history on disk # shopt -s histappend @@ -96,15 +96,15 @@ shopt -s nocaseglob # alias mv='mv -i' # # Default to human readable figures -alias df='df -h' -alias du='du -h' +# alias df='df -h' +# alias du='du -h' # # Misc :) # alias less='less -r' # raw control characters # alias whence='type -a' # where, of a sort -alias grep='grep --color' # show differences in colour -alias egrep='egrep --color=auto' # show differences in colour -alias fgrep='fgrep --color=auto' # show differences in colour +# alias grep='grep --color' # show differences in colour +# alias egrep='egrep --color=auto' # show differences in colour +# alias fgrep='fgrep --color=auto' # show differences in colour # # Some shortcuts for different directory listings # alias ls='ls -hF --color=tty' # classify files in colour @@ -201,16 +201,23 @@ PS1='\[\e[33m\]\W\[\e[0m\]: ' set -o nounset set -o pipefail + shopt -s dotglob shopt -s nullglob +shopt -s nocaseglob -alias less='less -R' -alias ls='ls -lAh --color=tty' -alias tree='tree -a' +export PYTHONSTARTUP="$HOME/.pythonrc" -alias list_packages='cygcheck -cd' +alias df='df --human-readable' +alias du='du --human-readable' +alias egrep='egrep --color=auto' +alias fgrep='fgrep --color=auto' +alias grep='grep --color=auto' +alias less='less --RAW-CONTROL-CHARS' +alias ls='ls --almost-all -l --human-readable --color=auto' +alias tree='tree -a' -export PYTHONSTARTUP="$HOME/.pythonrc" +alias cygwin_packages='cygcheck -cd' [ -f '.bash_utils/cxx.sh' ] && source .bash_utils/cxx.sh [ -f '.bash_utils/distr.sh' ] && source .bash_utils/distr.sh -- cgit v1.2.3