@eshanized updated the repository 🎉

This commit is contained in:
Eshan Roy (Eshanized)
2024-04-18 02:26:29 +05:30
parent 6f69794f99
commit 108ede4e5e
36 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
pkgname=snigdhaos-powershell
org="Snigdha-OS"
branch="master"
pkgver=r75.ba4f5f5
pkgrel=1
pkgdesc="Snigdha OS PowerShell Config!"
arch=('any')
license=('MIT')
depends=(
'powershell-bin'
)
source=(
"$pkgname.tar.xz"
"${pkgname}.desktop"
)
sha256sums=(
'SKIP'
)
install=$pkgname.install
pkgver(){
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package(){
mkdir -p "${pkgdir}/etc/skel"
cp -rf "${srcdir}/etc/skel/.config" "${pkgdir}/etc/skel/"
# rm "${pkgdir}/usr/share/applications/snigdhaos-powershell.desktop"
# install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}

View File

@@ -0,0 +1,6 @@
$Host.UI.RawUI.WindowTitle = "SNIGDHA OS > PowerShell🔥"
function prompt()
{
$ESC=$([char]27)
"$ESC[0;36m┌──I'm $(whoami)$ESC[0;31m$($executionContext.SessionState.Path.CurrentLocation)$("`r`n$ESC[0;36m└──eshanized PowerShell🔥>$ESC[00m" * ($nestedPromptLevel + 1)) ";
}

View File

@@ -0,0 +1,7 @@
post_install() {
echo -e "\n** The files have been installed in /etc/skel/.config/powershell **\n"
}
post_upgrade() {
post_install
}

Binary file not shown.