mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00
have better support for zsh on NFS wrt Macs
This commit is contained in:
parent
4966613ae1
commit
647826c711
2 changed files with 11 additions and 2 deletions
|
@ -26,7 +26,7 @@ zstyle -e ':completion:*' users "reply=( root '${USERNAME}' )"
|
||||||
|
|
||||||
# caching good
|
# caching good
|
||||||
zstyle ':completion:*' use-cache on
|
zstyle ':completion:*' use-cache on
|
||||||
zstyle ':completion:*' cache-path "${HOME}/.zsh/.zcompcache-${HOST}"
|
zstyle ':completion:*' cache-path "${HOME}/.zsh/.zcompcache-${LHOSTNAME}"
|
||||||
|
|
||||||
# descriptions
|
# descriptions
|
||||||
zstyle ':completion:*:messages' format $'%{\e[01;35m%} -- %d -- %{\e[00;00m%}'
|
zstyle ':completion:*:messages' format $'%{\e[01;35m%} -- %d -- %{\e[00;00m%}'
|
||||||
|
|
11
zshrc
11
zshrc
|
@ -3,7 +3,16 @@
|
||||||
# Trivial modifications: David Majnemer
|
# Trivial modifications: David Majnemer
|
||||||
# vim:set nowrap:
|
# vim:set nowrap:
|
||||||
|
|
||||||
autoload compinit; compinit -d "${HOME}/.zsh/.zcompdump-${HOST}"
|
case `uname -s` in
|
||||||
|
Darwin)
|
||||||
|
export LHOSTNAME=`scutil --get LocalHostName`
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
export LHOSTNAME=${HOST}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
autoload compinit; compinit -d "${HOME}/.zsh/.zcompdump-${LHOSTNAME}"
|
||||||
|
|
||||||
autoload age
|
autoload age
|
||||||
autoload zmv
|
autoload zmv
|
||||||
|
|
Loading…
Add table
Reference in a new issue