This repository has been archived by the owner on Jun 30, 2022. It is now read-only.
generated from aubreypwd/zsh-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zsh-plugin-NAME.plugin.zsh
58 lines (54 loc) · 2.36 KB
/
zsh-plugin-NAME.plugin.zsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/zsh
###
# Required Commands
#
# - Note, if antigen above hasn't installed yet, a reload will install require and install the below.
#
# @see https://github.com/aubreypwd/zsh-plugin-require Uses this bundle to run require function/command.
# @since Friday, 10/2/2020 The initial ones.
# @since Tuesday, April 19, 2022. Moved to own plugin.
##
if [[ ! $( command -v require ) ]]; then
echo "Could not find the 'require' function."
echo " Please install: https://github.com/aubreypwd/zsh-plugin-require"
else
###
# Install homebrew itself.
#
# You probably have this installed aready though.
#
# E.g: brew
#
# @since Friday, 10/2/2020
# @see https://brew.sh
##
require "brew" '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"'
###
# Install homebrew packages.
#
# @since Friday, 10/2/2020
##
require "cmatrix" "brew reinstall cmatrix" "brew" # Easy matrix screensave.
require "composer" "brew reinstall composer" "brew" # Composer, @see https://composer.org
require "exa" "brew reinstall exa" "brew" # Exa makes ls even more awesome.
require "ffmpeg" "brew reinstall ffmpeg" "brew"
require "fzf" "brew reinstall fzf" "brew"
require "ghq" "brew reinstall ghq" "brew" # required by git get alias.
require "git" "brew reinstall git" "brew"
require "highlight" "brew reinstall highlight" "brew" # Highlighting cat
require "http" "brew install httpie" "brew" # Better than curl, replaces curl.
require "m" "brew install m-cli" "brew" # Love m-cli!
require "mycli" "brew reinstall mycli" "brew" # Better than mysql
require "n" "brew reinstall n" "brew" # n auto, n lts, etc
require "npm" "brew reinstall node" "brew" # Also installs node.
require "python" "brew reinstall python" "brew" # Installs pip3 and easy_install
require "ruby" "brew reinstall ruby" "brew" # Installs gems
require "svn" "brew reinstall subversion" "brew"
require "terminal-notifier" "brew reinstall terminal-notifier" "brew" # Terminal notifications
require "ttab" "npm install ttab -g" "npm" # Used to open new windows in iTerm, etc.
require "vcsh" "brew reinstall vcsh" "brew"
require "watch" "brew reinstall watch" "brew"
require "watchexec" "brew reinstall watchexec" "brew"
require "wget" "brew reinstall wget" "brew"
require "wp" "brew reinstall wp-cli" "brew"
fi