All Projects → njzhangyifei → Msys2 Mingw Shortcut Menus

njzhangyifei / Msys2 Mingw Shortcut Menus

Licence: mit
Configuration files needed to set up right-click shortcut in context menus for MSYS2, MinGW32/64 bash

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Msys2 Mingw Shortcut Menus

Context Menu.android
You can easily add awesome animated context menu to your app.
Stars: ✭ 3,805 (+6241.67%)
Mutual labels:  context-menu
Capslock Plus
An efficiency tool that provides various functions by enhancing the Caps Lock key into a modifier key.
Stars: ✭ 650 (+983.33%)
Mutual labels:  shortcut
Mvnrunner
IntelliJ plugin for maven, building and run unit testing or main method, by mvn.
Stars: ✭ 7 (-88.33%)
Mutual labels:  shortcut
Pretzel
Pretzel is Mac desktop app that shows and find keyboard shortcuts based on your current app.
Stars: ✭ 405 (+575%)
Mutual labels:  shortcut
Hotkey
Simple global shortcuts in macOS
Stars: ✭ 574 (+856.67%)
Mutual labels:  shortcut
Tip
Programmable tooltip that can be used with any Mac OS app
Stars: ✭ 798 (+1230%)
Mutual labels:  shortcut
Windows Terminal Context Menu
📃 This is a simple script to add right click context menu for your best Windows terminal ❤
Stars: ✭ 364 (+506.67%)
Mutual labels:  context-menu
Cheatsheet
Cool command-line cheatsheet. Open format, grep-able, where you need them most.
Stars: ✭ 58 (-3.33%)
Mutual labels:  shortcut
React Contexify
Add a context menu to your react app with ease
Stars: ✭ 575 (+858.33%)
Mutual labels:  context-menu
Context Search
A Firefox WebExtension that displays a context menu, that searches for the selected text.
Stars: ✭ 26 (-56.67%)
Mutual labels:  context-menu
Bash Shortcuts Cheat Sheet
Useful shortcuts for bash/zsh
Stars: ✭ 452 (+653.33%)
Mutual labels:  shortcut
Hotkeys
➷ A robust Javascript library for capturing keyboard input. It has no dependencies.
Stars: ✭ 5,165 (+8508.33%)
Mutual labels:  shortcut
Ezsql
PHP class to make interacting with a database ridiculusly easy
Stars: ✭ 804 (+1240%)
Mutual labels:  shortcut
Bluetoothconnector
Simple macOS CLI to connect/disconnect a Bluetooth device. Useful for AirPods or other Bluetooth headphones.
Stars: ✭ 388 (+546.67%)
Mutual labels:  shortcut
Breeze
git tool for fish-shell
Stars: ✭ 52 (-13.33%)
Mutual labels:  shortcut
Electron Localshortcut
Add keyboard shortcuts locally to a BrowserWindow instance, without using a Menu
Stars: ✭ 366 (+510%)
Mutual labels:  shortcut
Vue Shortkey
Vue-ShortKey - The ultimate shortcut plugin to improve the UX
Stars: ✭ 728 (+1113.33%)
Mutual labels:  shortcut
Vscode Surround
🔥A simple yet powerful extension to add wrapper templates around your code blocks
Stars: ✭ 60 (+0%)
Mutual labels:  shortcut
Quickcolor
Quickly apply fills from the global or document color palettes to selected elements - 🎨
Stars: ✭ 59 (-1.67%)
Mutual labels:  shortcut
Slowquitapps
Add a global delay to Command-Q to stop accidental app quits.
Stars: ✭ 916 (+1426.67%)
Mutual labels:  shortcut

Right click "Bash-here" Shortcut in Context Menu for MSYS2 MINGW32/64 shell

This is all the configuration files needed for adding "bash here" options in the Windows right-click shortcut/context menu.

This implementation should work for MSYS2 and MINGW32/64 shells that come with MSYS2.

screenshot

Usage

  1. Make sure environment variable %HOME% exists. (This script will source %HOME%/.bash_profile)
  2. git clone [email protected]:njzhangyifei/msys2-mingw-shortcut-menus.git into your desired directory to install
    • Or git clone https://github.com/njzhangyifei/msys2-mingw-shortcut-menus.git when git via ssh is not available
  3. ./install and follow the instructions
  4. double-click install_right_click_menu.reg file to merge it into your windows registry
  5. (Optional) If you don't see icons in the context menu, please install msys2-launcher via pacman (pacman -S msys/msys2-launcher-git) or from source https://github.com/elieux/msys2-launcher

Note (TL;DR)

  • This script does NOT depend on cygpath.
  • If you are using Zsh, please copy-and-edit a msys2_shell_zsh.cmd in your MSYS2 install directory. You will also need to change TEMPLATE_SHELL in the install script to zsh. For example template, please see reg_aio_zsh_msys2_shell_example.template.
  • If you are using msys2 with filesystem newer than 2016.05-2, this script will only generate one .reg file. That's ALL you need to create this context menu. You can delete this directory after merging the .reg file.

Note (For msys2 version with start_shell.cmd)

  • For the MSYS2 version with start_shell.cmd, the script will use bash_here_start_shell.template for generating bash scripts.
    • You MUST have environmental variable $HOME defined as your home directory path.
  • To use shell other than bash (e.g. to use zsh), you might want to create a start_shell_zsh.cmd and (mingw*/msys2)_shell_zsh.bat. Then, you will need to modify either the template or the bash script generated to call the corresponding batch file.

License

The MIT License (MIT) 2015 Yifei Zhang

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].