|
|
|
@ -40,17 +40,11 @@ export EDITOR=vim
|
|
|
|
|
|
|
|
|
|
case $( uname -s ) in
|
|
|
|
|
Darwin)
|
|
|
|
|
echo "Using OSX bash settings."
|
|
|
|
|
alias ls="ls -G"
|
|
|
|
|
;;
|
|
|
|
|
Linux)
|
|
|
|
|
# for some reason I find this welcome string more annoying on Linux
|
|
|
|
|
;;
|
|
|
|
|
MSYS_NT-10.0-22000)
|
|
|
|
|
# I don't actually have any MSYS-specific settings yet but probably will at
|
|
|
|
|
# some point
|
|
|
|
|
echo "Using MSYS bash settings."
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
echo "No platform-specific bash settings are enabled."
|
|
|
|
|
;;
|
|
|
|
@ -94,3 +88,11 @@ fi
|
|
|
|
|
export NVM_DIR="$HOME/.nvm"
|
|
|
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
|
|
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
|
|
|
|
|
|
|
|
if [[ -f "$HOME/.cargo/env" ]]; then
|
|
|
|
|
. "$HOME/.cargo/env"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [[ -f "$HOME/.nix-profile/etc/profile.d/nix.sh" ]]; then
|
|
|
|
|
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
|
|
|
|
fi
|
|
|
|
|