Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/idcrook/prezto-mojo
prezto module for mojo
https://github.com/idcrook/prezto-mojo
Last synced: 1 day ago
JSON representation
prezto module for mojo
- Host: GitHub
- URL: https://github.com/idcrook/prezto-mojo
- Owner: idcrook
- License: mit
- Created: 2023-10-19T22:36:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-19T23:29:30.000Z (over 1 year ago)
- Last Synced: 2025-01-14T04:13:36.830Z (7 days ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
prezto-mojo
============================
Mojo module for prezto.
Aliases that @idcrook uses for mojo
Install
-------To use, the module directory needs to be found in `pmodule-dirs`, so e.g. in `zpreztorc`:
```diff
# Add additional directories to load prezto modules from
-# zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
+zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
```It could also be placed in `/contrib` or `/modules` which are already in default `pmodule-dirs`.
```shell
cd $HOME/.zprezto-contrib
git clone https://github.com/idcrook/prezto-mojo.git mojo
# or alternatively
git submodule add https://github.com/idcrook/prezto-mojo.git mojo
```Configure
---------The module itself (above cloned to be named `kubernetes`) needs to be explicitly loaded in `${ZDOTDIR:-$HOME}/.zpreztorc`
Modules are loaded via `zstyle ':prezto:load' pmodule`
```
...
'utility' \
'completion' \
'mojo' \
...
```In mine, I've loaded it after `completion` module.
Aliases
-------- `kbk` `kubectl` base
- `kbn` with `kube-system` namespace#### Subcommand aliases
Acknowledgments
---------------