mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
Added the installer plugin
This plugin creates 2 aliases "in and up" that are system and distro agnostic. For example, on Mac in = brew install on SUSE in = sudo -E zypper install on Debian in = sudo -E apt-get install on RedHat in = sudo -E yum install add the 'installer' to your plugin list in ~/.zshrc source ~/.zshrc now you can run 'in wget' 'up curl'
This commit is contained in:
parent
0605884fae
commit
5fde95d6e5
2 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ On Debian/Ubuntu it's apt-get
|
|||
include the installer as a plugin in your ~/.zshrc
|
||||
|
||||
to install a new app run
|
||||
install <app>
|
||||
in <app>
|
||||
|
||||
you can upgrade an app with
|
||||
upgrade <app>
|
||||
up <app>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
source "${0:h}/core.sh"
|
||||
|
||||
case $OS in
|
||||
'mac')
|
||||
'mac')
|
||||
alias in='brew install'
|
||||
alias up='brew upgrade'
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue