d47a7221924b4fa0b1859913d505f50a6c276da1

Author
Marco De Bortoli <marco.debortoli@just-eat.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

PHP suffix alias should be removed

PHP can be executed as CLI script but due to the automated attempt
to add browser support to that extension such ability is prevented
in certain circumstances.

Diff

 1diff --git a/plugins/common-aliases/common-aliases.plugin.zsh b/plugins/common-aliases/common-aliases.plugin.zsh
 2index 128db6e5f339f0ba932171a18d8d55bedc8a2f3c..0908c8a389c1230f7e443f9b6b7b50b30c1fe845 100644
 3--- a/plugins/common-aliases/common-aliases.plugin.zsh
 4+++ b/plugins/common-aliases/common-aliases.plugin.zsh
 5@@ -54,7 +54,7 @@ alias mv='mv -i'
 6 # depends on the SUFFIX :)
 7 if is-at-least 4.2.0; then
 8   # open browser on urls
 9-  _browser_fts=(htm html de org net com at cx nl se dk dk php)
10+  _browser_fts=(htm html de org net com at cx nl se dk dk)
11   for ft in $_browser_fts ; do alias -s $ft=$BROWSER ; done
12 
13   _editor_fts=(cpp cxx cc c hh h inl asc txt TXT tex)