From d67b689666100c4b8dacbef13175db6341ff23a2 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Wed, 20 Jun 2018 15:30:25 -0400 Subject: [PATCH] Cleanup some BSD specific variables. Linux and BSD pick up the ls colours variables under different circumstances now. --- tcshrc | 4 ---- tcshrc.aliases | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tcshrc b/tcshrc index f681726..d9ea307 100644 --- a/tcshrc +++ b/tcshrc @@ -83,10 +83,6 @@ else setenv LS_COLORS 'no=00:fi=00:di=01;34:ln=01;35:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;41;37:ex=00;31:*.tar=01;31:*.tgz=01;31:*.tbz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.cpp=32:*.cc=32:*.c=32:*.l=32:*.m=32:*.i=33:*.cxx=32:*.h=33:*.hpp=33:*.a=31:*.asm=31:*.bin=35:*.sec=36:*.ko=31' endif -#The LSCOLORS for *BSD is always working, so there's no need to versionify -#this. The environment variable's presence is trivial. -#For FreeBSD's ls(1), and derived utilities {Like MacOS X/Darwin's ls(1)} -setenv LSCOLORS 'ExFxcxdxbxegedabagacEB' setenv CLICOLOR_FORCE if( $?CSHENV_DEBUG ) then diff --git a/tcshrc.aliases b/tcshrc.aliases index f654ebc..517909a 100644 --- a/tcshrc.aliases +++ b/tcshrc.aliases @@ -55,6 +55,8 @@ switch( $CSHENV_SYSTEM_LS ) #FALLTHROUGH case FreeBSD: + #For FreeBSD's ls(1), and derived utilities {Like MacOS X/Darwin's ls(1)} + setenv LSCOLORS 'ExFxcxdxbxegedabagacEB' alias l ls -FG breaksw