Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.31 KB

File metadata and controls

45 lines (33 loc) · 1.31 KB

Software Setup

#create .bash_profile
$ notepad .bash_profile

#add Notepad++ to path inside .bash_profile
export PATH=$PATH:"C:\Program Files (x86)\Notepad++" 
#set alias
alias npp=notepad++

#add Anaconda to path:
export PATH=$PATH:"$HOME/Anaconda3/"

#set alias for python
alias python='winpty python.exe'

#save and close .bash_profile

#source .bash_profile for changes to take effect. Run this command from GitBash window:
$ source .bash_profile

#now if you type npp at the command line, notepad++ should open

When setting up git:

$ git config --global core.editor "notepad++"  #if in PATH
$ git config --global core.editor "subl -n -w"

#or
$ git config --global core.editor "'C:\Program Files (x86)\Notepad++\notepad++.exe'"
$ git config --global core.editor "'C:\Program Files\Sublime Text 3\sublime_text.exe' -n -w"


#or on mac, to add Sublime:
$ git config --global core.editor \
            "/Applications/'Sublime Text.app'/Contents/SharedSupport/bin/subl -n -w"