commit c2abb31a50f5cbebc1ca80759871fb08f800d45c parent ee72ed65fe003322fdddc76d434512749a33073a Author: finwo <finwo@pm.me> Date: Tue, 5 Nov 2019 16:51:26 +0100 Simplify zsh/getComposer Diffstat:
| M | zsh/home/.zshrc | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/zsh/home/.zshrc b/zsh/home/.zshrc @@ -24,9 +24,7 @@ bindkey -v # Custom commands {{{ function getComposer { - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" - php composer-setup.php - php -r "unlink('composer-setup.php');" + curl https://getcomposer.org/installer | php } function composer {