[arch-releng] [PATCH] Ust zsh as default interactive shell
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Sun Jul 29 13:59:54 EDT 2012
On 07/28/2012 08:13 AM, Pierre Schmitz wrote:
> This installs zsh and sets it as default for root and the arch user.
> grml-zsh-config is installed as a userfriendly default configuration.
>
> Signed-off-by: Pierre Schmitz <pierre at archlinux.de>
> ---
>
> This might look controversial, so let me explain. As our new install method is based on the usage of various cli tools our plain ash setup gets a little inconvinient. This patch adds zsh and a feature rich default config. We will get menu based completion and inline help for e.g. pacman but also our install scripts, rc.d and a lot of other tools. This should make the iso easier to use and more accessable.
>
> I haven't found any real downside here, so let me know if you can think of any. Also please try it first if you haven't yet. E.g. try things like pacstrap -<tab> etc..
>
> If there are no major concerns I would suggest we try this for at least one release. With our monthly releases we can simply revert this for the next one if user feedback is all negative.
>
> configs/releng/build.sh | 5 ++++-
> configs/releng/packages.i686 | 2 ++
> configs/releng/packages.x86_64 | 2 ++
> 3 Dateien geändert, 8 Zeilen hinzugefügt(+), 1 Zeile entfernt(-)
>
> diff --git a/configs/releng/build.sh b/configs/releng/build.sh
> index 5352000..f1b1693 100755
> --- a/configs/releng/build.sh
> +++ b/configs/releng/build.sh
> @@ -153,7 +153,10 @@ make_customize_root_image() {
> -r 'locale-gen' \
> run
> mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \
> - -r 'useradd -m -p "" -g users -G "audio,disk,optical,wheel" arch' \
> + -r 'usermod -s /bin/zsh root' \
> + run
> + mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \
> + -r 'useradd -m -p "" -g users -G "audio,disk,optical,wheel" -s /bin/zsh arch' \
> run
> : > ${work_dir}/build.${FUNCNAME}
> fi
> diff --git a/configs/releng/packages.i686 b/configs/releng/packages.i686
> index aaf0f37..0b23596 100644
> --- a/configs/releng/packages.i686
> +++ b/configs/releng/packages.i686
> @@ -14,6 +14,7 @@ efibootmgr
> elinks
> gnu-netcat
> gptfdisk
> +grml-zsh-config
> grub-bios
> haveged
> hdparm
> @@ -45,3 +46,4 @@ vpnc
> wireless_tools
> wpa_actiond
> zd1211-firmware
> +zsh
> diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64
> index 24f655f..09c3c94 100644
> --- a/configs/releng/packages.x86_64
> +++ b/configs/releng/packages.x86_64
> @@ -14,6 +14,7 @@ efibootmgr
> elinks
> gnu-netcat
> gptfdisk
> +grml-zsh-config
> grub-bios
> grub-efi-x86_64
> haveged
> @@ -46,3 +47,4 @@ vpnc
> wireless_tools
> wpa_actiond
> zd1211-firmware
> +zsh
I never used zsh for serious things. ACK here.
--
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1
More information about the arch-releng
mailing list