1. 30 Nov, 2015 3 commits
    • Marc Cornellà's avatar
      Use shwordsplit in open_command() · 584e0a6e
      Marc Cornellà authored
      584e0a6e
    • Marc Cornellà's avatar
      Add empty string parameter to start command · afdfe239
      Marc Cornellà authored
      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
    • Mark Ingalls's avatar
      make this work in the git-for-windows SDK · 0a79f1e8
      Mark Ingalls authored
      Added an option for the msys value of $OSTYPE
      0a79f1e8
  2. 29 Nov, 2015 1 commit
    • Marc Cornellà's avatar
      Fix open_command nohup call · fea74b4b
      Marc Cornellà authored
      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
  3. 27 Nov, 2015 2 commits
  4. 09 Oct, 2015 2 commits
  5. 05 Oct, 2015 1 commit
  6. 04 Oct, 2015 1 commit
  7. 23 Sep, 2015 3 commits
  8. 10 Sep, 2015 1 commit
  9. 05 Sep, 2015 3 commits
    • Marc Cornellà's avatar
      Switch off line wrapping in case dots occupy extra line · b42efeb8
      Marc Cornellà authored
      This commit uses the (hopefully) standard rmam and smam escape sequences
      which toggle off and on line wrapping respectively.
      
      This is so that extra dots that don't fit the current line won't be
      displayed in the next line, which would in turn make the shell
      display a new prompt on the next line after the dots are hidden.
      
      I've added a check for $terminfo rmam and smam values to be sure we have
      them before printing them out.
      
      If this commit breaks something post an issue with your terminal
      emulator and $TERM value and we'll figure out what went wrong.
      b42efeb8
    • Marc Cornellà's avatar
      Use prompt expansion sequence to color red the output · 6a8d406e
      Marc Cornellà authored
      This makes it clearer and possibly more portable for different
      platforms.
      6a8d406e
    • Marc Cornellà's avatar
      Use proper if comparison · 3976e040
      Marc Cornellà authored
      3976e040
  10. 04 Sep, 2015 1 commit
    • Andrew Janke's avatar
      diagnostics: switch to shasum, filter sysinfo using lines · 46ddd88f
      Andrew Janke authored
      shasum seems more widely available than md5/md5sum, and we don't have to worry about dealing with the different signatures and output formats of md5 and md5sum then.
      
      sysinfo outputs localized message labels, so we can't just grep for "OS Type". But OS is the first thing it outputs, so we can probably just grab those lines by line number. Switched to doing that.
      46ddd88f
  11. 18 Aug, 2015 3 commits
  12. 09 Aug, 2015 2 commits
  13. 04 Aug, 2015 1 commit
  14. 01 Aug, 2015 1 commit
  15. 22 Jul, 2015 1 commit
  16. 11 Jul, 2015 2 commits
    • leycec's avatar
      Insecure completion handler added. · dcb175d4
      leycec authored
      A new "lib/compfix.zsh" script defining a new handle_completion_insecurities()
      function has been added, which handles insecure completion directories by
      notifying users of said insecurities and moving away all existing completion
      caches to a temporary directory. While intended to be called at startup, this
      function is generally callable at any time (e.g., for testing).
      dcb175d4
    • Bin Huang's avatar
  17. 10 Jul, 2015 1 commit
  18. 28 Jun, 2015 1 commit
  19. 15 Jun, 2015 2 commits
  20. 10 Jun, 2015 4 commits
  21. 06 Jun, 2015 3 commits
  22. 30 May, 2015 1 commit