mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-15 14:12:53 +02:00
add micromamba
This commit is contained in:
parent
23fe1eb8fb
commit
1743620336
1 changed files with 10 additions and 4 deletions
|
@ -2,23 +2,29 @@
|
||||||
set fish_greeting
|
set fish_greeting
|
||||||
|
|
||||||
# nix
|
# nix
|
||||||
if command -v nix >/dev/null
|
if command -v nix > /dev/null
|
||||||
fish_add_path ~/.nix-profile/bin
|
fish_add_path ~/.nix-profile/bin
|
||||||
end
|
end
|
||||||
|
|
||||||
# direnv
|
# direnv
|
||||||
if command -v direnv >/dev/null
|
if command -v direnv > /dev/null
|
||||||
direnv hook fish | source
|
direnv hook fish | source
|
||||||
set -g direnv_fish_mode eval_on_arrow
|
set -g direnv_fish_mode eval_on_arrow
|
||||||
end
|
end
|
||||||
|
|
||||||
# starship
|
# starship
|
||||||
if command -v starship >/dev/null
|
if command -v starship > /dev/null
|
||||||
source (starship init fish --print-full-init | psub)
|
source (starship init fish --print-full-init | psub)
|
||||||
end
|
end
|
||||||
|
|
||||||
# zoxide
|
# zoxide
|
||||||
if command -v zoxide >/dev/null
|
if command -v zoxide > /dev/null
|
||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# micromamba
|
||||||
|
if command -v micromamba > /dev/null
|
||||||
|
set -gx MAMBA_EXE "/usr/bin/micromamba"
|
||||||
|
set -gx MAMBA_ROOT_PREFIX "/home/oune/.local/share/mamba"
|
||||||
|
$MAMBA_EXE shell hook --shell fish --root-prefix $MAMBA_ROOT_PREFIX | source
|
||||||
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue