Files
ansible-arch/dotfiles/zsh/.zshrc
Tuan-Dat Tran 222062c1a4 init
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2026-03-22 22:51:32 +01:00

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)