diff options
| author | Pedro Pereira <pedro.hr.pereira@proton.me> | 2026-10-16 15:19:13 -0300 |
|---|---|---|
| committer | Pedro Pereira <pedro.hr.pereira@proton.me> | 2026-10-16 15:19:13 -0300 |
| commit | 1eb69e9a795cc19450178c07d8d382622bc7ad70 (patch) | |
| tree | b6bc60605044fe929986f31b3b6bf4fee9b56e14 /.config/zsh/.zshrc | |
first commit
Diffstat (limited to '.config/zsh/.zshrc')
| -rw-r--r-- | .config/zsh/.zshrc | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc new file mode 100644 index 0000000..3c9e039 --- /dev/null +++ b/.config/zsh/.zshrc @@ -0,0 +1,38 @@ +export PS1="%{$(tput setaf 165)%}%n%{$(tput setaf 171)%}@%{$(tput setaf 213)%}%m %{$(tput setaf 219)%}%1~ %{$(tput sgr0)%}$ " + +fastfetch --kitty /home/petrus/media/img/robin-cute-resize.jpg + +# exports +source $ZDOTDIR/zsh_exports +export ZSH="$ZDOTDIR/oh-my-zsh" +export ZSH_CUSTOM="$ZSH/custom" + +ZSH_THEME="" + +plugins=( + git +) + +source $ZSH/oh-my-zsh.sh + +# History +HISTSIZE=10000000 +SAVEHIST=10000000 +HISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/zsh/history" +setopt inc_append_history + +# Aliases +source $ZDOTDIR/zsh_aliases + +# Cache +_comp_optio_comp_files=($XDG_CACHE_HOME/zsh/zcompcache(Nm-20)) +if (( $#_comp_files )); then + compinit -i -C -d "$XDG_CACHE_HOME/zsh/zcompcache" +else + compinit -i -d "$XDG_CACHE_HOME/zsh/zcompcache" +fi + +# zsh plugins +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh +source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh +source $ZDOTDIR/plugins/catppuccin_mocha-zsh-syntax-highlighting.zsh |
