1. 10 Feb, 2015 3 commits
    • Marc Cornellà's avatar
      Emulate zsh in zlewidgets instead of static setopt command · 999bab18
      Marc Cornellà authored
      This way the user can keep their preferred pushd syntax while enabling
      us to use a standard syntax in our defined functions.
      
      To explain further, without a clear value on the PUSHD_MINUS option, we
      could be changing the +1/-0 values all we want, that some user would
      find that it didn't work for him.
      
      We have two options, then:
      - Setting a particular value, which was my first approach.
      - Using `emulate -L zsh` to ensure all options defined in the function's
        body won't be passed along to the main zsh instance.
        For more info see:
        http://zsh.sourceforge.net/Doc/Release/Shell-Builtin-Commands.html#index-emulate
      999bab18
    • Marc Cornellà's avatar
      e93fd939
    • Marc Cornellà's avatar
      Clean up and fix +1/-0 syntax to work as expected · 5fe22fcb
      Marc Cornellà authored
      This change follows this proposed behaviour:
      
       Ctrl+Shift+Left:  move to last visited directory
       Ctrl+Shift+Right: move to next visited directory
      
      an alternative behaviour would be:
      
       Ctrl+Shift+Left:  move directory to the left in `dirs` output
       Ctrl+Shift+Right: move directory to the right in `dirs` output
      
      It also introduces `setopt nopushdminus` as a way to standardise
      pushd syntax. It's value wasn't clear before, which has been the
      cause of so many pull requests regarding this plugin not working
      in some environments.
      5fe22fcb
  2. 09 Feb, 2015 3 commits
  3. 01 Feb, 2015 1 commit
    • Marc Cornellà's avatar
      Switch newer-than logic to get the desired behavior · e6045879
      Marc Cornellà authored
      In the old version, the function returned true (0) if the cache file
      was newer than the Cakefile, which was *always* unless the Cakefile
      had been updated. Therefore we generated the file every time unless
      the Cakefile was updated, which was precisely when we needed to
      regenerate the cache file.
      
      Now it generates the cache file only when the Cakefile has been
      updated.
      e6045879
  4. 12 Jan, 2015 2 commits
  5. 08 Jan, 2015 1 commit
  6. 07 Jan, 2015 1 commit
    • Jyrki Pulliainen's avatar
      virtualenvwrapper: Deactivate only if in virtualenv · 833e6f59
      Jyrki Pulliainen authored
      If user manually deactivates the virtualenv when using this mode, zsh
      will produce following error:
      
          deactivate:12: command not found: virtualenv_deactivate
      
      To avoid this, check that the VIRTUAL_ENV flag is set before trying to
      automatically deactivate the virtual environment.
      
      Fixes #2185
      833e6f59
  7. 18 Dec, 2014 1 commit
  8. 16 Dec, 2014 1 commit
  9. 15 Dec, 2014 3 commits
  10. 14 Dec, 2014 1 commit
  11. 12 Dec, 2014 2 commits
    • Ryan Robeson's avatar
      Add itunes shuffle command to OSX plugin. · 43a2e24c
      Ryan Robeson authored
      Added shuffle functionality to the itunes command in the OSX plugin.
      iTunes 12 doesn't support setting the "shuffle" property on the playlist
      from what I've read, so this simulates the user interacting with the
      iTunes interface. The toggle option "clicks" the shuffle button in the
      Now Playing area. This has the effect of toggling the shuffle setting on
      whatever is currently playing. The on and off options use the Shuffle
      menu bar items.
      
      Usage: itunes shuffle [on|off|toggle]
      43a2e24c
    • Pete "Peteches" McCabe's avatar
      Fixed output issues webith websearch plugin. · 1d2c1e8a
      Pete "Peteches" McCabe authored
      - if user has rm set as an alias to 'rm -i' user is prompted to whether to
        remove the nohup.out file.
      
       $ ddg fools
      	nohup: ignoring input and appending output to ‘nohup.out’
      	rm: remove regular empty file ‘nohup.out’?
      
      - if output redirected to a file nohup will not create nohup.out and rm is
        unecessary.
      1d2c1e8a
  12. 11 Dec, 2014 1 commit
  13. 04 Dec, 2014 1 commit
  14. 02 Dec, 2014 1 commit
  15. 01 Dec, 2014 1 commit
  16. 28 Nov, 2014 1 commit
    • benjaoming's avatar
      Throw an error message when $WORKON_HOME is not set · 4b05e548
      benjaoming authored
      Took me a while to figure this one out, and I have a default installation of virtualenvwrapper -- this is a soft fix, just put an error message. But perhaps the fix should be to use the default value `~/.virtualenvs`.
      4b05e548
  17. 26 Nov, 2014 1 commit
  18. 24 Nov, 2014 1 commit
  19. 16 Nov, 2014 2 commits
  20. 15 Nov, 2014 1 commit
  21. 08 Nov, 2014 1 commit
  22. 07 Nov, 2014 1 commit
  23. 06 Nov, 2014 3 commits
  24. 02 Nov, 2014 1 commit
  25. 28 Oct, 2014 1 commit
  26. 22 Oct, 2014 4 commits