Skip to content

Instantly share code, notes, and snippets.

@MFry
Created January 11, 2017 01:49
Show Gist options
  • Select an option

  • Save MFry/6a4255e92df24adeead86885d62fa9b9 to your computer and use it in GitHub Desktop.

Select an option

Save MFry/6a4255e92df24adeead86885d62fa9b9 to your computer and use it in GitHub Desktop.

Revisions

  1. MFry created this gist Jan 11, 2017.
    6 changes: 6 additions & 0 deletions .bash_profile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    # This file is optional and included for completion sake
    # if you generate the appropriate .bashrc file and load git-bash this file will be automatically created.

    # generated by Git for Windows
    test -f ~/.profile && . ~/.profile
    test -f ~/.bashrc && . ~/.bashrc
    5 changes: 5 additions & 0 deletions .bashrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #If your npm global path is broken (for me it broke after updating git bash) this will fix access to npm global installs
    PATH=~/AppData/Roaming/npm:$PATH
    # If you are getting ncu issue 136 this fixes the bug. Much thanks @tw0517tw
    # Ref: https://github.com/tjunnone/npm-check-updates/issues/136#issuecomment-184275891
    alias ncu='winpty ncu.cmd'