summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-30 13:08:16 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-30 13:08:16 +0000
commitaddcb5d4b2d24c7927c597d156f5a31a3df2ab31 (patch)
tree2baeb2f5dfa749086ac647a6737c45a57eb2c232 /system
parent5617dd0c81a5a35a0beef3aa12e736a48f3abcd1 (diff)
downloadpackages-addcb5d4b2d24c7927c597d156f5a31a3df2ab31.tar.gz
packages-addcb5d4b2d24c7927c597d156f5a31a3df2ab31.tar.bz2
packages-addcb5d4b2d24c7927c597d156f5a31a3df2ab31.tar.xz
packages-addcb5d4b2d24c7927c597d156f5a31a3df2ab31.zip
system/zsh: install a skeleton .zshrc file
Diffstat (limited to 'system')
-rw-r--r--system/zsh/APKBUILD5
-rw-r--r--system/zsh/skel4
2 files changed, 8 insertions, 1 deletions
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 <djt@hxx.in>
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