X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.profile.d%2Fvariables.bashrc;fp=.profile.d%2Fvariables.bashrc;h=037e943a06ddf82c2a9be10a63e213da3059e44d;hp=a794cef5a7326cad245eab6f348af3b95401b516;hb=43148d7fd79913a1a1d995150223fe1a6ff934a4;hpb=99881ad89700e483371cc2794d63afab85469498 diff --git a/.profile.d/variables.bashrc b/.profile.d/variables.bashrc index a794cef..037e943 100644 --- a/.profile.d/variables.bashrc +++ b/.profile.d/variables.bashrc @@ -5,9 +5,13 @@ export SSHTERM_EXEC=-e #export TERM=xterm-xfree86 export TERM=linux export LC_CTYPE=en_GB -export LS_OPTIONS="--color=auto -F -b --time-style=long-iso" +if ls --help 2>/dev/null | grep -qs gnu.org; then + export LS_OPTIONS="--color=auto -F -b" +elif [ "$SYSTEM" = "Darwin" ]; then + export LS_OPTIONS="-G -F -b" +fi export VISUAL=vim -eval `dircolors` 2>/dev/null +eval `dircolors 2>/dev/null` 2>/dev/null unset XMODIFIERS #:-( export SSHTERM="urxvt" export SSHTERM_TITLE="-title"