Browse Source

Use standard open command in fasd and lighthouse plugins

Marc Cornellà 9 years ago
parent
commit
b760a10cb2
2 changed files with 3 additions and 3 deletions
  1. 2 2
      plugins/fasd/fasd.plugin.zsh
  2. 1 1
      plugins/lighthouse/lighthouse.plugin.zsh

+ 2 - 2
plugins/fasd/fasd.plugin.zsh

@@ -5,7 +5,7 @@ if [ $commands[fasd] ]; then # check if fasd is installed
   fi
   source "$fasd_cache"
   unset fasd_cache
+
   alias v='f -e vim'
-  alias o='a -e open'
+  alias o='a -e open_command'
 fi
-

+ 1 - 1
plugins/lighthouse/lighthouse.plugin.zsh

@@ -9,7 +9,7 @@ open_lighthouse_ticket () {
   else
     lighthouse_url=$(cat .lighthouse-url);
     echo "Opening ticket #$1";
-    `open $lighthouse_url/tickets/$1`;
+    open_command "$lighthouse_url/tickets/$1";
   fi
 }