Folder to easyly add some customisation to bash
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

aliases.sh 497B

1234567891011121314151617
  1. # enable color support of ls and also add handy aliases
  2. if [ -x /usr/bin/dircolors ]; then
  3. test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
  4. alias ls='ls --color=auto'
  5. alias dir='dir -lh --color=auto'
  6. #alias vdir='vdir --color=auto'
  7. alias grep='grep --color=auto'
  8. alias fgrep='fgrep --color=auto'
  9. alias egrep='egrep --color=auto'
  10. fi
  11. # some more ls aliases
  12. alias ll='ls -alF'
  13. alias la='ls -A'
  14. alias l='ls -CF'
  15. alias less='less -iS'