File tree 3 files changed +4
-13
lines changed
3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ zstyle -e ':completion:*' users "reply=( root '${USERNAME}' )"
26
26
27
27
# caching good
28
28
zstyle ':completion:*' use-cache on
29
- zstyle ':completion:*' cache-path "${HOME}/.zsh/.zcompcache-${LHOSTNAME }"
29
+ zstyle ':completion:*' cache-path "${HOME}/.zsh/.zcompcache-${HOST }"
30
30
31
31
# descriptions
32
32
zstyle ':completion:*:messages' format $'%{\e[01;35m%} -- %d -- %{\e[00;00m%}'
Original file line number Diff line number Diff line change 3
3
{
4
4
local termtitle
5
5
6
- termtitle=`print -P "%n@${LHOSTNAME }[%l]"`
6
+ termtitle=`print -P "%n@${HOST }[%l]"`
7
7
title zsh "$termtitle"
8
8
}
9
9
@@ -15,7 +15,7 @@ preexec()
15
15
local termtitle
16
16
17
17
# Prepend this string to the title.
18
- termtitle=`print -P "%n@${LHOSTNAME }[%l]:"`
18
+ termtitle=`print -P "%n@${HOST }[%l]:"`
19
19
20
20
case $cmd[1] in
21
21
fg)
Original file line number Diff line number Diff line change 3
3
# Original author: Saleem Abdulrasool <[email protected] >
4
4
# vim:set nowrap:
5
5
6
- case ` uname -s` in
7
- Darwin)
8
- export LHOSTNAME=` scutil --get LocalHostName`
9
- ;;
10
- * )
11
- export LHOSTNAME=${HOST}
12
- ;;
13
- esac
14
-
15
- autoload compinit; compinit -d " ${HOME} /.zsh/.zcompdump-${LHOSTNAME} "
6
+ autoload compinit; compinit -d " ${HOME} /.zsh/.zcompdump-${HOST} "
16
7
17
8
autoload age
18
9
autoload zmv
You can’t perform that action at this time.
0 commit comments