mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Introducing x-cmd plugin for ohmyzsh
This commit is contained in:
parent
871d4b9816
commit
6563ae107e
2 changed files with 80 additions and 0 deletions
36
plugins/x-cmd/README.md
Normal file
36
plugins/x-cmd/README.md
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# X-CMD
|
||||
|
||||
To start using it, add the `x-cmd` plugin to your `plugins` array in `~/.zshrc`:
|
||||
|
||||
```zsh
|
||||
plugins=(... x-cmd)
|
||||
```
|
||||
|
||||
## Functions
|
||||
|
||||
### `x`
|
||||
|
||||
```zsh
|
||||
x yq # Using yq command to interract with YML. If yq is not avaiable in the machine. X-CMD will download and directly execute the binary on demand without installation. X-CMD try to avoid influence the environment and folder and always find the solution with least impact.
|
||||
|
||||
x fjo # Posix shell CLI to interactve with forgejo.
|
||||
x cb # Posix shell CLI to interactve with codeberg.
|
||||
|
||||
x nihao # For more information about using gpt, gemini, etc in terminal.
|
||||
```
|
||||
|
||||
### `m`
|
||||
|
||||
m for `machine`.
|
||||
|
||||
In mac, it is [`x mac`](https://x-cmd.com/mod/mac).
|
||||
In termux, it is [`x termux`](https://x-cmd.com/mod/termux).
|
||||
|
||||
```bash
|
||||
m ss # Info about systemsetup
|
||||
m app # List application status
|
||||
m wifi proxy enable :2023 # Set
|
||||
```
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue