- 03 Mar, 2020 3 commits
-
-
Marc Cornellà authored
-
Marc Cornellà authored
`jobs %string` doesn't work correctly when run inside `$()`. `$jobstates` and `$jobtexts` is available in the current shell process, so even though we need to replicate a bit more logic, every type of `fg` invocation works correctly.
-
Marek Dědič authored
-
- 02 Mar, 2020 1 commit
-
-
Marc Cornellà authored
Fixes #8693
-
- 01 Mar, 2020 6 commits
-
-
Marc Cornellà authored
- 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.
-
Marc Cornellà authored
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.
-
mattmc3 authored
- Use $ZSH_CACHE_DIR to store the grep alias with all the right features - Expire the cache after 24 hours - See issue #8444
-
Shi Yan authored
-
Peter Vandenberk authored
-
Vital Kolas authored
-
- 28 Feb, 2020 2 commits
-
-
Stephen Heuer authored
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>
-
-
- 27 Feb, 2020 2 commits
-
-
j authored
Closes #6243
-
Marc Cornellà authored
-
- 24 Feb, 2020 1 commit
-
-
Marc Cornellà authored
Provides a different solution to #8332 and #8333
-
- 11 Feb, 2020 1 commit
-
-
Marc Cornellà authored
Fixes #8614
-
- 10 Feb, 2020 1 commit
-
-
Evan Chiu authored
Closes #4989 Co-authored-by: Marc Cornellà <marc.cornella@live.com>
-
- 16 Jan, 2020 1 commit
-
-
Andras Svraka authored
-
- 19 Nov, 2019 1 commit
-
-
Jacob Tomaw authored
Use add-zsh-hook to add functions to hooks. That way they won't be added again when doing `source ~/.zshrc` multiple times. Co-authored-by: Marc Cornellà <marc.cornella@live.com>
-
- 06 Nov, 2019 3 commits
-
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Wang Guan authored
$GIT_STATUS_IGNORE_SUBMODULES can be used to specify handling of submodules. It can be: not set : ignore dirty submodules (this was default zsh behavior) "git" : do not use "--ignore-submodules" and let git choose, this obeys setting in .gitmodules other : comes into "--ignore-submodules=$GIT_STATUS_IGNORE_SUBMODULES"
-
- 16 Oct, 2019 1 commit
-
-
Shahin Sorkh authored
-
- 19 Sep, 2019 1 commit
-
-
Marc Cornellà authored
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.
-
- 19 Aug, 2019 1 commit
-
-
Marc Cornellà authored
Fixes #7942
-
- 14 Jul, 2019 3 commits
-
-
Robert Estelle authored
-
Robert Estelle authored
Tmux must have special handling for /dev/stdin since it's managing the terminal itself. This was tested with tmux-2.9a on macOS.
-
Robert Estelle authored
-
- 12 Jul, 2019 3 commits
-
-
Robert Estelle authored
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)
-
Robert Estelle authored
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.
-
Robert Estelle authored
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.
-
- 07 Jul, 2019 1 commit
-
-
Erik Demaine authored
-
- 06 Jul, 2019 1 commit
-
-
Erik Demaine authored
-
- 11 May, 2019 1 commit
-
-
Marc Cornellà authored
Fixes #5499 Fixes #5569 Fixes #6338 Fixes #6654 Fixes #6255 Fixes #7632 Closes #7763 Co-authored-by: Daniel Galán y Martins <git@galan.de>
-
- 08 May, 2019 1 commit
-
-
Andrew Janke authored
Changes themes displaying RVM or other Ruby version info to use the central ruby_prompt_info function. This supports more Ruby versioning mechanisms, reduces copy-and-paste code, and avoids "zsh: no such file or directory: rvm-prompt" when run on machines that do not have RVM installed. Changes the prefix/suffix variable names to ZSH_THEME_RUBY_PROMPT_PREFIX and ZSH_THEME_RUBY_PROMPT_SUFFIX, since they apply to all Ruby versioning mechanisms, not just RVM. Allows empty ZSH_THEME_RUBY_PROMPT_PREFIX and ZSH_THEME_RUBY_PROMPT_SUFFIX.
-
- 07 May, 2019 1 commit
-
-
Marc Cornellà authored
-
- 22 Apr, 2019 1 commit
-
-
Yannis Mitsos authored
-
- 09 Apr, 2019 2 commits
-
-
Marc Cornellà authored
The 1.7.2 release was published in July 2010 [1]. It's about time to stop supporting older versions. Fixes #4583 [1] https://github.com/git/git/releases/tag/v1.7.2
-
David Remy authored
-
- 08 Apr, 2019 1 commit
-
-
Marc Cornellà authored
A default PS1 doesn't make sense: the user will either choose a theme or not care about a default prompt since they can set it themselves. Fixes #7054
-