From 8916c3c1df62ed56e0e2253462acdf4c410a2633 Mon Sep 17 00:00:00 2001 From: Sophie Dey Date: Sat, 4 Jul 2026 12:10:07 +1000 Subject: chore: inital commit --- .zshrc | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .zshrc (limited to '.zshrc') diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..5c5c555 --- /dev/null +++ b/.zshrc @@ -0,0 +1,29 @@ +# Aliases +alias nano='micro' +alias ls='ls -Ga ' + +eval "$(/opt/homebrew/bin/brew shellenv)" +export COWPATH="$HOME/.config/cows" + +# Clippy command handler +command_not_found_handler() { + echo "'$1' does not exist." | cowsay -f clippy >&2 + return 127 +} + +# Prompt +autoload -Uz vcs_info +zstyle ':vcs_info:*' enable git +zstyle ':vcs_info:git:*' check-for-changes true +zstyle ':vcs_info:git:*' stagedstr '*' +zstyle ':vcs_info:git:*' unstagedstr '*' +zstyle ':vcs_info:git:*' formats ' %F{yellow}%b%u%c%f' +zstyle ':vcs_info:git:*' actionformats ' %F{yellow}%b|%a%u%c%f' +precmd() { vcs_info } +setopt PROMPT_SUBST +PROMPT='%B%F{cyan}%2~%f%b${vcs_info_msg_0_} %B%F{red}%%%f%b ' + +# Startup +fastfetch +echo "" +#fortune | cowsay \ No newline at end of file -- cgit v1.3.1