29 lines
899 B
Bash
29 lines
899 B
Bash
source ~/.dotfiles/shell/alias.sh
|
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
if type brew &>/dev/null
|
|
then
|
|
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
fi
|
|
|
|
setopt appendhistory # Append history to the history file (no overwriting)
|
|
setopt incappendhistory # Immediately append to the history file, not just when a term is killed
|
|
setopt histignoredups
|
|
|
|
source ~/.dotfiles/git/git-prompt.sh
|
|
setopt PROMPT_SUBST ; PS1='%n@%m %c$(__git_ps1 " [%s]")\$ '
|
|
|
|
if [ -f ~/.zshrc_local ]
|
|
then
|
|
source ~/.zshrc_local
|
|
fi
|
|
|
|
# The next line updates PATH for CLI.
|
|
if [ -f '/Users/dmchumak/yandex-cloud/path.bash.inc' ]; then source '/Users/dmchumak/yandex-cloud/path.bash.inc'; fi
|
|
|
|
# The next line enables shell command completion for yc.
|
|
if [ -f '/Users/dmchumak/yandex-cloud/completion.zsh.inc' ]; then source '/Users/dmchumak/yandex-cloud/completion.zsh.inc'; fi
|
|
|