Skip to content

Instantly share code, notes, and snippets.

@tnlin
Created January 5, 2015 16:57
Show Gist options
  • Save tnlin/4853a4ee0f467260d3a8 to your computer and use it in GitHub Desktop.
Save tnlin/4853a4ee0f467260d3a8 to your computer and use it in GitHub Desktop.
setenv LSCOLORS "Exfxcxdxbxegedabagacad"
alias ls 'ls -G'
# -G colorful ls
# LSCOLORS config -G's color
if ($?prompt) then
if(! $?WINDOW ) then
set prompt="%{^[[1;36m%}%T%{^[[m%}%{^[[1;33m%}%n%{^[[m%}@%{^[[1;37m%}%m%{^[[1;32m%}[%~]%{^[[m%}> "
else
set prompt="%{^[[1;36m%}%T%{^[[m%}%{^[[1;33m%}%n%{^[[m%}@%{^[[1;37m%}%m%{^[[1;32m%}[%~]%{^[[m%}%{^[[1;35m%}[W$WINDOW]%{^[[m%}> "
endif
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment