diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2026-05-13 19:32:22 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2026-05-13 19:32:22 -0400 |
| commit | 2f3f91682f7b4a33f1791781bfa8eca4f7c9527a (patch) | |
| tree | eaf91e90301d87363bcb22dcd5c2253e0b0bad6d /archive/.zshrc | |
| parent | be8c956b0e819f2db0c6ae3598b6590b62982a83 (diff) | |
new system on gentoo
Diffstat (limited to 'archive/.zshrc')
| -rw-r--r-- | archive/.zshrc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/archive/.zshrc b/archive/.zshrc new file mode 100644 index 0000000..c631096 --- /dev/null +++ b/archive/.zshrc @@ -0,0 +1,29 @@ +#!/bin/zsh + +# Completion +autoload -U compinit +compinit + +# History +export HISTSIZE=2000 +export HISTFILE="$HOME/.history" +export SAVEHIST=$HISTSIZE +setopt hist_ignore_space + +# Misc options +setopt autocd +setopt extendedglob +unsetopt BEEP + +# Aliases +alias ls='ls --color=auto' +alias grep='grep --color=auto' + +stty -ixon + +# Prompt +set_prompt() { + # PROMPT="%B%F{174}%n%f%b%F{15}@%f%F{81}%m %F{47}%~ %F{105}$(git-ps1)%F{15}$ " + PROMPT="%B%F{153}%n %F{47}%~ %F{105}$(git-ps1)%F{15}$ " +} +precmd_functions+=(set_prompt) |
