summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2015-08-05 01:02:17 +0200
committerMarc Cornellà <marc.cornella@live.com>2015-08-05 01:18:42 +0200
commitb760a10cb27e5e17ad32e51ffac3374334fa4888 (patch)
treecd125a58eaee5ac82ea2213ac00f9c1503cfb0f4 /plugins
parentd1d06b5675bebbe54f3d876eb993b6e89d8963c7 (diff)
downloadzsh-b760a10cb27e5e17ad32e51ffac3374334fa4888.tar.gz
zsh-b760a10cb27e5e17ad32e51ffac3374334fa4888.tar.bz2
zsh-b760a10cb27e5e17ad32e51ffac3374334fa4888.zip
Use standard open command in fasd and lighthouse plugins
Diffstat (limited to 'plugins')
-rw-r--r--plugins/fasd/fasd.plugin.zsh4
-rw-r--r--plugins/lighthouse/lighthouse.plugin.zsh2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/fasd/fasd.plugin.zsh b/plugins/fasd/fasd.plugin.zsh
index 472ab2b0f..b11f0b511 100644
--- a/plugins/fasd/fasd.plugin.zsh
+++ b/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
-
diff --git a/plugins/lighthouse/lighthouse.plugin.zsh b/plugins/lighthouse/lighthouse.plugin.zsh
index 7661c6add..48cddbccc 100644
--- a/plugins/lighthouse/lighthouse.plugin.zsh
+++ b/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
}