addet oh-my-posh install script

This commit is contained in:
pika 2024-08-16 15:26:48 +02:00
parent f83ed54b48
commit 5d5faff131

View file

@ -214,9 +214,13 @@ _cli_qol_() {
alias starwars="telnet -a telehack.com"
fi
# ─< oh-my-posh >───────────────────────────────────────────────────────────────────────────
# ─< oh-my-posh initialization >────────────────────────────────────────────────────────────
if command_exists oh-my-posh; then
eval "$(oh-my-posh init bash --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/amro.omp.json')"
else
curl -s https://ohmyposh.dev/install.sh | sudo bash -s -- -d /usr/bin/
fi
}