X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Fvariables.bashrc;h=3182c19303326128d853d552f4012b51060b7284;hb=95120cbd748ebe21f1cf944911632f9afdad1958;hp=a794cef5a7326cad245eab6f348af3b95401b516;hpb=666cd1a464129a4a2117193dbc133cd08d001041;p=profile.git diff --git a/.profile.d/variables.bashrc b/.profile.d/variables.bashrc index a794cef..3182c19 100644 --- a/.profile.d/variables.bashrc +++ b/.profile.d/variables.bashrc @@ -4,10 +4,15 @@ export SSHTERM_TITLE=-title export SSHTERM_EXEC=-e #export TERM=xterm-xfree86 export TERM=linux +unset LANG export LC_CTYPE=en_GB -export LS_OPTIONS="--color=auto -F -b --time-style=long-iso" +if ls --help 2>/dev/null | grep gnu.org >/dev/null; then + export LS_OPTIONS="--color=auto -F -b --time-style=long-iso" +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"