Commit graph

4,711 commits

Author SHA1 Message Date
Mark Gardner
f695d1264b
fix(systemadmin): don't hardcode http20 network interface
The hardcoded `eth0` network interface in the `http20` function doesn't
exist on macOS. It's more reliable to dynamically determine the
appropriate interface, so this change checks what would be used to reach
Cloudflare's public 1.1.1.1 DNS service (yes, another hardcoded thing,
but at least it's common across the Internet) and uses that interface.

For example, on my macOS system, it returns either `en0` (Wi-Fi) or
`en7` (the Ethernet slot on my Thunderbolt dock).

On Linux, this uses the commonly installed `ip route` command from the
[iproute2](https://wiki.linuxfoundation.org/networking/iproute2)
project. The macOS port of some of these utilities is available from
[Homebrew](https://brew.sh) by running `brew install iproute2mac`.

This change also splits the pipeline in the function across multiple
lines per this project's
[Code Style Guide](https://github.com/ohmyzsh/ohmyzsh/wiki/Code-Style-Guide).
2025-03-07 11:57:38 -06:00
nasso
1c2127727a
feat(jj): enable dynamic completion (#13003) 2025-03-04 11:46:29 +01:00
nasso
30e516a3aa
feat(jj): add jujutsu plugin (#12292) 2025-03-03 17:15:43 +01:00
Dennis Dashkevich
8074eb8b46
fix(chruby): update brew sourcing for Apple Silicon (#12941)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-02-12 20:24:56 +01:00
Carlo Sala
4d9d346718
feat(asdf): support asdf v0.16 ahead
Co-authored-by: Valgard Trontheim <github@trontheim.de>

Closes #12964
Closes #12967
2025-02-12 20:15:25 +01:00
Daniel Mensinger
db32c6ccce
fix(mvn): handle directories in <relativePath> (#12957) 2025-02-04 13:37:02 +01:00
ohmyzsh[bot]
2343ad517d
feat(wd): update to v0.9.3 (#12954)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2025-02-02 07:50:33 +01:00
soemiran
1c34b0e67d
feat(terraform): support TF_DATA_DIR in tf_prompt_info (#12949) 2025-01-30 16:14:04 +01:00
Guspan Tanadi
33d4db7fee
docs(ember-cli): fix typo (#12945) 2025-01-29 14:59:04 +01:00
Carlo Sala
ce9a4a0196
feat(dnf): add dnf5 completion
Closes #12939
2025-01-26 14:25:45 +01:00
Marcus Voltolim
cc9259d6ad
docs(git-auto-fetch): fix typo (#12937) 2025-01-24 21:40:58 +01:00
Ken van der Eerden
5fd2059e5e
feat(jira): allow branch name customization (#12850)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-01-23 21:08:55 +01:00
shun095
d2e79501b2
fix(timer): minutes calculation logic (#12857) 2025-01-23 21:04:45 +01:00
fossdd
69410e7020
feat(foot): add foot plugin (#12849) 2025-01-23 20:43:27 +01:00
Thomas Boyer
1bae199736
fix(direnv): warn user if command not found (#12840)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-01-23 20:37:00 +01:00
Keith Bennett
bd0a5b2598
docs(chucknorris): add useful note (#12822) 2025-01-23 20:28:44 +01:00
jamesrtnz
9a0e22c184
feat(perl): add perlbrew auto activation (#12814)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-01-23 20:24:43 +01:00
Marc Cornellà
501f29f90c
fix(tailscale): fix completion binding for alias to Tailscale (#12928)
Fixes #12928
2025-01-23 20:14:47 +01:00
Marc Cornellà
cca4043238
feat(python): support multiple venvs via $PYTHON_VENV_NAMES (#12932) 2025-01-23 19:54:50 +01:00
ohmyzsh[bot]
d689aa289e
feat(gitfast): update to version v2.2 (#12923)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2025-01-19 11:20:14 +01:00
Nico Just
04cba220f7
feat(eza): add color-scale options (#12841) 2025-01-15 12:40:52 +01:00
Michele Bologna
7a3695aadf
fix(grc): add linuxbrew path (#12903) 2025-01-12 14:25:00 +01:00
Thomas
cae2e45193
fix(rust): call rustc through rustup run (#12901) 2025-01-10 14:17:49 +01:00
Bhanu
5c17bcd21f
feat(web-search): add perplexity.ai (#12815) 2025-01-08 09:34:00 +01:00
ohmyzsh[bot]
048e166c9e
feat(z): update to dd94ef04 (#12862)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2024-12-22 11:46:24 +01:00
Federico François
b9e73b4481
docs(per-directory-history): add variable docs (#12844) 2024-12-15 23:40:09 +01:00
Jonathan Stacks
69a6359f7c
feat(ngrok): add completion plugin (#12826) 2024-11-28 09:57:21 +01:00
ohmyzsh[bot]
366d254352
feat(wd): update to v0.9.2 (#12820)
All checks were successful
CI / Run tests (push) Has been skipped
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2024-11-24 13:25:13 +01:00
Bin Chang
ccbe504f22
chore: fix some typos (#12818) 2024-11-21 09:01:48 +01:00
Chris Texe
6c91a5e389
feat(laravel): add alias for optimize:clear (#12793)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-11-20 10:04:46 +01:00
Markus Hofbauer
9991822f8c
feat(bazel): add bzlmod integrity gen function (#12797)
All checks were successful
CI / Run tests (push) Has been skipped
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-11-19 21:20:58 +01:00
Matheus Pimenta
1b9d6e5c82
feat(timoni): add completion plugin (#12802) 2024-11-19 21:11:51 +01:00
Marc Cornellà
2e8d2d7401
fix(pipenv): fix auto-shell functionality when cd-ing out (#12813)
Co-authored-by: Jean-Tiare Le Bigot <jt@yadutaf.fr>
2024-11-19 21:05:34 +01:00
nervo
9ad764d80c
feat(vault): re-introduce vault plugin (#12753)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-11-19 20:47:20 +01:00
Hu Yufan
e636eeb696
fix(tailscale): load completion when tailscale is an alias (#12726)
This makes it work when Tailscale is installed via App Store:
https://tailscale.com/kb/1080/cli?tab=macos.

Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-11-19 20:34:28 +01:00
Olivier Mehani
081d704f32
feat(pyenv): add prompt customization (#12738)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-11-19 20:32:01 +01:00
Marc Cornellà
b5d52682ca
fix(dash): urlencode special parameters like : in query (#12811)
In macOS, using queries such as `dash php:enum` does not open Dash.app,
possibly due to colon character being interpreted as a port.

URL-encoding the parameter (: -> %3A) makes this work again.

Fixes https://discord.com/channels/642496866407284746/809850042575093760/1308076125456437300
2024-11-19 15:43:04 +01:00
Kate Sullivan
ca5471fe49
fix(poetry-env): switch venv between poetry dirs (#12804)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-11-14 09:00:48 +01:00
drjaska
7ed475cb58
feat(autojump): add termux install path (#12791) 2024-11-03 06:35:58 -08:00
Marc Cornellà
fa64758aea
fix(vagrant-prompt): make vagrant_prompt_info generic for any state (#12782) 2024-10-27 17:31:38 +01:00
Marc Cornellà
68d189cb35
fix(last-working-dir): save working directory more strictly (#11343)
Fixes #11343
2024-10-27 16:03:32 +01:00
Marc Cornellà
45516ca1d8
docs(jsontools): document requirements
Fixes #10834
2024-10-27 15:13:58 +01:00
Carlo Sala
eeb01c18c1
fix(websearch): allow multi-word parameters 2024-10-23 12:37:25 +02:00
nervo
7bbebcd520
feat(rclone): create completion plugin (#12754) 2024-10-22 21:51:40 +02:00
Lin
067558da92
docs(volta): fix typo (#12765) 2024-10-17 10:01:07 +02:00
Lin
8da75e390b
feat(buf): add completion plugin 2024-10-17 10:00:29 +02:00
Carlo Sala
1b5af717a9
fix(pm2): update completion
Closes #12733
2024-10-16 21:10:55 +02:00
nervo
9ae155336f
feat(scw): use official scw completion (#12755) 2024-10-16 20:57:04 +02:00
Carlo Sala
09a9467200
Revert "feat(ssh-agent): add keys regardless of filename (#12741)" (#12761)
This reverts commit d2d5155d41.

Closes #12743
Closes #12745
Closes #12758
2024-10-15 13:02:12 +02:00
ohmyzsh[bot]
a82f6c79ab
feat(wd): update to f0f47b71 (#12747)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2024-10-13 21:10:29 +02:00