Skip to content

Commit

Permalink
Merge pull request #6 from chris-s-friedman/brewfile
Browse files Browse the repository at this point in the history
✨ add a Brewfile
  • Loading branch information
chris-s-friedman committed Aug 30, 2021
2 parents 0644018 + 8cd6da7 commit 84d66d0
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 10 deletions.
45 changes: 45 additions & 0 deletions dotfiles/Brewfile
@@ -0,0 +1,45 @@
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/core"
brew "bat"
brew "bfg"
brew "mono"
brew "ckan"
brew "cmake"
brew "docker", link: false
brew "fzf"
brew "node"
brew "gatsby-cli", link: false
brew "gh"
brew "git"
brew "gitmoji"
brew "go"
brew "htop"
brew "macvim"
brew "mas"
brew "ninvaders"
brew "nmap"
brew "prettyping"
brew "python@3.8"
brew "tldr"
brew "zork"
cask "atom"
cask "beersmith"
cask "docker"
cask "font-hack-nerd-font"
cask "google-chrome"
cask "raspberry-pi-imager"
cask "skype"
cask "slack"
cask "steam"
cask "visual-studio-code"
cask "vlc"
cask "zoom"
mas "1Password 7", id: 1333542190
mas "GarageBand", id: 682658836
mas "iMovie", id: 408981434
mas "Keynote", id: 409183694
mas "Numbers", id: 409203825
mas "Pages", id: 409201541
mas "Spark", id: 1176895641
2 changes: 1 addition & 1 deletion dotfiles/env.sh
Expand Up @@ -11,7 +11,7 @@ alias envconfig="vim ~/env.sh"
alias vimconfig="vim $HOME/.vimrc"
alias add-key="ssh-add ~/.ssh/id_rsa"
alias zshrc="source ~/.zshrc"
alias ping="~/bin/prettyping --nolegend" # https://github.com/denilsonsa/prettyping
alias ping="prettyping --nolegend" # https://github.com/denilsonsa/prettyping
alias vstart="source ./venv/bin/activate && python -V"
alias cpwd="echo $(pwd) | pbcopy"
alias fe='fzf' # https://github.com/junegunn/fzf
Expand Down
20 changes: 11 additions & 9 deletions system/setup.sh
@@ -1,4 +1,7 @@
#!/usr/local/bin/zsh
#!/usr/bin/env

set -euo pipefail

cp ~/dotfiles/dotfiles/.zshrc ~/.zshrc
cp ~/dotfiles/dotfiles/.p10k.zsh ~/.p10k.zsh
cp ~/dotfiles/dotfiles/env.sh ~/env.sh
Expand All @@ -15,21 +18,16 @@ if [ ! -d ~/bin/ ]; then
mkdir ~/bin/
fi

# Install utilities
# Install Prettyping
curl https://raw.githubusercontent.com/denilsonsa/prettyping/master/prettyping > $HOME/bin/prettyping
sudo chmod +x $HOME/bin/prettyping


# Install things in os specific manner:
if [ "$(uname)" == "Darwin" ]
then
# Do something under Mac OS X platform
# Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# install utilities
brew install gitmoji
brew install fzf
brew install bat
cp ~/dotfiles/dotfiles/Brewfile ~/Brewfile
brew bundle
echo 'alias cat="bat"' > ~/env.sh
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]
then
Expand All @@ -41,4 +39,8 @@ then
sudo apt-get install fzf
sudo apt install bat
echo 'alias cat="batcat"' > ~/env.sh
# Install Prettyping
curl https://raw.githubusercontent.com/denilsonsa/prettyping/master/prettyping > $HOME/bin/prettyping
sudo chmod +x $HOME/bin/prettyping
echo 'alias ping="$HOME/bin/prettyping --noloegend"' > ~/env.sh
fi

0 comments on commit 84d66d0

Please sign in to comment.