diff options
| author | Eugene Triguba <eugene.triguba@paymentworks.com> | 2025-06-28 11:19:15 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugene.triguba@paymentworks.com> | 2025-06-28 11:19:15 -0400 |
| commit | 1bb191f3ab8460f87cc981c631439fcb5e39db49 (patch) | |
| tree | 17256981b1d33629bc566ece0ce1f3e16c8227d2 /zsh | |
| parent | tweak linters (diff) | |
| parent | update readme (diff) | |
| download | dotfiles-1bb191f3ab8460f87cc981c631439fcb5e39db49.zip | |
Merge remote-tracking branch 'upstream'
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/.zsh/prompt.sh | 11 | ||||
| -rwxr-xr-x | zsh/.zshrc | 27 |
2 files changed, 24 insertions, 14 deletions
diff --git a/zsh/.zsh/prompt.sh b/zsh/.zsh/prompt.sh new file mode 100644 index 0000000..ef015fd --- /dev/null +++ b/zsh/.zsh/prompt.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env zsh + +autoload -Uz vcs_info +zstyle ":vcs_info:*" enable git svn +zstyle ':vcs_info:git:*' formats '%F{green}(%b)%f ' +precmd() { + vcs_info +} +setopt prompt_subst +NEWLINE=$'\n' +PROMPT=' %2~ ${vcs_info_msg_0_}%# ' @@ -1,19 +1,18 @@ -autoload -Uz vcs_info -zstyle ":vcs_info:*" enable git svn -zstyle ':vcs_info:git:*' formats '%F{green}(%b)%f ' -precmd() { - vcs_info -} -setopt prompt_subst -NEWLINE=$'\n' -PROMPT=' %2~ ${vcs_info_msg_0_}%# ' +#!/usr/bin/env zsh + +source ~/.zsh/prompt.sh + +autoload -Uz compinit +compinit export HISTFILE=~/.zhistory export HISTSIZE=100000 export SAVEHIST=100000 export EDITOR="nvim" -export BROWSER= +export BROWSER="vivaldi" +export BAT_THEME="tokyonight_night" +export MANPAGER="less" export PAGER="less" export TERM="xterm-256color" @@ -32,6 +31,8 @@ export GOPATH="$SRC_DIR/go" export GOBIN="$SRC_DIR/go/bin" export PATH="$GOBIN:$PATH" +source "$HOME/.cargo/env" + export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" @@ -43,8 +44,8 @@ export NVM_DIR="$HOME/.nvm" export PNPM_HOME="/Users/eugene/Library/pnpm" case ":$PATH:" in - *":$PNPM_HOME:"*) ;; - *) export PATH="$PNPM_HOME:$PATH" ;; +*":$PNPM_HOME:"*) ;; +*) export PATH="$PNPM_HOME:$PATH" ;; esac eval "$(brew shellenv)" @@ -72,7 +73,5 @@ alias j="jobs -l" alias l="ls -alG" alias tf="terraform" -alias lg="lazygit" alias vi="nvim" alias vim="nvim" - |