commit 0111b990d083e03b8244e503eb893a439e4b1cc8 Author: Laurent Le Houerou Date: Wed May 22 11:40:15 2024 +0400 add .gitconfig & initial zsh setup diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..915d9dc --- /dev/null +++ b/git/.gitconfig @@ -0,0 +1,6 @@ +[user] + name = Laurent Le Houerou + email = laurent@lehouerou.net +[credential] + helper = cache --timeout=3600 + diff --git a/zsh/.zshrc b/zsh/.zshrc new file mode 100644 index 0000000..d564d9c --- /dev/null +++ b/zsh/.zshrc @@ -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"