Move host-specific configuration
							parent
							
								
									6cf696e1f6
								
							
						
					
					
						commit
						393e2c5db5
					
				
							
								
								
									
										4
									
								
								.bashrc
								
								
								
								
							
							
						
						
									
										4
									
								
								.bashrc
								
								
								
								
							| 
						 | 
				
			
			@ -11,12 +11,12 @@ source /etc/os-release
 | 
			
		|||
# Aliases {{{
 | 
			
		||||
# Load aliases dynamically
 | 
			
		||||
[ -f "$HOME/.bash_aliases/all" ] && source "$HOME/.bash_aliases/all"
 | 
			
		||||
[ -f "$HOME/.bash_aliases/$HOSTNAME" ] && source "$HOME/.bash_aliases/$HOSTNAME"
 | 
			
		||||
[ -f "$HOME/.bash_aliases/hosts/$HOSTNAME" ] && source "$HOME/.bash_aliases/hosts/$HOSTNAME"
 | 
			
		||||
[ -f "$HOME/.bash_aliases/private" ] && source "$HOME/.bash_aliases/private"
 | 
			
		||||
# }}}
 | 
			
		||||
 | 
			
		||||
# Dynamic configuration {{{
 | 
			
		||||
[ -f "$HOME/.bashrc.d/$HOSTNAME" ] && source "$HOME/.bashrc.d/$HOSTNAME"
 | 
			
		||||
[ -f "$HOME/.bashrc.d/hosts/$HOSTNAME" ] && source "$HOME/.bashrc.d/hosts/$HOSTNAME"
 | 
			
		||||
[ -f "$HOME/.bashrc.d/private" ] && source "$HOME/.bashrc.d/private"
 | 
			
		||||
# }}}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
# Laptop configuration
 | 
			
		||||
| 
						 | 
				
			
			@ -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 <<<
 | 
			
		||||
		Loading…
	
		Reference in New Issue