...
 
Commits (7)
......@@ -29,6 +29,8 @@ brew install \
pinentry-mac \
pyenv
brew tap homebrew/cask-fonts
brew cask install \
amethyst \
discord \
......
......@@ -42,6 +42,10 @@
- zsh -c '{type -p vim && vim +PluginInstall +qall} || true'
# git
- shell:
- mkdir -p ~/.gnupg
- chmod 0700 ~/.gnupg
- link:
~/.gitconfig: gitconfig
~/.gitignore.global: gitignore.global
......
......@@ -6,7 +6,6 @@ alias 8="ping 8.8.8.8"
alias g="git"
alias k="kubectl"
alias dc="docker-compose"
alias fd="fdfind"
alias l="ls -AltrhG"
alias lo="m lock"
......
......@@ -2,7 +2,8 @@ export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export GOPATH="$HOME/go"
export PATH="./node_modules/.bin:$PATH:$HOME/bin:$HOME/.npm-packages/bin:$GOPATH/bin:/usr/local/m-cli:/usr/local/sbin:/usr/local/share/pypy3"
export PATH="./node_modules/.bin:$PATH:$HOME/bin:$HOME/.local/bin:$HOME/.npm-packages/bin:$GOPATH/bin:/usr/local/sbin:$PATH"
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"
if exists vim; then
export EDITOR=$(command -v vim)
......
......@@ -24,6 +24,13 @@ fixup() {
echo "Usage: fixup <commit-ish>"
return 2
fi
git commit --no-verify --fixup=$1
git rebase --interactive "$1^"
git commit --fixup=$1
git rebase --interactive --autosquash "$1^"
}
up() {
which pipx && pipx upgrade-all
which brew && brew upgrade
which softwareupdate && softwareupdate -d
which npm && npx npm-check -g -u
}
......@@ -27,6 +27,10 @@ if exists pyenv; then
eval "$(pyenv init -)"
fi
if exists rbenv; then
eval "$(rbenv init -)"
fi
if exists direnv; then
eval "$(direnv hook zsh)"
fi
......