add .gitconfig & initial zsh setup

This commit is contained in:
Laurent Le Houerou 2024-05-22 11:40:15 +04:00
commit 0111b990d0
2 changed files with 14 additions and 0 deletions

6
git/.gitconfig Normal file
View File

@ -0,0 +1,6 @@
[user]
name = Laurent Le Houerou
email = laurent@lehouerou.net
[credential]
helper = cache --timeout=3600

8
zsh/.zshrc Normal file
View File

@ -0,0 +1,8 @@
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
if [ ! -d "$ZINIT_HOME" ]; then
mkdir -p "$(dirname $ZINIT_HOME)"
git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
fi
source "${ZINIT_HOME}/zinit.zsh"