An open API service indexing awesome lists of open source software.

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

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_retention

Contributions 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/)