mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 03:04:06 +00:00
feat: switch from starship to oh-my-posh
This commit is contained in:
@@ -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
18
scripts/install-ohmyposh.sh
Executable 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"
|
||||
Reference in New Issue
Block a user