diff --git a/script/myssh b/script/myssh index 703a8fa..a0ed5c1 100755 --- a/script/myssh +++ b/script/myssh @@ -138,9 +138,9 @@ set_host_env() { run_client() { if [ "$1" = 'mysql' ] then - if which ace >/dev/null 2>&1 + if [ -d "/Applications/Sequel Ace.app" ] then - ace + open "mysql://$2:$3@${SQL_PROXY_HOST}:6033" -a "Sequel Ace" elif which mysql >/dev/null 2>&1 then mysql --protocol=TCP -u "$2" -p"$3" -h "${SQL_PROXY_HOST}" -P 6033