add ~/.local/bin to PATH, autostart only firefox, change prompt colors

This commit is contained in:
Łukasz Pankowski 2022-03-07 20:47:14 +01:00
parent ed63dac495
commit 5536588192
3 changed files with 7 additions and 15 deletions

View File

@ -19,17 +19,11 @@ if [ -n "$BASH_VERSION" ]; then
fi
fi
if [ -d "$HOME/.cargo/bin" ] ; then
PATH="$HOME/.cargo/bin:$PATH"
fi
if [ -d "$HOME/go/bin" ] ; then
PATH="$HOME/go/bin:$PATH"
fi
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
for dir in ~/.cargo/bin ~/go/bin ~/.local/bin ~/bin; do
if [ -d "$dir" ]; then
PATH="$dir:$PATH"
fi
done
export PATH

View File

@ -18,9 +18,9 @@ setopt share_history
autoload -Uz vcs_info
precmd () { vcs_info }
setopt prompt_subst
zstyle ':vcs_info:git:*' formats '%F{yellow}(%b)%r%f '
zstyle ':vcs_info:git:*' formats '%F{magenta}(%b)%r%f '
zstyle ':vcs_info:*' enable git
PS1='%B%F{green}%n@%m%f %F{blue}%~%f%b ${vcs_info_msg_0_}%B%#%f%b '
PS1='%B%F{blue}%n@%m%f %F{green}%~%f%b ${vcs_info_msg_0_}%B%#%f%b '
RPROMPT='%(?..%B%F{red}%?%f%b)'
# Completion.

View File

@ -22,8 +22,6 @@ bar_format = +< +N:+I +S +< %a %R +< +W
# Launch at start
autorun = ws[1]:emacsclient -n -c
autorun = ws[2]:st
autorun = ws[9]:firefox
# Programs