🚀 feat(_script): add zsh pkgbuild

This commit is contained in:
eshanized
2024-12-21 20:38:36 +05:30
parent 20f12d336f
commit e8c3754f52
2 changed files with 41 additions and 0 deletions

View File

@@ -8,6 +8,17 @@ autoload -Uz compinit
compinit
# End of lines added by compinstall
# Snigdha OS Specified
export PAGER='most'
export HISTCONTROL=ignoreboth:erasedups
export EDITOR='nano'
export VISUAL='nano'
# Z Shell Specified
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
zstyle ':vcs_info:git:*' formats '%b '
setopt PROMPT_SUBST

View File

@@ -0,0 +1,30 @@
# Maintainer: Eshan Roy <m.eshanized@gmail.com>
pkgname=snigdhaos-zsh-config
pkgver=1
pkgrel=1
pkgdesc="Snigdha OS Zsh Config"
arch=(any)
host="https://github.com/Snigdha-OS"
url="${host}/snigdhaos-pkgbuild/${pkgname}"
license=('GPL')
conflicts=(
'snigdhaos-zsh-config-dev'
)
depends=(
'fzf'
'zsh'
'zsh-autosuggestions'
'zsh-completions'
'zsh-syntax-highlighting')
makedepends=('git')
source=('.zshrc')
sha256sums=('SKIP')
pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -D -m644 zshrc "$pkgdir/etc/skel/.zshrc"
}