From 2a7a93d8c9fbded5e801f94ebdfd176616001458 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 1 Dec 2016 15:10:37 +0000 Subject: [PATCH] mac.sh --- etc/profile.d/mac.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/etc/profile.d/mac.sh b/etc/profile.d/mac.sh index fcb69656..f5c68c98 100644 --- a/etc/profile.d/mac.sh +++ b/etc/profile.d/mac.sh @@ -43,10 +43,8 @@ alias macps_top="echo 'TOP PROCESSES:'; ps -Aro'%cpu, ucomm, user' | grep $USER alias mac_vlc_playlists="open -a vlc --args /home/nico/Music/*/*.m3u" alias mac_mount_nfs="sudo mount -o resvport -t nfs" -if ! which mysql > /dev/null; then - if which mysql5 > /dev/null; then - alias mysql=mysql5 - fi +if ! which mysql > /dev/null && which mysql5 > /dev/null; then + alias mysql=mysql5 fi free() { -- 2.47.3