blob: 5c5c55527a3766d0d103a976f127f09676259003 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
|