Commits

kchida committed 1cf08c5

Added color support to less command when piped

  • Participants
  • Parent commits f0d30eb

Comments (0)

Files changed (2)

 fi
 
 # some more ls aliases
-alias ll='ls -alF'
+alias ll='ls -alF --group-directories-first --color=always'
 alias la='ls -A'
 alias l='ls -CF'
 
 fi
 
 ######## Ken's Stuff Starts Here #################
+# Specify flags to be used with less. -i makes searches case-insensitive when search
+# term is all lowercase; otherwise, if there are any cap chars, it will be case-sensitive.
+# -R makes less honor raw control chars only for color metadata (i.e. ESC).
+export LESS="-iR"
+
 # Switch readline to vi mode instead of emacs
 set -o vi
 

File .vim/.netrwhist

 let g:netrw_dirhistmax  =10
-let g:netrw_dirhist_cnt =1
+let g:netrw_dirhist_cnt =2
 let g:netrw_dirhist_1='/home/kchida/dot-files'
+let g:netrw_dirhist_2='/etc'