A1Liu / a1liu

Personal Repository
https://a1liu.com
MIT License
5 stars 1 forks source link

Re-add non-interactive shell for MacVim #25

Open albert-bedrock opened 1 year ago

albert-bedrock commented 1 year ago
#!/bin/sh

export CFG_DIR="/Users/aliu/code/aliu/config"
CUR_SHELL="$(basename "$0" 2>/dev/null || echo "$0" | tr -d "-")"
IS_INTERACTIVE_SHELL=false

. "/Users/aliu/code/aliu/config/programs/shells/dispatch"

eval "$(/opt/homebrew/bin/brew shellenv)"

export NVM_DIR="$HOME/.nvm"
export PATH="$PATH:$NVM_DIR"

NVM_SCRIPT="/usr/local/opt/nvm/nvm.sh"

[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
[ -s "$NVM_SCRIPT" ] && . "$NVM_SCRIPT"
albert-bedrock commented 12 months ago

It's been added, but need to still add NVM stuff