1. 11 8月, 2021 1 次提交
  2. 12 6月, 2021 1 次提交
  3. 17 1月, 2021 1 次提交
  4. 08 12月, 2020 2 次提交
  5. 30 11月, 2020 2 次提交
  6. 10 11月, 2020 1 次提交
  7. 26 9月, 2020 1 次提交
  8. 19 8月, 2020 1 次提交
  9. 18 8月, 2020 1 次提交
  10. 04 8月, 2020 1 次提交
  11. 06 4月, 2020 1 次提交
  12. 03 3月, 2020 1 次提交
  13. 25 2月, 2020 1 次提交
  14. 19 9月, 2019 1 次提交
    • M
      Fix WSL check for WSL 2 and simplify nohup in open_command · 095d56b5
      Marc Cornellà 提交于
      WSL 2 changes the output of `uname -r`. For instance,
      
        WSL 1: 4.4.0-18980-Microsoft
        WSL 2: 4.19.67-microsoft-standard
      
      Since WSL 2 lowercases the M, we can match for the rest of the string
      which remains lowercase throughout both versions. Another option would
      be to match for both upper- and lower-case Ms, like that:
      
        $(uname -r) = *[Mm]icrosoft*
      
      Fixed use of nohup in open_command where it was only necessary for
      xdg-open (and actually harmful for cmd.exe in WSL 2). The current logic
      is simpler and more future-proof.
      095d56b5
  15. 26 2月, 2019 1 次提交
  16. 10 8月, 2018 1 次提交
  17. 02 7月, 2018 1 次提交
  18. 01 7月, 2018 2 次提交
    • M
      open_command: fix and improve command for WSL · f898ada8
      Marc Cornellà 提交于
      - Add double quotes to command so that the next argument isn't
        interpreted as the title for the start command.
      
      - If the first argument is a valid path, convert it to Windows path
        notation. If `wslpath` fails—because it's a path from inside WSL,
        which cannot be converted to Windows path notation— fail with an
        error code.
      
        This last circumstance will show an error like so:
      
          wslpath: path: Result not representable
      f898ada8
    • M
      open_command: simplify code · 12086593
      Marc Cornellà 提交于
      12086593
  19. 25 4月, 2018 1 次提交
  20. 30 12月, 2016 1 次提交
  21. 09 8月, 2016 1 次提交
  22. 01 12月, 2015 3 次提交
    • M
      Use shwordsplit in open_command() · 584e0a6e
      Marc Cornellà 提交于
      584e0a6e
    • M
      Add empty string parameter to start command · afdfe239
      Marc Cornellà 提交于
      Otherwise `start` will confuse the first parameter as the title of
      a new command prompt if the parameter contains whitespace. That is
      because the command to be run will be:
      
          start "abc def"
      
      which opens a new command prompt window with the title "abc def".
      With the added empty string we force the start command to interpret
      the passed parameter as the file / command:
      
          start "" "abc def"
      
      which will be interpreted like `""` is the title and the rest is
      the file or command to start.
      
      -------
      
      **NOTE:** this wouldn't be necessary if the start script in msys
      was defined differently; that is, if it had the empty string
      already incorporated in the script (/usr/bin/start), like so:
      
      ```diff
      -cmd //c start "${@//&/^&}"
      +cmd //c start "" "${@//&/^&}"
      ```
      
      Notice however that this would make it impossible to use start
      setting a different title, so it's probably best to leave it as is.
      
      More info: http://sourceforge.net/p/msys2/tickets/14/
      
      -------
      
      The change `${(z)open_cmd}` is necessary to force zsh to split the
      variable by the spaces and interpret it as separate words.
      
      More info: http://zsh.sourceforge.net/FAQ/zshfaq03.html#l17
      afdfe239
    • M
      make this work in the git-for-windows SDK · 0a79f1e8
      Mark Ingalls 提交于
      Added an option for the msys value of $OSTYPE
      0a79f1e8
  23. 30 11月, 2015 1 次提交
    • M
      Fix open_command nohup call · fea74b4b
      Marc Cornellà 提交于
      There a syntax error if $cmd_var contains more than one word,
      so we drop the current way to prepend nohup and use a simpler
      if-else form.
      fea74b4b
  24. 27 11月, 2015 2 次提交
  25. 18 8月, 2015 1 次提交
  26. 10 8月, 2015 1 次提交
  27. 05 8月, 2015 1 次提交
  28. 21 8月, 2014 1 次提交
  29. 06 2月, 2014 1 次提交
  30. 14 11月, 2012 1 次提交
    • C
      Improved statistics functions, effect: · 5b2ca387
      CHH 提交于
       1  1124  24.6006%    c
       2  985   21.5583%    git
       3  343   7.50711%    rails
       4  328   7.17881%    cd
       5  314   6.8724%     rspec
       6  257   5.62486%    la
       7  197   4.31167%    rake
       8  154   3.37054%    s
       9  109   2.38564%    ..
      10  95    2.07923%    rvm
      11  68    1.48829%    guard
      12  36    0.787919%   bundle
      13  29    0.634712%   ssh
      14  28    0.612826%   pry
      15  27    0.590939%   open
      16  26    0.569052%   middleman
      17  26    0.569052%   gem
      18  24    0.525279%   rm
      19  24    0.525279%   heroku
      20  23    0.503392%   nvm
      5b2ca387
  31. 29 5月, 2012 2 次提交
  32. 25 12月, 2011 1 次提交
  33. 02 6月, 2011 1 次提交