fix zshrc a little
This commit is contained in:
parent
549f15f7d8
commit
98f46a60fd
1 changed files with 2 additions and 3 deletions
5
.zshrc
5
.zshrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue