Move host-specific configuration
This commit is contained in:
1
.bashrc.d/hosts/desktop-arch
Normal file
1
.bashrc.d/hosts/desktop-arch
Normal file
@@ -0,0 +1 @@
|
||||
# Desktop configuration
|
||||
18
.bashrc.d/hosts/flex-arch
Normal file
18
.bashrc.d/hosts/flex-arch
Normal file
@@ -0,0 +1,18 @@
|
||||
# Laptop configuration
|
||||
|
||||
# >>> mamba initialize >>>
|
||||
# !! Contents within this block are managed by 'mamba init' !!
|
||||
export MAMBA_EXE="/usr/bin/micromamba";
|
||||
export MAMBA_ROOT_PREFIX="/home/h/.local/share/micromamba";
|
||||
__mamba_setup="$("$MAMBA_EXE" shell hook --shell bash --prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__mamba_setup"
|
||||
else
|
||||
if [ -f "/home/h/.local/share/micromamba/etc/profile.d/micromamba.sh" ]; then
|
||||
. "/home/h/.local/share/micromamba/etc/profile.d/micromamba.sh"
|
||||
else
|
||||
export PATH="/home/h/.local/share/micromamba/bin:$PATH" # extra space after export prevents interference from conda init
|
||||
fi
|
||||
fi
|
||||
unset __mamba_setup
|
||||
# <<< mamba initialize <<<
|
||||
Reference in New Issue
Block a user