aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-08-18 00:29:25 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2016-08-18 00:29:25 +0200
commit316fdf03712fe983a699129a2069287c7ca8c6b1 (patch)
treeba123f9f226d0fa8379072f49165793e211dfc23
parentREADME update (diff)
downloadlinux-home-316fdf03712fe983a699129a2069287c7ca8c6b1.tar.gz
linux-home-316fdf03712fe983a699129a2069287c7ca8c6b1.zip
.bashrc: leave the upstream part intact
-rw-r--r--.bashrc29
1 files 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