diff --git a/dot_gitconfig b/dot_gitconfig new file mode 100644 --- /dev/null +++ b/dot_gitconfig @@ -0,0 +1,12 @@ +# This is Git's per-user configuration file. +[user] +name = Till Klampaeckel +email = till@php.net +[init] + defaultBranch = main + +# allow private dep +[url "ssh://git@github.com/"] + insteadOf = https://github.com/ +[log] + abbrevcommit = yes diff --git a/dot_zshrc b/dot_zshrc new file mode 100644 --- /dev/null +++ b/dot_zshrc @@ -0,0 +1,24 @@ +# --- Enable profiling +# zmodload zsh/zprof + +# --- Environment Variables & PATH --- +export NVM_DIR="$HOME/.nvm" +export PATH="$PATH:$HOME/go/bin" + +# --- NVM --- +[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" +[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" + +# --- Prompt (Pure) --- +fpath+=("$(brew --prefix)/share/zsh/site-functions") +autoload -Uz promptinit +promptinit +prompt pure + +# --- Completions --- +fpath+=($HOME/.docker/completions) +autoload -Uz compinit +compinit + +# --- Show profiling +# zprof \ No newline at end of file