From c88a94f1b338321ca8fb1b4bf870032ae032efa0 Mon Sep 17 00:00:00 2001 From: PHO Date: Sat, 12 Nov 2016 17:04:36 +0900 Subject: [PATCH] Auto commit by The Sugar System. --- dot-files/_zshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.40.0