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 .aliases
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ alias la="ls -laF ${colorflag}"
alias lsd="ls -lF ${colorflag} | grep --color=never '^d'"

# List all files using Exa
alias e="exa -ghla"
alias e="eza -ghla"

# Always use color output for `ls`
alias ls="command ls ${colorflag}"
Expand Down
3 changes: 2 additions & 1 deletion .bash_profile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Add `~/bin` to the `$PATH`
export PATH="$HOME/bin:$PATH";
export PATH="$HOME/bin:$HOME/.deno/bin:$PATH";
#export PATH="$HOME/bin:$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin";

# Load the shell dotfiles, and then some:
Expand Down Expand Up @@ -101,3 +101,4 @@ fi;
complete -W "NSGlobalDomain" defaults;

[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
. "$HOME/.cargo/env"
1 change: 1 addition & 0 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
if [ -r $(brew --prefix)/opt/mcfly/mcfly.bash ]; then
. $(brew --prefix)/opt/mcfly/mcfly.bash
fi
. "$HOME/.cargo/env"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git credential file
.gitconfig.local
.extra
.secret-cask.sh

# Folder view configuration files
.DS_Store
Expand Down
3 changes: 1 addition & 2 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ SAVEHIST=100000
# vim bindings
bindkey -v


fpath=( "$HOME/.zfunctions" $fpath )

# Guess what to install when running an unknown command.
Expand Down Expand Up @@ -181,4 +180,4 @@ source $ZSH/oh-my-zsh.sh
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

eval "$(atuin init zsh)"
13 changes: 5 additions & 8 deletions brew-cask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@

brew install homebrew/cask-cask

# work related
# brew install --cask slack
# brew install --cask virtualbox

# browsers
brew install --cask google-chrome
brew install --cask google-chrome-canary
Expand All @@ -19,25 +15,26 @@ brew install --cask firefox
brew install --cask rectangle
brew install --cask spotify
brew install --cask caffeine
brew install --cask simplenote
brew install --cask whatsapp
brew install --cask telegram
brew install --cask discord
brew install --cask mailspring
brew install --cask setapp
brew install --cask tableplus
brew install --cask kap
brew install --cask vlc
brew install --cask notion
brew install --cask google-drive
brew install --cask bluesnooze # disables bluetooth when sleeping

# dev
brew install --cask visual-studio-code
brew install --cask iterm2
brew install --build-from-source fnm
brew install --cask postman
brew install --cask sequel-ace
brew install --cask docker
# brew install --cask ngrok
# brew install --cask imagealpha
# brew install --cask imageoptim

# not on cask but much wanted
# not on cask
# pastebox
14 changes: 6 additions & 8 deletions brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ brew install bash

brew install bash-completion

# deprecated
# brew install homebrew/completions/brew-cask-completion

# Install `wget` with IRI support.
brew install wget

Expand All @@ -52,24 +49,25 @@ brew install z
# https://github.com/so-fancy/diff-so-fancy
brew install diff-so-fancy

# mysql autocomplete (https://github.com/dbcli/mycli)
brew install mycli

# Install other useful binaries
brew install fzf
brew install git
brew install imagemagick
brew install speedtest-cli
brew install tree
brew install ffmpeg
brew install mas
brew install exa # https://bsago.me/exa/
brew install eza # https://github.com/eza-community/eza
brew install ncdu # find where your diskspace went
brew install awscli
brew install bat
brew install jq
brew install terraform
brew install lsd # https://github.com/Peltoche/lsd
brew install fnm # node version manager
brew install atuin

brew install rust
brew install deno

brew install zsh

Expand Down
11 changes: 1 addition & 10 deletions setup-a-new-machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fi
##############################################################################################################

# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# install all the things
./brew.sh
Expand All @@ -54,12 +54,6 @@ fi
# autocompletion for git branch names https://git-scm.com/book/en/v1/Git-Basics-Tips-and-Tricks
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash

# github.com/rupa/z - oh how i love you
# git clone https://github.com/rupa/z.git ~/code/z
# chmod +x ~/code/z/z.sh
# consider reusing your current .z file if possible. it's painful to rebuild :)
# z is hooked up in .bash_profile

# for the c alias (syntax highlighted cat)
sudo easy_install Pygments

Expand All @@ -71,9 +65,6 @@ chsh -s $BASHPATH # will set for current user only.
echo $BASH_VERSION # should be 4.x not the old 3.2.X
# Later, confirm iterm settings aren't conflicting.

# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

# set up osx defaults
sh .macos

Expand Down