Skip to content
Open
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
2 changes: 1 addition & 1 deletion LICENSE-MIT.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016 Pedro Machado Santa <pedro.santa@gmail.com>
Copyright (c) 2021 Pedro Machado Santa <pedro.santa@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ⚙ pedrosanta / dotfiles
My collection of configuration and dotfiles, mostly set to work with **macOS**, **bash** shell and native **Terminal.app**, so if your preferences differ YMMV.
# ⚙ pedrosanta / dotfiles
My collection of configuration and dotfiles, mostly set to work with **macOS**, **zsh** shell and native **Terminal.app**, so if your preferences differ YMMV.

It makes use of [GNU Stow](https://www.gnu.org/software/stow/), a very simple and interesting symlink tool [particularly useful to help manage dotfiles repositories](http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html).

Expand Down Expand Up @@ -38,6 +38,7 @@ Here are some more resources on dotfiles I think may be worth looking to:
- [mathiasbynens/dotfiles](https://github.com/mathiasbynens/dotfiles), dotfiles repository and sensible hacker defaults for macOS;
- [webpro/awesome-dotfiles](https://github.com/webpro/awesome-dotfiles), a curated list of dotfiles resources inspired by the awesome list;
- And of course, [the huge list of dotfiles repositories on GitHub](https://github.com/search?q=dotfiles&s=stars&type=Repositories) to draw more ideas and inspiration;
- [Compreensive guide on zsh configuration](https://thevaluable.dev/zsh-install-configure-mouseless/);

## License

Expand Down
61 changes: 30 additions & 31 deletions brew.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/zsh

# Make sure we're using the latest Homebrew.
brew update
Expand All @@ -7,42 +7,41 @@ brew update
brew upgrade

# Install packages
brew install git # System git it's ok, but we install this to get and load the git bash auto complete script
brew install bash-completion
brew install wget
brew install zsh-completions
brew install stow

# Install completions.
brew install docker-completion
brew install docker-compose-completion
#brew install docker-completion
#brew install docker-compose-completion

# Install Homebrew legacy cask versions tap. See https://github.com/Homebrew/homebrew-cask-versions
# Needed for 1password6 cask.
brew tap homebrew/cask-versions

# Install binary Caskroom 'casks'
# Install casks
## System Essentials
brew cask install itsycal
brew cask install skyfonts
brew cask install java # Meh.
brew install itsycal
## Other
brew cask install dropbox
brew cask install 1password6
brew cask install google-chrome
brew cask install spotify
brew cask install spotify-notifications
brew cask install sublime-text
brew cask install docker
brew cask install sourcetree
brew cask install kitematic
brew cask install steam
brew cast install whatsapp
brew cask install skype # Meh.
brew cask install typora
brew cask install duet
brew cask install cyberduck
brew cask install transmission
brew cask install vlc
brew cask install keka
brew install 1password
brew install google-chrome
brew install sublime-text
brew install sublime-merge
brew install sourcetree
brew install typora
brew install --cask docker
brew install slack
brew install signal
brew install whatsapp
brew install skype
brew install google-drive
brew install dropbox
brew install microsoft-office
brew install adobe-creative-cloud
brew install spotify
brew install surfshark
brew install cloudflare-warp
brew install keka
brew install cyberduck
brew install pingplotter
brew install vlc
brew install --cask transmission

# Remove outdated versions from the cellar
brew cleanup
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/zsh

stow --ignore ".DS_Store" bash
stow --ignore ".DS_Store" zsh
stow --ignore ".DS_Store" sublime
11 changes: 11 additions & 0 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
if type brew &>/dev/null
then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"

autoload -Uz compinit
compinit
fi

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion