From 051e95724cc8a5311711790c7944e561884d098e Mon Sep 17 00:00:00 2001 From: pika Date: Thu, 7 Nov 2024 12:26:55 +0100 Subject: [PATCH] addet bun --- .zshrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 72f2a92..956f9c5 100644 --- a/.zshrc +++ b/.zshrc @@ -130,8 +130,8 @@ _init (){ 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 '~/.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/atomicBit.toml')" + eval "$(oh-my-posh init zsh --config '~/.zsh/themes/amro.toml')" + # eval "$(oh-my-posh init zsh --config '~/.zsh/themes/atomicBit.toml')" else curl -s https://ohmyposh.dev/install.sh | sudo bash --norc -s -- -d /usr/bin/ fi @@ -635,3 +635,7 @@ main(){ if check_root; then main 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"