addet bun
This commit is contained in:
parent
124b40ca0d
commit
051e95724c
1 changed files with 6 additions and 2 deletions
8
.zshrc
8
.zshrc
|
@ -130,8 +130,8 @@ _init (){
|
||||||
if command_exists oh-my-posh; then
|
if command_exists oh-my-posh; then
|
||||||
# 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 '~/.zsh/themes/sim-web.toml')"
|
# eval "$(oh-my-posh init zsh --config '~/.zsh/themes/sim-web.toml')"
|
||||||
# eval "$(oh-my-posh init zsh --config '~/.zsh/themes/amro.toml')"
|
eval "$(oh-my-posh init zsh --config '~/.zsh/themes/amro.toml')"
|
||||||
eval "$(oh-my-posh init zsh --config '~/.zsh/themes/atomicBit.toml')"
|
# eval "$(oh-my-posh init zsh --config '~/.zsh/themes/atomicBit.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
|
||||||
|
@ -635,3 +635,7 @@ main(){
|
||||||
if check_root; then
|
if check_root; then
|
||||||
main
|
main
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# bun completions
|
||||||
|
[ -s "/home/pika/.bun/_bun" ] && . "$HOME/.bun/_bun"
|
||||||
|
[ -s "/home/pika/.bun/_bun" ] && export BUN_INSTALL="$HOME/.bun" && export PATH="$BUN_INSTALL/bin:$PATH"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue