fix zshrc a little

This commit is contained in:
Piotr Domański 2024-07-15 20:59:07 +02:00
parent 549f15f7d8
commit 98f46a60fd

5
.zshrc
View file

@ -24,6 +24,8 @@ RPROMPT=\$vcs_info_msg_0_
NEWLINE=$'\n' NEWLINE=$'\n'
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[magenta]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%(6~|...%3~|%~)%{$fg[red]%}]%{$fg[magenta]%}%-50(l:$ :$NEWLINE -> )%{$reset_color%}%b" PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[magenta]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%(6~|...%3~|%~)%{$fg[red]%}]%{$fg[magenta]%}%-50(l:$ :$NEWLINE -> )%{$reset_color%}%b"
# exports - local bin, python, brew
export PATH="$HOME/.local/bin:$HOME/.bin:$HOME/.cargo/bin:${HOME}/go/bin/:/opt/homebrew/bin:$PATH:$PATH"
zstyle ':vcs_info:*' enable git hg svn zstyle ':vcs_info:*' enable git hg svn
zstyle ':vcs_info:*' check-for-changes true zstyle ':vcs_info:*' check-for-changes true
@ -208,9 +210,6 @@ source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null
bindkey '^ ' autosuggest-accept bindkey '^ ' autosuggest-accept
bindkey '^l' autosuggest-accept bindkey '^l' autosuggest-accept
# exports - local bin, python, brew
export PATH="$HOME/.local/bin:$HOME/.bin:$HOME/.cargo/bin:${HOME}/go/bin/:/opt/homebrew/bin:$PATH:$PATH"
# Load aliases and shortcuts if existent. # Load aliases and shortcuts if existent.
if [ -d "$HOME/.config/aliasrc" ]; then if [ -d "$HOME/.config/aliasrc" ]; then
for ALIASFILE in $HOME/.config/aliasrc/*; do for ALIASFILE in $HOME/.config/aliasrc/*; do