Marc Cornellà
72928432f1
fix(plugins): fix potential command injection in `rand-quote` and `hitokoto`
...
The `rand-quote` plugin uses quotationspage.com and prints part of its content to the
shell without sanitization, which could trigger command injection. There is no evidence
that this has been exploited, but this commit removes all possibility for exploit.
Similarly, the `hitokoto` plugin uses the hitokoto.cn website to print quotes to the
shell, also without sanitization. Furthermore, there is also no evidence that this has
been exploited, but with this change it is now impossible.
5 years ago
Marc Cornellà
06fc5fb129
fix(dirhistory): fix unsafe eval bug in back and forward widgets
...
The plugin unsafely processes directory paths in pop_past and pop_future.
This commit fixes that.
5 years ago
Marc Cornellà
1448d234d6
fix(dirhistory): fix Up/Down key bindings for Terminal.app
...
Reference: https://github.com/ohmyzsh/ohmyzsh/commit/7f49494#commitcomment-60117011
5 years ago
Kirill Molchanov
22de1d304c
fix(command-not-found): pass arguments correctly in Termux ( #10403 )
5 years ago
Marc Cornellà
5c2440cb0c
style(frontend-search): rename completion file to `_frontend`
5 years ago
Kevin Burke
e86c6f5e7f
style: use `-n` flag in `head` and `tail` commands ( #10391 )
...
Co-authored-by: Marc Cornellà <hello@mcornella.com>
5 years ago
Shahin Sorkh
55682e3692
feat(tmux): set session name with `ZSH_TMUX_DEFAULT_SESSION_NAME` ( #9063 )
5 years ago
Marc Cornellà
90903779b9
refactor(percol): fix style, bind keys for vi-mode and remove dependencies
5 years ago
Jonathan Batchelor
b2f35a7b98
refactor(osx): Rename osx plugin to macos ( #10341 )
...
Apple changed the name of their operating system from OS X to macOS a number of years ago. This was overdue!
As per issue #10311
* refactor(osx): rename `osx` plugin to `macos`
* refactor(macos): Add symbolic link from old `osx` plugin name.
5 years ago
amnore
9a02515c7c
fix(command-not-found): pass arguments correctly in NixOS ( #10381 )
5 years ago
Michael Peick
79cf4b3ceb
feat(dirhistory): support urxvt terminal key binding ( #8370 )
...
Closes #8370
5 years ago
Marc Cornellà
7f494944e6
fix(dirhistory): fix ALT+Up/Down key bindings for Terminal.app
5 years ago
Marc Cornellà
49458b872d
docs(dirhistory): document OPT key alternative for macOS and fix style
...
Fixes #10350
5 years ago
YR Chen
1861b5f175
feat(xcode): support `Package.swift` as project file in `xc` ( #10358 )
5 years ago
Christophe Bliard
2e46b2a2dc
feat(fzf): support getting fzf from nix-darwin ( #10355 )
5 years ago
José Camelo Freitas
4f67b02a9f
feat(mix): update `mix` commands and descriptions ( #10273 )
5 years ago
Marc Cornellà
f1dd97bb2a
fix(ssh-agent): fix check for running `ssh-agent` process with hidepid /proc ( #8492 )
...
Fixes #8492
5 years ago
Rob Vadai
46f8765f4c
feat(osx): add `freespace` command to clean purgeable disk space ( #8762 )
...
Co-authored-by: Marc Cornellà <hello@mcornella.com>
5 years ago
Marc Cornellà
8c1495a18e
fix(ruby)!: rename aliases that start with `g` to `ge`
...
BREAKING CHANGE: all `gem` aliases that started with `g` now start
with `ge` to fix conflicting names with the `git` plugin. Also, the
`ghlp` alias is now renamed `geh`. Have a look at the plugin README
for more information.
Fixes #10320
5 years ago
Marc Cornellà
4b1f6d638f
feat(ruby): add multiple `gem` aliases ( #9005 )
...
Mostly empty commit to fix the changelog for merge at 6f4c7f64
5 years ago
Robby Russell
f83bb65d47
Swapping gh with ghlp as 'gh' is reserved for the Github CLI. #9005
5 years ago
Marc Cornellà
beeda72826
fix(ssh-agent): fix for bad `zstyle` command argument
...
Fixes #10282
5 years ago
Marc Cornellà
a0ac789f2a
feat(ssh-agent): allow lazy-loading SSH identities ( #6309 )
...
Fixes #7477
5 years ago
Arthur Maltson
9bd0ac9b00
feat(mvn): support using `mvnw` in multi-module projects ( #9413 )
5 years ago
Luka Markušić
6ac1ff6905
fix(git): fix directory parse from URL in `gccd` ( #10276 )
5 years ago
Michael Fryar
1c9a64ece6
feat(git): add `gswm` and `gswd` aliases ( #9897 )
...
Co-authored-by: Nathaniel Young <nathanielyoung95070@gmail.com>
5 years ago
Marc Cornellà
5fb204fa74
fix(battery): force battery percentage as integer
5 years ago
Marc Cornellà
9aeb967581
fix(battery): fix system check so Termux uses the correct method
5 years ago
Avneet Singh
f26a1ecdf0
feat(battery): add support for Android via Termux ( #9752 )
5 years ago
Ryan Voots
dc83d0b720
fix(battery): support `acpitool` and multiple batteries under Linux ( #9609 )
...
Co-authored-by: Marc Cornellà <hello@mcornella.com>
5 years ago
Cxarli
f0bbef1a07
feat(yarn): add global bin directory to `$PATH` ( #9410 )
...
Fixes #9177
Closes #9410
5 years ago
HoshinoArika
29b5c182be
feat(sublime): add support for Sublime Text 4 on Windows ( #10063 )
5 years ago
Ryan Zegray
7418814677
feat(z): update z to latest version ( #10267 )
5 years ago
Carlo Sala
bf7c1b160d
fix(git)!: rename `gdu` alias to `gdup` ( #10263 )
...
BREAKING CHANGE: the `gdu` alias has been renamed to `gdup` to avoid a
conflict with `go disk usage` (https://github.com/dundee/gdu ).
5 years ago
Ryan McAllen
9e41cffbf8
chore(chucknorris): add a few more Chuck Norris quotes ( #10210 )
5 years ago
Marc Cornellà
53c9661b00
refactor(chucknorris): refresh plugin code
5 years ago
Dapeng Gao
e5b9b80008
fix(gpg-agent): correctly overwrite `$SSH_AUTH_SOCK` and other improvements ( #7059 )
5 years ago
Marc Cornellà
49bc55f966
fix(docker-compose): fix for slow `docker compose` call on remote Docker contexts ( #10264 )
...
Fixes #10264
Co-authored-by: Frederick Zhang <frederick888@tsundere.moe>
5 years ago
Marc Cornellà
f793baf370
fix(jsontools): fix broken conditional in zsh 5.0.2 ( #10262 )
...
Fixes #10262
5 years ago
fanuch
714399a7c3
feat(git): add `gccd` alias to clone and cd into git repository ( #8220 )
...
Fixes #8216
Closes #8220
Co-authored-by: Nelson Estevão <nelsonmestevao@gmail.com>
5 years ago
Marc Cornellà
568584a9f5
fix(per-directory-history): fix use of global history on shell start ( #9008 )
...
Updated from upstream: https://github.com/jimhester/per-directory-history/blob/d2e291d/per-directory-history.zsh
Fixes #9007
Closese #9008
Co-authored-by: Sebastian Marsching <sebastian-git-2016@marsching.com>
5 years ago
Monson Shao
be4a952972
feat(cli)!: add `omz reload` command and deprecate `zsh_reload` plugin ( #9078 )
...
BREAKING CHANGE: the `zsh_reload` plugin is deprecated. Instead of using its `src`
function, use `omz reload` or `exec zsh` to reload zsh after making changes to
your `.zshrc` file.
Closes #9078
5 years ago
Dani Torramilans
56ab66b194
docs(python): update README to include new `py` alias ( #9995 )
5 years ago
TheTechRobo
717ece07ef
feat(mercurial): add `hg log` aliases ( #9979 )
...
Co-authored-by: Michał Kielan <kielanm@fb.com>
5 years ago
Emilien Escalle
d304635b8c
feat(yarn): add `ylnf` alias to fix linting problems ( #9219 )
5 years ago
Marc Cornellà
5dbb30342e
feat(yarn): update completion from zsh-completions (73505e4)
...
Fixes #10195
5 years ago
Marc Cornellà
a3289c11f6
feat(docker-compose): update completion (4fa72a0, 2021-01-19)
...
Source: https://github.com/docker/compose/blob/4fa72a0/contrib/completion/zsh/_docker-compose
Closes #9494
Co-authored-by: "Bakhir A.D" <Bakhir.A.D.st@gmail.com>
5 years ago
Marc Cornellà
c396efbee3
fix(docker-compose): support Compose V2 `docker compose` command ( #10248 )
5 years ago
Nikolas Garofil
adef0e6081
feat(git): run `gitk` in the background in `gk` and `gke` aliases ( #9657 )
5 years ago
Kaede Hoshikawa
c6c364317d
fix(pyenv): fix pyenv-virtualenv detection under macOS.
5 years ago