File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 124124 eval "$(pyenv init -)"
125125 fi
126126
127+ # --- migrated from /etc/zshrc.local ---
128+ # Enable UTF-8 combining characters support when appropriate
129+ if [[ ! -x /usr/bin/locale ]] || [[ "$(locale LC_CTYPE)" == "UTF-8" ]]; then
130+ setopt COMBINING_CHARS
131+ fi
132+
133+ # Disable the log builtin to avoid conflict with /usr/bin/log
134+ disable log || true
135+
136+ # History behaviour
137+ export HISTFILE="${ config . home . homeDirectory } /.zsh_history"
138+ SAVEHIST=1000
139+ HISTSIZE=2000
140+ setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK
141+
142+ # Beep on error
143+ setopt BEEP || true
144+
145+ # Default key bindings and prompt
146+ bindkey -e || true
147+ PS1="%n@%m %1~ %# "
148+
149+ # Terminal-specific system support (if present)
150+ [ -r "/etc/zshrc_$TERM_PROGRAM" ] && . "/etc/zshrc_$TERM_PROGRAM"
151+ # --- end migration ---
152+
127153 # Ensure pipx is available and use it to install `uv` (astral-sh/uv).
128154 # This keeps the uv CLI isolated from global pip and makes it available
129155 # for the active Python (pyenv shims / Homebrew python).
You can’t perform that action at this time.
0 commit comments