Move conda-init to alias
parent
3c555f5594
commit
4a8623227c
|
@ -26,8 +26,6 @@ in
|
|||
if test -d (brew --prefix)"/share/fish/vendor_completions.d"
|
||||
set -p fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
|
||||
end
|
||||
'' + lib.optionalString (caskIsPresent "miniforge") ''
|
||||
eval /opt/homebrew/Caskroom/miniforge/base/bin/conda "shell.fish" "hook" $argv | source
|
||||
'';
|
||||
|
||||
homebrew.enable = pkgs.lib.homebrew-enabled;
|
||||
|
|
|
@ -213,6 +213,7 @@
|
|||
htop = "${bottom}/bin/btm";
|
||||
tb = "toggle-background";
|
||||
sb = "set-background-to-macOS";
|
||||
conda-init = "eval /opt/homebrew/Caskroom/miniforge/base/bin/conda 'shell.fish' 'hook' $argv | source";
|
||||
};
|
||||
|
||||
# Configuration that should be above `loginShellInit` and `interactiveShellInit`.
|
||||
|
|
Loading…
Reference in New Issue