export ZSH="\$HOME/.oh-my-zsh" ZSH_THEME="robbyrussell" plugins=(git zsh-autosuggestions zsh-syntax-highlighting) source \$ZSH/oh-my-zsh.sh # Where to save history and how much to keep HISTFILE=~/.zsh_history HISTSIZE=10000 # In-memory history SAVEHIST=10000 # Lines to save to file # Recommended options setopt APPEND_HISTORY # Don’t overwrite history file; append to it setopt SHARE_HISTORY # Share history across all sessions setopt HIST_IGNORE_DUPS # Don’t record duplicate commands setopt HIST_IGNORE_SPACE # Ignore commands starting with a space setopt HIST_VERIFY # Edit a command before running from history setopt INC_APPEND_HISTORY # Write history incrementally as commands are run PS1='%F{51}%n%F{255}@%F{227}%m %F{84}%~%f %F{15}$ ' fastfetch