From: PHO Date: Sat, 12 Nov 2016 08:04:36 +0000 (+0900) Subject: Auto commit by The Sugar System. X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=c88a94f1b338321ca8fb1b4bf870032ae032efa0;p=sugar.git Auto commit by The Sugar System. --- diff --git a/dot-files/_zshrc b/dot-files/_zshrc index 1b28a35..ed53aa7 100644 --- a/dot-files/_zshrc +++ b/dot-files/_zshrc @@ -284,7 +284,13 @@ if [[ $(hostname) = "aria.cielonegro.org" ]]; then alias hengband='open ~/Applications/hengband*/Hengband*' elif [[ $(hostname) = "yukari.cielonegro.org" ]]; then - alias safari="ssh kurumi open -a Safari" + function safari () { + local -a args + for arg in $@; do + args=(${args[@]} $(printf %q "$arg")) + done + ssh kurumi open -a Safari ${args[@]} + } fi if [[ $(uname) = "Darwin" ]]; then