Indrajit Raychaudhuri
fe8f57b62f
completion: Add note about keep zcompdump younger than cache time
4 years ago
mattmc3
af520f0186
Ensure compinit updates its modified date
...
`compinit -i` doesn't always change zcompdump, which means that the
`compinit -C` condition fails to run until the completions change.
When we `compinit -i`, we should touch the file too to solve this.
4 years ago
Indrajit Raychaudhuri
c574975af4
prompt: Fixup `~/.zpreztorc` in p9k removal warning
4 years ago
Indrajit Raychaudhuri
ae2b759729
command-not-found: Update docs for Homebrew
...
Update documentation for Homebrew to indicate that a recent version of
Homebrew does not need to tap `command-not-found` Homebrew repository.
4 years ago
Indrajit Raychaudhuri
bbd86e4712
prompt: Update 'powerlevel9k' removal warning with instruction
4 years ago
Indrajit Raychaudhuri
b68e87f6ed
command-not-found: Simplify Homebrew on macOS setup
...
Now that 'command-not-found' helper loading has been significantly
simplified and the startup time improved in the official Homebrew tap,
the workaround for script detection (and caching) can be removed.
4 years ago
Indrajit Raychaudhuri
895be382d4
git: Autoload helper functions for 'run-help'
...
Now that, prezto is configured to lookup more specific 'run-help'
function, autoload the known one for git.
4 years ago
Indrajit Raychaudhuri
f718ed4661
utility: Autoload helper functions for 'run-help'
...
Now that, prezto is configured to lookup more specific 'run-help'
function, autoload the known ones for utility.
4 years ago
Indrajit Raychaudhuri
ec66c99cad
base: Allow loading more specific 'run-help' function
...
Allow loading more specific 'run-help' function from $fpath. This
allows automatically looking up specific sub-command helper if
available instead of the static default ('man').
See: ccc9cff9e2/Functions/Misc/run-help (L3-L8)
4 years ago
Poscat
03dce24639
Add support for zstd compressed tarballs to module 'archive'
4 years ago
Indrajit Raychaudhuri
645376b224
prompt: Make 'powerlevel9k' removal warning message friendlier
4 years ago
Indrajit Raychaudhuri
95816b1a61
prompt: Remove Powerlevel9k
...
Powerlevel9k has been marked deprecated and unmaintained by the author.
Powerlevel10k is now the recommended replacement.
See: https://github.com/Powerlevel9k/powerlevel9k#powerlevel9k-is-deprecated-and-now-unmaintained-please-use-powerlevel10k
4 years ago
Indrajit Raychaudhuri
2f65410fa4
history: Update doc to accommodate recent macOS
...
In recent versions of macOS (Catalina and above), `HISTFILE` is set
via system `/etc/zshrc`.
4 years ago
Indrajit Raychaudhuri
e915b5928d
history: Minor formatting update
4 years ago
Herobs
c8ec09f19f
osx module mand fix
...
> The {query} has to be percent-escaped in macOS 11.
Just replace `:` to `%3A` work fine.
But add function like this one I find on stackoverflow to encode the entire query string would be more robust.
```bash
urldecode() {
# urldecode <string>
local url_encoded="${1//+/ }"
printf '%b' "${url_encoded//%/\\x}"
}
```
4 years ago
Kenichi Kamiya
6e71c8b5a8
Enable `history-substring-search` as a default module
...
Resolves #1868
4 years ago
Yang Tang
1baff5021f
Update history-substring-search submodule to v1.0.2
4 years ago
Kenichi Kamiya
1ed7edec81
Fix a typo s/eigth/eighth/
4 years ago
Roman Perepelitsa
ce725dd41b
prompt: update powerlevel10k submodule to v1.14.6
...
Release notes:
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.14.6
4 years ago
Roman Perepelitsa
e939eb1da8
prompt: update powerlevel10k submodule to v1.14.5
...
Release notes:
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.14.5
4 years ago
Roman Perepelitsa
1a9e3c1171
prompt: update powerlevel10k submodule to v1.14.4
...
Release notes:
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.14.4
4 years ago
Roman Perepelitsa
ef084e6287
prompt: update powerlevel10k submodule to v1.14.3
...
Release notes:
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.14.0
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.14.1
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.14.2
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.14.3
4 years ago
Roman Perepelitsa
d5d5cf9f19
prompt: update powerlevel10k submodule to v1.13.0
...
Release notes: https://github.com/romkatv/powerlevel10k/releases/tag/v1.13.0
4 years ago
Matthieu PETIOT
bf7170c63b
Add ^_ mapping to undo in viins mode ( #1860 )
...
This allows to cancel a tab completion, as ^_ in emacs mode.
4 years ago
Olaf Conradi
64b5f7de43
Add check for empty WORKON_HOME ( #1861 )
...
When $WORKON_HOME is not set and $ENV_NAME is equal to
$PROJECT_ROOT/.venv which contains bin/activate then
the code wrongly assumes workon is available.
It should execute the second branch to source bin/activate.
4 years ago
Yasuharu Iida
f6bce93c5e
completion: bump version to tags/0.32.0 ( #1856 )
4 years ago
kwgchi
46ecb3285f
README: fix small grammatical error ( #1857 )
4 years ago
Austin Sloane
ee1d011534
utility, helper: add aliases to use with termux terminal emulator (android) ( #1859 )
4 years ago
Roman Perepelitsa
7dcd38cbb7
prompt: update powerlevel10k submodule to v1.12.0
...
Release notes: https://github.com/romkatv/powerlevel10k/releases/tag/v1.12.0
4 years ago
Zhiming Wang
9f07e3db72
git-info: use tab as separator for splitting ahead_and_behind ( #902 )
...
The current implementation is not tamper-proof against a modified IFS. See discussion in https://github.com/sorin-ionescu/prezto/pull/902 for details.
4 years ago
Joost Cassee
742148c6bd
Ask pyenv whether pip exists if installed ( #1848 )
...
Pyenv will install shims for commands that exist in any interpreter, even if it is not the current one. This means that a command may technically exist, but when executed will tell the user to try a different interpreter. The original check for pip in the Python module can fail for this reason, in particular on Ubuntu 20.04.
This change checks with pyenv whether pip really exists in the current interpreter to work around this problem and fixes a bug in pip command detection.
4 years ago
hidekuro
9f9b6f9257
Remove `--all` from git alias `glg` ( #1853 )
4 years ago
Texas Toland
2f58a96a04
Make .zcomp* location configurable ( #1842 )
5 years ago
Roman Perepelitsa
7f3e3815c1
prompt: update powerlevel10k submodule to v1.11.0
...
Release notes: https://github.com/romkatv/powerlevel10k/releases/tag/v1.11.0
5 years ago
Srijan R Shetty
94179fd596
Merge pull request #1836 from diraol/dro/git_pull_autostash
...
[git] Add git pull autostash alias
5 years ago
romkatv
0b9be3a52b
prompt: update powerlevel10k submodule to v1.10.0
...
Release notes:
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.8.0
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.8.1
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.8.2
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.9.0
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.9.1
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.10.0
5 years ago
Diego Rabatone Oliveira
7b82128925
[git] Add git pull autostash alias
...
Adds the gfma and gfra aliases with the `--autostash` flag.
5 years ago
Amyn
e0bb458ad6
Do not source history-substring-search if already loaded ( #1830 )
5 years ago
romkatv
c407975cf8
prompt: update powerlevel10k submodule to v1.7.0
...
Release notes:
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.6.0
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.6.1
- https://github.com/romkatv/powerlevel10k/releases/tag/v1.7.0
5 years ago
Zac Bergquist
824acb72e0
homebrew: load helper dependency
...
Updates #1815
5 years ago
Vladimir Bauer
b94b26429d
Use shallow clone for powerlevel9k and powerlevel10k submodules ( #1819 )
5 years ago
Srijan R Shetty
e98e1cfdd4
fix: regression in homebrew module ( #1816 )
5 years ago
Ackerley Tng
dee30fcdde
prompt: fix usage of zsh-async in sorin prompt ( #1810 )
5 years ago
Charith Amarasinghe
dc23eb21e3
Fix missing dependency on helper module for helpers added in #1793 ( #1811 )
...
PR #1793 introduced helper functions for OS detection in some modules.
These helpers require a module dependency on the 'helper' module.
5 years ago
romkatv
a09b0c19b2
prompt: update powerlevel10k submodule to v1.5.0
...
Release notes: https://github.com/romkatv/powerlevel10k/releases/tag/v1.5.0
5 years ago
Kaspar Vollenweider
b133a6df81
feat(helper): add os-type helper functions
...
Add the following functions:
- is-darwin
- is-linux
- is-bsd
- is-cygwin
And apply them everywhere I found code doing that what these functions do.
5 years ago
Kaleb Elwert
2e0eb3f4a9
Update syntax-highlighting module
5 years ago
romkatv
40aff195a1
prompt: update powerlevel10k submodule to v1.4.0
...
Release notes: https://github.com/romkatv/powerlevel10k/releases/tag/v1.4.0
5 years ago
romkatv
c0c2e05d6e
prompt: update powerlevel10k submodule to v1.3.0
...
Release notes: https://github.com/romkatv/powerlevel10k/releases/tag/v1.3.0
5 years ago
romkatv
d3cf99666c
use $TTY instead of $(tty); it's faster and more reliable
...
`tty` command infers the current TTY from file descriptor 0.
`$TTY` gives current TTY directly. The latter works even when
file descriptor 0 is redirected. It's also over 1000 times faster.
5 years ago