最終更新:2021-12-27 (月) 11:54:42 (813d)
chere
Top / chere
Cygwin Prompt Here context menus
Bash Prompt Here
インストール
- 管理者権限で起動して
chere -i
日本語フォルダでは正常に動作しない場合
- https://www.ikushimo.com/news/2019/05/25.html
- 管理者権限で起動して
chere -im -t mintty -s bash -o --dir -e "Cygwin Terminal Here"
使い方
$ chere /usr/bin/chere: No action taken /usr/bin/chere version 1.4 Usage: /usr/bin/chere -<iuxlrhv> [-lracnmpf12] [-t <term>] [-s <shell>] [-d <display> ] [-o <options>] [-e <menutext>] Adds the stated terminal/shell combination to the folder context menu This allows you to right click a folder in Windows Explorer and open a Cygwin shell in that folder. Options: i - Install u - Uninstall x - Freshen eXisting entries l - List currently installed chere items r - Read all chere registry entries to stdout a - All users c - Current user only n - Be Nice and provide Control Panel uninstall option (Default) m - Minimal, no Control Panel uninstall p - Print regtool commands to stdout rather than running them f - Force write (overwrite existing, ignore missing files) 1 - Start using registry one-liners. This doesn't work with ash, tcsh or network shares. 2 - Start via bash script. Relies on windows to change directory, and login scripts avoiding doing a cd /home/tokkyo h - Help v - Version t <term> - Use terminal term. Supported terminals are: cmd rxvt mintty xterm urxvt s <shell> - Use the named shell. Supported shells are: ash bash cmd dash fish mksh pdksh posh tcsh zsh passwd d <display> - DISPLAY to use (xterm, urxvt). Defaults to :0. Set to env to use the runtime environment variable. o <options> - Add <options> to the terminal startup command. If more than one option is specified, they should all be contained within a single set of quotes. e <menutext> - Use <menutext> as the context menu text. See the man page for more detail.