From: adefaria Date: Wed, 7 May 2014 23:12:10 +0000 (-0700) Subject: Set alias for asperl if ActiveState Perl is present X-Git-Url: https://defaria.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=ae4d0aac078aa1a769a661e459a3260f68eed28e;p=clearscm.git Set alias for asperl if ActiveState Perl is present --- diff --git a/rc/bash_login b/rc/bash_login index ff64550..89ae5a8 100644 --- a/rc/bash_login +++ b/rc/bash_login @@ -144,7 +144,7 @@ else if [ $ARCHITECTURE = "sun" ]; then # Ugh! --color doesn't work on braindead SUN alias ls="ls -F" - else + else alias ls="ls -F --color=auto" fi fi @@ -157,6 +157,14 @@ if [ $ARCHITECTURE = "cygwin" ]; then alias host=nslookup fi +if [ -f "$SYSTEMDRIVE/Perl64/bin/perl" ]; then + alias asperl="$SYSTEMDRIVE/Perl64/bin/perl" +fi + +if [ -f "$SYSTEMDRIVE/Perl/bin/perl" ]; then + alias asperl="$SYSTEMDRIVE/Perl64/bin/perl" +fi + export LANG=C if [ $(type -p vim) ]; then