From ea533b20a53505234cfdfa972c241ff7bf40f808 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 19 Sep 2024 22:20:59 +0200 Subject: [PATCH] Add scripts for installing PS modules --- scripts/Common/Software/Terminal-Icons/main.fish | 11 +++++++++++ scripts/Common/Software/posh-git/main.fish | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100755 scripts/Common/Software/Terminal-Icons/main.fish create mode 100755 scripts/Common/Software/posh-git/main.fish diff --git a/scripts/Common/Software/Terminal-Icons/main.fish b/scripts/Common/Software/Terminal-Icons/main.fish new file mode 100755 index 00000000..bd62567c --- /dev/null +++ b/scripts/Common/Software/Terminal-Icons/main.fish @@ -0,0 +1,11 @@ +#!/bin/env fish +begin + set -l dir (status dirname) + source "$dir/../../Scripts/software.fish" + + function installSW -V dir + sudo -HE pwsh "$dir/Manage.ps1" + end + + runInstaller $argv +end diff --git a/scripts/Common/Software/posh-git/main.fish b/scripts/Common/Software/posh-git/main.fish new file mode 100755 index 00000000..bd62567c --- /dev/null +++ b/scripts/Common/Software/posh-git/main.fish @@ -0,0 +1,11 @@ +#!/bin/env fish +begin + set -l dir (status dirname) + source "$dir/../../Scripts/software.fish" + + function installSW -V dir + sudo -HE pwsh "$dir/Manage.ps1" + end + + runInstaller $argv +end