My dotfiles. Period.

global-before.bashrc 992B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/bash
  2. #######################################################
  3. ### things to do BEFORE host/user-specific settings ###
  4. #######################################################
  5. ### .... ###
  6. ### BASH ###
  7. ### '''' ###
  8. export HISTCONTROL=$HISTCONTROL${HISTCONTROL+:}ignoredups
  9. export HISTIGNORE=$HISTIGNORE:ls:ll:la:cd
  10. export GLOBIGNORE=.:..
  11. # some more aliases
  12. alias ll='ls -lh'
  13. alias lla='ls -lha'
  14. alias open='gnome-open'
  15. alias diff='diff -u'
  16. alias pad4='sed -e "s/^/ /"'
  17. alias gitka='gitk --all'
  18. alias grepr='grep -nr . -e'
  19. ### ...... ###
  20. ### OTHERS ###
  21. ### '''''' ###
  22. export GREP_OPTIONS="--color --binary-files=without-match"
  23. # make green git bash trinket even cooler
  24. export GIT_PS1_SHOWDIRTYSTATE=true
  25. export GIT_PS1_SHOWUNTRACKEDFILES=true
  26. # disable mounting things like SFTP to ~/.gvfs when accessed
  27. # via GIO (used by nautilus etc.)
  28. export GVFS_DISABLE_FUSE=1
  29. # disable the terrible beep sound (only for X; for tty?, blacklist pcspkr)
  30. [[ ${!DISPLAY[@]} ]] && xset b off