remove zprofile, enable syntax highlighting
This commit is contained in:
parent
922813b764
commit
d108a398d4
2 changed files with 9 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
||||||
export EDITOR=${EDITOR:-/bin/nano}
|
|
||||||
export PAGER=${PAGER:-/usr/bin/less}
|
|
||||||
umask 022
|
|
||||||
export PATH="/home/${USER}/Apps/bin:/usr/local/bin:/usr/bin:/bin:${PATH}"
|
|
||||||
|
|
||||||
# these do more harm than good
|
|
||||||
unset TERMCAP
|
|
||||||
unset MANPATH
|
|
||||||
|
|
||||||
# Load profiles from /etc/profile.d
|
|
||||||
if test -d /etc/profile.d/; then
|
|
||||||
for profile in /etc/profile.d/*.sh; do
|
|
||||||
test -r "$profile" && . "$profile"
|
|
||||||
done
|
|
||||||
unset profile
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Load ls_colors
|
|
||||||
eval "$(dircolors -b)"
|
|
|
@ -265,3 +265,12 @@ bindkey "\eOH" beginning-of-line
|
||||||
bindkey "\eOF" end-of-line
|
bindkey "\eOF" end-of-line
|
||||||
bindkey "\eOd" backward-word
|
bindkey "\eOd" backward-word
|
||||||
bindkey "\eOc" forward-word
|
bindkey "\eOc" forward-word
|
||||||
|
|
||||||
|
# load syntax highlighting if available; Gentoo and Arch paths are tried
|
||||||
|
for HPATH in "/usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh" "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||||
|
do
|
||||||
|
if [[ -e "${HPATH}" ]]; then
|
||||||
|
source "${HPATH}"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue