26 lines
589 B
Bash
26 lines
589 B
Bash
# ~/.zshrc - Zsh configuration
|
|
|
|
# Source .zprofile for login shell environment
|
|
[[ -f ~/.zprofile ]] && emulate sh -c 'source ~/.zprofile'
|
|
|
|
# Enable powerlevel10k instant prompt
|
|
#if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
|
# source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
#fi
|
|
|
|
# Basic options
|
|
setopt HIST_IGNORE_DUPS
|
|
setopt HIST_IGNORE_SPACE
|
|
setopt AUTO_CD
|
|
setopt CORRECT
|
|
|
|
# Key bindings
|
|
bindkey -v
|
|
|
|
# Completion
|
|
autoload -Uz compinit
|
|
compinit
|
|
|
|
# Plugins (loaded via oh-my-zsh)
|
|
# plugins=(git docker python node npm)
|