summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-03lib: use `command` to run rm in upgrade function (#8696)Marek Dědič
2020-03-02random: remove random theme from possible themes to choose fromMarc Cornellà
...preventing an infinite loop.
2020-03-02Merge branch 'update/jira-plugin'Marc Cornellà
Closes #6506 Closes #6950 Closes #7962
2020-03-02Some tweaks to the Jira pluginJosh Christopherson
[x] Updating `branch` command to be compatible with git-flow style branches by removing any prefix before attempting to go to the ticket number in Jira. [x] Removing the switch between /browse/ and /issues/ based off of the `JIRA_RAPID_BOARD` setting - as all issues are under browse now it seems.
2020-03-02Clean up jira functionMarc Cornellà
2020-03-02Better support for branch nameRoToRx88
Enable to get issue from branch prefixed with it and delimited by '_'
2020-03-02Uppercase the issue in open issue command in the JIRA pluginMatthew Manuel
2020-03-02sdk: add support for local versions and optimize sed calls (#7870)Andrea Nanni
* Added support for local sdk versions Added support for local versions (prefixed by '+'), so they are filtered out in _listInstallableVersions() and they are displayed correctly by _listAllVersion() * Optimize sed calls Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-03-02python: add pyuserpaths function (#7758)0b10
Summary Make it get a list of installed interpreters, and add the relevant local (HOME) site-packages directory to PYTHONPATH. Reason To easily add all relevant paths, initially, and between upgrades. Add check for PYTHONUSERBASE Summary Check for a non-standard install directory, use it if one exists, otherwise use ~/.local. Reason Allow users to specify their own installation directory, without affecting functionality.
2020-03-02command-not-found: speed up call to Homebrew command-not-found (#7740)Hielke Walinga
By sourcing brew files directly we can achieve a very high speed up. This will not work if the user installed homebrew in a different location than by default.
2020-03-02shrink-path: add minimum length and ellipsis symbol options (#7382)Pavel N. Krivitsky
* Added minimum length and ellipsis symbol options for the shrink-path plugin. * Replaced tab indentation with space indentation for the shrink-path plugin. * Added handling of multicharacter ellipsis, and updated documentation and README for the shrink-path plugin.
2020-03-02minikube: cache command completions (#7446)Pavel Fokin
2020-03-02pip: add local Python package files to completion (#7442)Dan D'Avella
2020-03-02lib: use grep-alias cache only if ZSH_CACHE_DIR is writableMarc Cornellà
Fixes #8693
2020-03-01Document ZSH_THEME_RANDOM_BLACKLIST settingMarc Cornellà
2020-03-01Merge branch 'grep.zsh-improvements'Marc Cornellà
Closes #5085 Closes #7451 Closes #7265 Fixes #8444 Closes #8445
2020-03-01Refactor grep.zsh fileMarc Cornellà
- Move grep-alias path to variable. - Use <<< "" instead of piped echo to check grep flags. - Remove check for --color only since it's the same release as --exclude.
2020-03-01Fast algorithm to determine grep alias flagsMarc Cornellà
This version tries whether grep supports all the flags together and progressively checks older flags if the grep test fails. This means only one grep call if all flags are supported, and one additional call for every flag that's not supported, up to a maximum of 3 calls.
2020-03-01Performance enhancement for lib/grepmattmc3
- Use $ZSH_CACHE_DIR to store the grep alias with all the right features - Expire the cache after 24 hours - See issue #8444
2020-03-01Ignore .tox folder in grepShi Yan
2020-03-01Also set options for egrep and fgrepPeter Vandenberk
2020-03-01Exclude .idea folder from grep search scopeVital Kolas
2020-02-29Add git version requirement in documentationMarc Cornellà
2020-02-29updater: fix --autostash argument. Works for git > 1.7.1Marc Cornellà
See https://github.com/ohmyzsh/ohmyzsh/pull/7172#issuecomment-592875226
2020-02-28zsh_reload: respect `$ZDOTDIR` when searching for `.zshrc` (#7706)Alexander Schlarb
2020-02-28gitignore: add newline to `gi` output (#7586)Gianluca Recchia
* Add trailing new line at the end of output * Double-quote variable expansion
2020-02-28mercurial: add hga alias to README (#7547)Michal Kielan
2020-02-28mix: add format option to completion (#7256)Cody Fuller
2020-02-28gradle: fix command option name in completion (#6586)Wenbing Li
It should be `--rerun-tasks`, the original one miss a 's' at the end. See https://docs.gradle.org/current/userguide/command_line_interface.html
2020-02-28pass: update completion to upstream version (675a002e) (#6475)Sven Hergenhahn
2020-02-28fasd: cache full fasd initialisation script (#6097)Ville Lautanala
Using `fasd —-init auto` will first detect terminal and then call fasd again to generate the final initialisation script. Caching that gives a more significant performance boost.
2020-02-28stack: use builtin completion command (#6230)Joshua Pratt
2020-02-28lib: urlencode hostname in update_terminalapp_cwd (#6245)Stephen Heuer
Apple's Terminal doesn't open a new tab in your current directory if your hostname has UTF-8 characters in it. Percent encoding the host in addition to the path in update_terminalapp_cwd appears to solve this issue. Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-28composer: keep composer autocompletion when using global (#5933)Thomas Ruiz
2020-02-28kitchen: change sed regex in completion to capture all commands (#5820)Gustavo Maia
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-28lib: add support for clippaste in WSL using powershellMarc Cornellà
Source: https://github.com/microsoft/WSL/issues/4852#issuecomment-579616808
2020-02-28geeknote: update completion (#4986)Ján Koščo
Fixes Completion only working for first parameter
2020-02-28fancy-ctrl-z: ensure widgets are called with full context (#4838)mickk-on-cpp
This allows other plugins that hook e.g. accept-line to identify the fancy-ctrl-z widget as the caller and take appropriate steps when necessary. See https://github.com/tarruda/zsh-autosuggestions/issues/82#issuecomment-181133379
2020-02-27lib: add termux commands to clipboard.zsh (#6243)j
Closes #6243
2020-02-27lib: add support for clip.exe clipboard copy in WSLMarc Cornellà
2020-02-27lib: support additional clipboard types (#7996)Marc Cornellà
* clipboard: Reduce unnecessary special-casing on stdin Ideally the parameter would just be removed-users could always just do "clipcopy < some-file". but removing the parameter would break backwards compatibility. In any case, this simplifies the logic considerably. * clipboard: Avoid unnecessary re-detection each time Previously, OS detection would happen on each invocation. This makes it happen once (unless it fails, in which case it will try again on the next invocation). This has the additional benefit of localizing the platform-specific checks and commands, too, versus spreading them out in separate functions. * clipboard: Add support for several more clipboards This implements essentially the same heuristic as neovim, with the additional (existing) special support for Cygwin. See: https://github.com/neovim/neovim/blob/e682d799fa3cf2e80a02d00c6ea874599d58f0e7/runtime/autoload/provider/clipboard.vim#L55-L121 - pbcopy, pbpaste (macOS) - cygwin (Windows running Cygwin) - wl-copy, wl-paste (if $WAYLAND_DISPLAY is set) - xclip (if $DISPLAY is set) - xsel (if $DISPLAY is set) - lemonade (for SSH) https://github.com/pocke/lemonade - doitclient (for SSH) http://www.chiark.greenend.org.uk/~sgtatham/doit/ - win32yank (Windows) - tmux (if $TMUX is set) * clipboard: Fix tmux clipcopy after testing Tmux must have special handling for /dev/stdin since it's managing the terminal itself. This was tested with tmux-2.9a on macOS. * clipboard: Fix bad expansion of exit-code test
2020-02-27Merge branch 'master' into clipboardMarc Cornellà
2020-02-27Fix an issue with escape characters (#7979)Chai Feng
Co-authored-by: Francisco de Zuviría <FranciscodeZuviria@fusap.com.ar>
2020-02-27ng: refactor READMEMarc Cornellà
2020-02-27macports: add rdeps and rdependents completion (#4717)Guillermo del Fresno
2020-02-27jhbuild: add some missing commands and update README (#5195)Miguel Vaello Martínez
Commands: make, tinderbox. Closes #5195 Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-27jhbuild: add shell alias (#3707)Adrien Plazas
This adds "jhsh" as an alias for "jhbuild shell" to the JHBuild plugin.
2020-02-27norm: add hg prompt (#6725)Julian Parsert
2020-02-27nmap: add alias for ICMP scan (#4807)Ciacho
Closes #4807
2020-02-27python: add alias to run the proper IPython based on virtualenvPetr Bělohlávek
Current state: a user invokes `ipython` and is provided with the IPython instance regarding the `$PATH`. Proposed state: a user invokes `ipython` (which is a new alias in the *python plugin*) and is provided with the proper IPython instance regarding the currently activated virtualenv. Example: the user's default Python is 2.7 with installed IPython 2.7. User activates Python 3.5 virtualenv where he installs IPython 3.5. After activating the environment, one expects `ipython` to run the version 3.5, which does not happen by default. Instead, IPython 2.7 is used, which in counter-intuitive and often causes problem. Closes #5797