codekingpro/portable-devtools
114k
1# Add bin path in the home directory ontop of the PATH variable2export PATH="$HOME/bin:$PATH"3 4# Allow SSH to ask via GUI if the terminal is not usable5test -n "$SSH_ASKPASS" || {6 case "$MSYSTEM" in7 MINGW64)8 export DISPLAY=needs-to-be-defined9 if [ -f /mingw64/bin/git-askpass.exe ]; then10 export SSH_ASKPASS=/mingw64/bin/git-askpass.exe11 else12 export SSH_ASKPASS=/mingw64/libexec/git-core/git-gui--askpass13 fi14 ;;15 MINGW32)16 export DISPLAY=needs-to-be-defined17 if [ -f /mingw32/bin/git-askpass.exe ]; then18 export SSH_ASKPASS=/mingw32/bin/git-askpass.exe19 else20 export SSH_ASKPASS=/mingw32/libexec/git-core/git-gui--askpass21 fi22 ;;23 CLANGARM64)24 export DISPLAY=needs-to-be-defined25 if [ -f /clangarm64/bin/git-askpass.exe ]; then26 export SSH_ASKPASS=/clangarm64/bin/git-askpass.exe27 else28 export SSH_ASKPASS=/clangarm64/libexec/git-core/git-gui--askpass29 fi30 ;;31 esac32}33 