dotfiles/.zshrc

21 lines
736 B
Bash
Raw Normal View History

2025-06-14 19:50:32 +03:30
#!/bin/zsh
#history settings
2025-05-29 22:33:42 +02:00
HISTFILE=$HOME/.cache/zsh/history
SAVEHIST=100000000
HISTSIZE=$SAVEHIST
setopt appendhistory
2025-06-14 19:50:32 +03:30
#completion
2025-05-29 22:33:42 +02:00
autoload -U compinit
zstyle ':completion:*' menu select
zmodload zsh/complist
compinit
2025-06-04 04:38:36 +03:30
comp_options+=(globdots)
2025-06-10 14:26:39 +03:30
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
2025-06-28 08:39:50 +03:30
source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh && fpath=(/usr/share/zsh/site-functions $fpath) && source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
2025-06-14 19:50:32 +03:30
#colors & prompt
2025-06-04 04:38:36 +03:30
autoload -U colors && colors && setopt prompt_subst
2025-06-04 07:57:39 +03:30
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=5"
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=12"
2025-07-10 08:58:07 +03:30
PROMPT='%F{240}[%f%F{245}!%f%F{240}%n%f%F{240}@%f%F{240}%m%f %F{245}%~%f%F{240}]%f%F{245}%% '
2025-07-03 16:49:14 +03:30
source ~/.zprofile