最終更新:2019-10-17 (木) 19:02:09 (27d)  

chere はてなブックマークを見る
Top / chere

Cygwin Prompt Here context menus

Bash Prompt Here

メモ

  • 日本語フォルダでは正常に動作しない
    chere -im -t mintty -s bash -o --dir

インストール

  • 管理者権限で起動して
    chere -i

使い方

  • $ 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.