From 20df614d54ba0621a11107627caa25e4f77b6687 Mon Sep 17 00:00:00 2001 From: andwati Date: Sun, 26 Jul 2026 20:43:00 +0300 Subject: [PATCH] update configs --- README.md | 2 +- git/.gitconfig | 8 ++++++++ install.sh | 1 + zsh/.zprofile | 3 +++ zsh/.zshrc | 10 ++++++++++ 5 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 git/.gitconfig diff --git a/README.md b/README.md index e19b020..c356ac2 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Each top-level directory is a [GNU Stow](https://www.gnu.org/software/stow/) package mirroring `$HOME` (e.g. `zsh/.zshrc` -> `~/.zshrc`). `install.sh` clones oh-my-zsh plus the theme/plugins `.zshrc` expects (powerlevel10k, zsh-autosuggestions, zsh-syntax-highlighting, zsh-history-substring-search, -zsh-completions, you-should-use), then runs `stow zsh gnupg` to link +zsh-completions, you-should-use), then stows the `zsh`, `gnupg`, and `git` packages to link everything in, backing up any conflicting real files it finds first (e.g. oh-my-zsh's own freshly-installed `.zshrc`). diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..5de7f61 --- /dev/null +++ b/git/.gitconfig @@ -0,0 +1,8 @@ +[user] + name = andwati + email = andwatiian@gmail.com + signingkey = 1F20FED0AA05B0DA +[commit] + gpgsign = true +[tag] + gpgSign = true diff --git a/install.sh b/install.sh index e8b9627..a875fa8 100755 --- a/install.sh +++ b/install.sh @@ -55,6 +55,7 @@ mkdir -p "$HOME/.gnupg" && chmod 700 "$HOME/.gnupg" stow_package zsh stow_package gnupg +stow_package git gpgconf --kill gpg-agent 2>/dev/null || true cat <<'EOF' diff --git a/zsh/.zprofile b/zsh/.zprofile index f532cb6..6cb7170 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,3 +1,6 @@ export PYENV_ROOT="$HOME/.pyenv" [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)" + +# Created by `pipx` on 2026-07-26 14:32:10 +export PATH="$PATH:/home/ian/.local/bin" diff --git a/zsh/.zshrc b/zsh/.zshrc index 105d559..d90a0e7 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -143,6 +143,13 @@ export GPG_TTY=$(tty) # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" +# eza: colourful, icon-rich listings that stay clean when piped. +alias ls='eza --color=auto --icons=auto --hyperlink=auto --group-directories-first' +alias l='eza -lah --git --color-scale=all --color=auto --icons=auto --hyperlink=auto --group-directories-first' +alias ll='eza -lh --git --color-scale=all --color=auto --icons=auto --hyperlink=auto --group-directories-first' +alias la='eza -lAh --git --color-scale=all --color=auto --icons=auto --hyperlink=auto --group-directories-first' +alias lt='eza --tree --level=2 --color=auto --icons=auto --hyperlink=auto --group-directories-first' + # Lazy-load nvm: sourcing nvm.sh eagerly costs 300-700ms on every shell # startup even when node isn't used that session. These stubs load the # real nvm on first actual use, then get out of the way. @@ -188,3 +195,6 @@ case ":$PATH:" in esac # pnpm end [ -s "$HOME/.deno/env" ] && . "$HOME/.deno/env" + +# Created by `pipx` on 2026-07-26 14:32:10 +export PATH="$PATH:/home/ian/.local/bin"