My dotfiles. Period.

global-before.bashrc 879B

12345678910111213141516171819202122232425262728293031323334
  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 grep='grep -I' # do not match binary files
  14. alias open='gnome-open'
  15. alias diff='diff -u'
  16. ### ...... ###
  17. ### OTHERS ###
  18. ### '''''' ###
  19. # make green git bash trinket even cooler
  20. export GIT_PS1_SHOWDIRTYSTATE=true
  21. export GIT_PS1_SHOWUNTRACKEDFILES=true
  22. # disable mounting things like SFTP to ~/.gvfs when accessed
  23. # via GIO (used by nautilus etc.)
  24. export GVFS_DISABLE_FUSE=1
  25. # disable the terrible beep sound (only for X; for tty?, blacklist pcspkr)
  26. [[ ${!DISPLAY[@]} ]] && xset b off