custom agnoster

This commit is contained in:
Harivansh Rathi 2026-03-13 13:42:28 -04:00
parent 5a62439f79
commit 2ff3df0247
4 changed files with 193 additions and 1 deletions

View file

@ -23,8 +23,10 @@
set -g mouse on
# Enable extended keys so Shift+Enter and other modified keys work
set -g default-terminal "tmux-256color"
set -s extended-keys on
set -as terminal-features 'xterm*:extkeys'
set -as terminal-features 'xterm-ghostty:RGB'
# Use Vim-style pane navigation (prefix + h/j/k/l)
bind h select-pane -L

View file

@ -4,6 +4,9 @@
pkgs,
...
}: {
home.file.".oh-my-zsh/custom/themes/agnoster.zsh-theme".source =
../config/agnoster.zsh-theme;
home.activation.removeLegacyZshLinks = lib.hm.dag.entryBefore ["checkLinkTargets"] ''
for path in "$HOME/.zshenv" "$HOME/.zshrc"; do
if [ -L "$path" ]; then
@ -53,6 +56,7 @@
envExtra = ''
. "$HOME/.cargo/env"
export GHOSTTY_RESOURCES_DIR="${pkgs.ghostty-bin}/Applications/Ghostty.app/Contents/Resources/ghostty"
'';
initContent = lib.mkMerge [
@ -63,6 +67,7 @@
(lib.mkOrder 800 ''
export ZSH="${pkgs.oh-my-zsh}/share/oh-my-zsh"
export ZSH_CUSTOM="$HOME/.oh-my-zsh/custom"
export ZSH_CACHE_DIR="${config.xdg.cacheHome}/oh-my-zsh"
ZSH_THEME="agnoster"
plugins=(git)