From addcb5d4b2d24c7927c597d156f5a31a3df2ab31 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 30 Jul 2019 13:08:16 +0000 Subject: system/zsh: install a skeleton .zshrc file --- system/zsh/APKBUILD | 5 ++++- system/zsh/skel | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 system/zsh/skel (limited to 'system') diff --git a/system/zsh/APKBUILD b/system/zsh/APKBUILD index 5c80e950b..695a26a1d 100644 --- a/system/zsh/APKBUILD +++ b/system/zsh/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Dan Theisen pkgname=zsh pkgver=5.7.1 -pkgrel=0 +pkgrel=1 pkgdesc="A very advanced and programmable command interpreter (shell)" url="https://www.zsh.org/" arch="all" @@ -14,6 +14,7 @@ makedepends_host="ncurses-dev pcre-dev utmps-dev" install="zsh.post-install zsh.post-upgrade zsh.pre-deinstall" # Note the custom fetch() function source="https://www.zsh.org/pub/$pkgname-$pkgver.tar.xz + skel zprofile zshrc " @@ -118,6 +119,7 @@ package() { make DESTDIR="$pkgdir" install install -Dm644 "$srcdir"/zprofile "$pkgdir"/etc/zsh/zprofile install -Dm644 "$srcdir"/zshrc "$pkgdir"/etc/zsh/zshrc + install -Dm755 "$srcdir"/skel "$pkgdir"/etc/skel/.zshrc } doc() { @@ -176,5 +178,6 @@ _submv() { } sha512sums="a6aa88e1955a80229a4784a128866e325f79a8b5f73c922ab480048411036f1835cbb31daa30ab38bd16ab2a50040eda8f4f1f64704b21b6acc3051b1dbf18d0 zsh-5.7.1.tar.xz +7d46b958a3402214a1982a4fbb71b9916b385e295593202e2cc4893f278b4faec6950c02b9924551687e3f6e53c727d5b6f2a8d39bc0e7abe33bedc0110f96ac skel e90723eb790581419498f3ab86fb5d6cab4aaede8c87eb79ead7047d259b643cfb47f4d1beb06d03e038cfda3a20ef9dd4c1b417270ab55c688e166fe30ef4f6 zprofile 1675e016f97333cad89b587f4292d81b6bc10e27b75482e3e0c3808539c95bd49b907b6579fb98d817f77f2f2384c0df5afa3e2b6f43b6ae9b466925cd9ccffc zshrc" diff --git a/system/zsh/skel b/system/zsh/skel new file mode 100644 index 000000000..e3ddddf99 --- /dev/null +++ b/system/zsh/skel @@ -0,0 +1,4 @@ +# Lines configured by zsh-newuser-install +HISTFILE=~/.histfile +setopt appendhistory extendedglob +# End of lines configured by zsh-newuser-install -- cgit v1.2.3-70-g09d2