Skip to content

Instantly share code, notes, and snippets.

@maxjerin
Last active July 22, 2017 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxjerin/4ce0d4ea542e12c9a13dfa858c18e519 to your computer and use it in GitHub Desktop.
Save maxjerin/4ce0d4ea542e12c9a13dfa858c18e519 to your computer and use it in GitHub Desktop.
Windows Bash + Cmder + Tmux + Zsh

Cmder Config (this also fixes arrow key bug)

  • Settings > Tasks

  • Create {win_bash}

  • Task Parameters: /icon "%CMDER_ROOT%\icons\cmder.ico"

  • Command: cmd /k "%windir%\system32\bash.exe" -cur_console:p

  • Settings > Startup ** Select {win_bash}

Bashrc

# Launch Zsh                                      
if [ -t 1 ]; then                                 
exec zsh                                          
fi                                                
                                                  
# If not running interactively, don't do anything 
case $- in                                        
    *i*) ;;                                       
      *) return;;                                 
esac                                              

Tmux Config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment