shell 779 B

123456789101112131415161718192021222324252627282930313233
  1. #!/bin/bash
  2. # You may uncomment the following lines if you want `ls' to be colorized:
  3. export LS_OPTIONS='--color=auto'
  4. eval "`dircolors`"
  5. alias ls='ls $LS_OPTIONS'
  6. alias ll='ls $LS_OPTIONS -l'
  7. alias l='ls $LS_OPTIONS -lA'
  8. # Some more alias to avoid making mistakes:
  9. alias rm='rm -i'
  10. alias cp='cp -i'
  11. alias mv='mv -i'
  12. # General settings
  13. export EDITOR=vim
  14. export CLICOLOR=1
  15. # Prefer the Queen's English and use UTF-8.
  16. export LC_ALL='en_GB.UTF-8';
  17. export LANG='en_GB';
  18. # don't put duplicate lines in the history
  19. export HISTCONTROL=ignoredups
  20. # let the history ignore the following commands
  21. export HISTIGNORE="ls:ll:la:pwd:clear:h:j"
  22. # append to the history file rather than overwriting
  23. shopt -s histappend
  24. shopt -s nocaseglob;
  25. # display 256 colors
  26. export TERM=xterm-256color