add ~/.local/bin to PATH, autostart only firefox, change prompt colors
This commit is contained in:
parent
ed63dac495
commit
5536588192
@ -19,17 +19,11 @@ if [ -n "$BASH_VERSION" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$HOME/.cargo/bin" ] ; then
|
for dir in ~/.cargo/bin ~/go/bin ~/.local/bin ~/bin; do
|
||||||
PATH="$HOME/.cargo/bin:$PATH"
|
if [ -d "$dir" ]; then
|
||||||
fi
|
PATH="$dir:$PATH"
|
||||||
|
fi
|
||||||
if [ -d "$HOME/go/bin" ] ; then
|
done
|
||||||
PATH="$HOME/go/bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "$HOME/bin" ] ; then
|
|
||||||
PATH="$HOME/bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
|
@ -18,9 +18,9 @@ setopt share_history
|
|||||||
autoload -Uz vcs_info
|
autoload -Uz vcs_info
|
||||||
precmd () { vcs_info }
|
precmd () { vcs_info }
|
||||||
setopt prompt_subst
|
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
|
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)'
|
RPROMPT='%(?..%B%F{red}%?%f%b)'
|
||||||
|
|
||||||
# Completion.
|
# Completion.
|
||||||
|
@ -22,8 +22,6 @@ bar_format = +< +N:+I +S +< %a %R +< +W
|
|||||||
|
|
||||||
# Launch at start
|
# Launch at start
|
||||||
|
|
||||||
autorun = ws[1]:emacsclient -n -c
|
|
||||||
autorun = ws[2]:st
|
|
||||||
autorun = ws[9]:firefox
|
autorun = ws[9]:firefox
|
||||||
|
|
||||||
# Programs
|
# Programs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user