diff --git a/snigdhaos-zsh-config/.zshrc b/snigdhaos-zsh-config/.zshrc index 57dc020b..1993098e 100644 --- a/snigdhaos-zsh-config/.zshrc +++ b/snigdhaos-zsh-config/.zshrc @@ -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 diff --git a/snigdhaos-zsh-config/PKGBUILD b/snigdhaos-zsh-config/PKGBUILD new file mode 100644 index 00000000..faa6285f --- /dev/null +++ b/snigdhaos-zsh-config/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Eshan Roy + +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" +}