]> gitweb @ CieloNegro.org - sugar.git/blobdiff - dot-files/_zshrc
Auto commit by The Sugar System.
[sugar.git] / dot-files / _zshrc
index 1b28a352233caecf120650d2ee5dc03d2dcf19cb..60ac6167201e1ddd580dff31d11cf5443c81a0ff 100644 (file)
@@ -2,7 +2,7 @@
 bindkey -e
 
 stty -ixon ixany
-stty erase '^H'
+#stty erase '^H'
 
 # The following lines were added by compinstall
 zstyle :compinstall filename "$HOME/.zshrc"
@@ -284,7 +284,20 @@ 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[@]}
+    }
+    function mfirefox () {
+        local -a args
+        for arg in $@; do
+            args=(${args[@]} $(printf %q "$arg"))
+        done
+        ssh kurumi open -a Firefox ${args[@]}
+    }
 fi
 
 if [[ $(uname) = "Darwin" ]]; then