My dotfiles. Period.

global-before.bashrc 964B

1234567891011121314151617181920212223242526272829303132333435363738
  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. ### ...... ###
  19. ### OTHERS ###
  20. ### '''''' ###
  21. export GREP_OPTIONS="--color --binary-files=without-match"
  22. # make green git bash trinket even cooler
  23. export GIT_PS1_SHOWDIRTYSTATE=true
  24. export GIT_PS1_SHOWUNTRACKEDFILES=true
  25. # disable mounting things like SFTP to ~/.gvfs when accessed
  26. # via GIO (used by nautilus etc.)
  27. export GVFS_DISABLE_FUSE=1
  28. # disable the terrible beep sound (only for X; for tty?, blacklist pcspkr)
  29. [[ ${!DISPLAY[@]} ]] && xset b off