Explorar o código

Update shell

added colors to ls like debian suggestion
Bachir Soussi-Chiadmi %!s(int64=9) %!d(string=hai) anos
pai
achega
2c66e47051
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  1. 11 0
      .bash/shell

+ 11 - 0
.bash/shell

@@ -1,4 +1,15 @@
 #!/bin/bash
+# You may uncomment the following lines if you want `ls' to be colorized:
+export LS_OPTIONS='--color=auto'
+eval "`dircolors`"
+alias ls='ls $LS_OPTIONS'
+alias ll='ls $LS_OPTIONS -l'
+alias l='ls $LS_OPTIONS -lA'
+
+# Some more alias to avoid making mistakes:
+alias rm='rm -i'
+alias cp='cp -i'
+alias mv='mv -i'
 
 # General settings
 export EDITOR=vim