sumnima sumnima sumnima sumnima sumnima sumnima sumnima
Categories
bash bigcommerce blog stencil windows

i’m bat man!

@echo off
cd /d "C:\Users\sumnima\Documents\minu"

:: Start Git Bash and run stencil
start "" "C:\Program Files\Git\git-bash.exe" --cd="C:\Users\sumnima\Documents\minu" -c "stencil start; exec bash"

:: Delay for server to start (tweak if needed)
timeout /t 10 >nul

:: Launch Firefox with localhost
start "" "C:\Program Files\Mozilla Firefox\firefox.exe" "http://localhost:3000"

:: Open Sublime Text in the same folder
start "" "C:\Program Files\Sublime Text\sublime_text.exe" "C:\Users\sumnima\Documents\minu"

Categories
bash blog node

fix node path bash_profile #node #path #bash

fix node path bash_profile #node #path #bash
I had the same issue until I added the following lines to my .bash_profile
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh