Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ add a Brewfile #6

Merged
merged 4 commits into from
Aug 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions dotfiles/Brewfile
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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