mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
22018: minor newuser tweaks
This commit is contained in:
parent
e66af50a98
commit
5dfd592bf2
3 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
|||
2005-11-24 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 22018: INSTALL, Functions/Newuser/zsh-newuser-install: tweak
|
||||
following suggestions from Bart.
|
||||
|
||||
* 22014: Doc/Zsh/Contrib.yo, Doc/Zsh/zle.yo,
|
||||
Functions/Zle/.distfiles, Functions/Zle/insert-unicode-char,
|
||||
Src/Zle/iwidgets.list, Src/Zle/zle.h, Src/Zle/zle_main.c,
|
||||
|
|
|
@ -61,8 +61,8 @@ install_state[completion]=Recommended
|
|||
trap 'save=0' HUP INT QUIT
|
||||
|
||||
# Substitute an initial ~ for human consumption.
|
||||
if [[ $zd = $HOME ]]; then
|
||||
zdmsg="~"
|
||||
if [[ $zd = $HOME(#b)(|/*) ]]; then
|
||||
zdmsg="~$match[1]"
|
||||
else
|
||||
zdmsg=$zd
|
||||
fi
|
||||
|
|
2
INSTALL
2
INSTALL
|
@ -243,7 +243,7 @@ scripts/newuser in the shared library area (by default
|
|||
/usr/local/share/zsh/<VERSION>/scripts/newuser). This feature can be
|
||||
turned off simply by removing this script. The module can be removed
|
||||
entirely from the configured shell by editing the line starting
|
||||
"name=zsh/newuser" int the config.modules file, which is generated in the
|
||||
"name=zsh/newuser" in the config.modules file, which is generated in the
|
||||
top level distribution directory during configuration: change the line to
|
||||
include "link=no auto=no".
|
||||
|
||||
|
|
Loading…
Reference in a new issue