https://github.com/mohamedelashri/bottom-zsh
bottom aliases plugin for zsh
https://github.com/mohamedelashri/bottom-zsh
Last synced: 2 months ago
JSON representation
bottom aliases plugin for zsh
- Host: GitHub
- URL: https://github.com/mohamedelashri/bottom-zsh
- Owner: MohamedElashri
- License: mit
- Created: 2024-03-09T07:29:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-09T07:58:52.000Z (over 1 year ago)
- Last Synced: 2025-01-13T19:46:24.907Z (9 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bottom-zsh Plugin
[Bottom](https://github.com/ClementTsang/bottom) aliases plugin for zsh.
This plugin defines useful aliases that can be used for `Bottom`
## Installation
1. First, Install Bottom
```bash
brew install bottom
```
2. Clone this repository into zsh plugins folder
```bash
cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/MohamedElashri/bottom-zsh
```
or```bash
cd $ZSH_CUSTOM/plugins/
git clone https://github.com/MohamedElashri/bottom-zsh
```
3. Add the plugin to `/.zshrc`You should add `bottom-zsh` to the plugin list
`plugins=(... bottom-zsh)`
4. Restart the terminal session
## Usage/Examples
This project contain some useful aliasses that you can run in your terminal that zsh supported like `ITerm2`.You can type in the alias in your terminal. This is a list of available aliasses.
| Alias/Function Name | Command | Description |
|-------------------------|----------------------------------------------|---------------------------------------------------------------|
| `btm-basic` | `alias btm-basic='btm --basic'` | Launches btm in basic mode without graphs. |
| `btm-battery` | `alias btm-battery='btm --battery'` | Shows the battery widget. |
| `btm_temp` | `btm_temp ` | Sets the temperature scale (Celsius, Fahrenheit, Kelvin). |
| `btm_config` | `btm_config ` | Uses a custom configuration file. |
| `btm_rate` | `btm_rate ` | Sets the data refresh rate. |
| `btm_retention` | `btm_retentionContributions are always welcome!
Pull requests are welcome. I will try to they are compatible.
Please make sure to update tests as appropriate.
## License[MIT](https://choosealicense.com/licenses/mit/)