mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2026-02-06 16:43:50 +01:00
🚀 feat(_script): add zsh pkgbuild
This commit is contained in:
@@ -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
|
||||
|
||||
30
snigdhaos-zsh-config/PKGBUILD
Normal file
30
snigdhaos-zsh-config/PKGBUILD
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user