feat: switch from starship to oh-my-posh

This commit is contained in:
2024-02-06 10:10:59 +02:00
parent 1f7b92285b
commit 13764775ca
6 changed files with 177 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ rustup default system
packages=(
"cargo-cache"
# starship.rs
"starship"
# "starship"
# An incremental parsing system for programming tools
"tree-sitter-cli"
# a subprocess caching utility

18
scripts/install-ohmyposh.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env zsh
#
# Install oh-my-posh
#
# shellcheck source=shared.sh
source "$HOME/.dotfiles/scripts/shared.sh"
curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/.local/bin
OHMYPOSH_CFG="$HOME/.dotfiles/config/oh-my-posh.omp.json"
eval "$(oh-my-posh init zsh --config $OHMYPOSH_CFG)"
#cd ~/.dotfiles || exit
#oh-my-posh config export image \
# --config "$OHMYPOSH_CFG" \
# --output "~/.dotfiles/.github/screenshots/oh-my-posh.png" \
# --author "Ismo Vuorinen"