Terminal Guy
Terminal Guy

Reputation: 188

Pinned Windows Git Bash taskbar icon not respecting git-bash.exe shortcut startup directory

When I right click the Git Bash shortcut in C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Git it allows me to set a Start in directory.

However, if I right click Git Bash on my taskbar and pin it, close Git Bash and then reopen it via the pinned app on the taskbar, it's not respecting the startup directory I configured previously.

How do I fix this?

Upvotes: 6

Views: 1917

Answers (1)

everag
everag

Reputation: 7672

By pinning the opened program onto the taskbar, you end up creating another shortcut. For editing it:

  • Close the app
  • Hold shift
  • Right click the pinned taskbar icon
  • Pick Properties
  • Set your startup dir

Upvotes: 12

Related Questions