addet themes for local theming (not needet to be online to have a oh-my-posh theme)

This commit is contained in:
pika 2024-10-28 14:33:22 +01:00
parent 488649b0f6
commit 6ebc02447c
3 changed files with 6 additions and 1 deletions

4
.gitmodules vendored
View file

@ -14,3 +14,7 @@
path = .zsh/extract path = .zsh/extract
url = https://github.com/le0me55i/zsh-extract url = https://github.com/le0me55i/zsh-extract
branch = master branch = master
[submodule ".zsh/themes"]
path = .zsh/themes
url = https://git.k4li.de/dotfiles/oh-my-posh.git
branch = main

1
.zsh/themes Submodule

@ -0,0 +1 @@
Subproject commit 8d75e1bc5074746209f76384068da7222ab6232b

2
.zshrc
View file

@ -130,7 +130,7 @@ _init (){
if command_exists oh-my-posh; then if command_exists oh-my-posh; then
# eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/amro.omp.json')" # eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/amro.omp.json')"
eval "$(oh-my-posh init zsh --config 'https://git.k4li.de/dotfiles/oh-my-posh/raw/branch/main/amro.toml')" eval "$(oh-my-posh init zsh --config 'https://git.k4li.de/dotfiles/oh-my-posh/raw/branch/main/amro.toml')"
# eval "$(oh-my-posh init zsh --config '~/gitea/dotfiles/oh-my-posh/amro.toml')" # eval "$(oh-my-posh init zsh --config './.zsh/themes/tokyo_storm.toml')"
else else
curl -s https://ohmyposh.dev/install.sh | sudo bash --norc -s -- -d /usr/bin/ curl -s https://ohmyposh.dev/install.sh | sudo bash --norc -s -- -d /usr/bin/
fi fi