From 10fcd7c1c1bc28800e9a1f1eb7392a08aabb2692 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 27 May 2023 23:48:32 +0200 Subject: [PATCH] Install oh-my-posh for fish --- scripts/Common/Config/UserProfile/install.sh | 1 + scripts/Common/Config/fish/oh-my-posh.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100755 scripts/Common/Config/fish/oh-my-posh.sh diff --git a/scripts/Common/Config/UserProfile/install.sh b/scripts/Common/Config/UserProfile/install.sh index c96698fb..88efd2ad 100755 --- a/scripts/Common/Config/UserProfile/install.sh +++ b/scripts/Common/Config/UserProfile/install.sh @@ -21,6 +21,7 @@ then fi; source "../bash/oh-my-posh.sh"; +source "../fish/oh-my-posh.sh"; NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" source "../Oh My Posh/install.sh"; popd > /dev/null; diff --git a/scripts/Common/Config/fish/oh-my-posh.sh b/scripts/Common/Config/fish/oh-my-posh.sh new file mode 100755 index 00000000..73beef4d --- /dev/null +++ b/scripts/Common/Config/fish/oh-my-posh.sh @@ -0,0 +1,6 @@ +#!/bin/bash +{ + echo "# Oh My Posh!"; + echo "oh-my-posh init fish --config /usr/share/oh-my-posh/themes/manuel.omp.json | source"; + echo "oh-my-posh completion fish | source"; +} | sudo tee /etc/fish/conf.d/oh-my-posh.fish;