Skip to content

Commit

Permalink
Adding MacOS software installation through brew
Browse files Browse the repository at this point in the history
  • Loading branch information
asajaroff committed May 12, 2023
1 parent b8f1997 commit d5cf685
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 11 deletions.
26 changes: 24 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,28 @@ endif

editor: editor-requisites neovim neovim-plugins emacs-dep emacs doom-emacs ## Configure text editor

# ___ ___ _____ _______ __
# | \/ | | _ / ___\ \ / /
# | . . | __ _ ___| | | \ `--. \ V /
# | |\/| |/ _` |/ __| | | |`--. \/ \
# | | | | (_| | (__\ \_/ /\__/ / /^\ \
# \_| |_/\__,_|\___|\___/\____/\/ \/
macos-install:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"


macos-brew-dependencies: ## MacOS 13.X+ - Install basic MacOS utils
brew install coreutils neovim
brew install gcc
brew install --cask rectangle
brew install --cask netnewswire
brew install --cask marta
brew install --cask vscodium
brew install --cask bitwarden
brew install --cask iterm2
# brew install --cask alfred


# ___ _ __ ___ __ _ ___ ___
# / _ \ '_ ` _ \ / _` |/ __/ __|
#| __/ | | | | | (_| | (__\__ \
Expand Down Expand Up @@ -139,7 +161,7 @@ asdf-setup-kubectl:
asdf install kubectl latest:1.19.
asdf install kubectl latest:1.18.
asdf global kubectl latest
=======

clean: ## Render a destructive statement
@echo "rm -rf ${DOTFILES_DIR}"

Expand All @@ -149,4 +171,4 @@ clean: ## Render a destructive statement

# nvm
nodejs:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
7 changes: 1 addition & 6 deletions config/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,4 @@ if [[ -f ${ALIASES_DIR}/functions/jump.sh ]] ; then
alias j=jump
else
echo "[ERR] jump function not found - Check private repo"
fi

# Kubernetes
alias kubectl="$(ls -1 /usr/local/bin/kubectl* | tail -n 1)"
alias helm="$(ls -1 /usr/local/bin/helm* | tail -n 1)"
alias argocd="$(ls -1 /usr/local/bin/argocd* | tail -n 1)"
fi
4 changes: 1 addition & 3 deletions config/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ plugins=(git)

# User configuration

source ~/.dotfiles/aliases
source ~/.dotfiles/config/aliases

# Functions
source ~/.dotfiles/functions/movement.sh
source ~/.dotfiles/functions/kubernetes.sh
source ~/.dotfiles/functions/terraform.sh

Expand Down Expand Up @@ -86,4 +85,3 @@ fi
if [[ -f "ASDF_BIN" ]]; then
source /usr/local/share/zsh/site-functions/_kubectl
fi

0 comments on commit d5cf685

Please sign in to comment.