Skip to content

Instantly share code, notes, and snippets.

# .gitconfig
[includeIf "gitdir:~/codes/personal/"]
path = ~/.gitconfig-personal
[includeIf "gitdir:~/codes/work/"]
path = ~/.gitconfig-work
[include]
path = ~/.gitconfig-extra
# gitconfig-work
[user]
% less .zshenv
ZDOTDIR="$HOME/.dotfiles/zsh"
. "$ZDOTDIR/.zshenv"
% less .zshenv
export EDITOR=vim
export AWS_DEFAULT_REGION=ap-southeast-2
export GPG_TTY="$TTY"
.zshrc