https://github.com/givensuman/zsh-allclear
a zsh plugin that clears your terminal
https://github.com/givensuman/zsh-allclear
Last synced: 3 months ago
JSON representation
a zsh plugin that clears your terminal
- Host: GitHub
- URL: https://github.com/givensuman/zsh-allclear
- Owner: givensuman
- License: mit
- Created: 2024-07-28T18:26:59.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T19:15:37.000Z (7 months ago)
- Last Synced: 2025-01-28T00:32:46.994Z (5 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### zsh-allclear
_As seen on [Awesome](https://github.com/unixorn/awesome-zsh-plugins)!_
A super tiny plugin (<10 LOC) that clears the terminal when you `cd` into `$HOME`. That's it.
### Installing
To install this, just put source the plugin file in your `~/.zshrc`
```shell
source /path/to/zsh-allclear.plugin.zsh
```or, use your favorite plugin manager:
#### Oh-My-Zsh
Run the following command
```shell
git clone https://github.com/givensuman/zsh-allclear ${ZSH_CUSTOM:-~/.oh-my-zsh/custom/}/plugins
```and add `zsh-allclear` to your plugin list in `~/.zshrc`
```
plugins=(
...
zsh-allclear
)
```#### zplug
Add the following to your `~/.zshrc`
```shell
zplug 'givensuman/zsh-allclear'
```#### zinit
Add the following to your `~/.zshrc`
```shell
zinit ice deptph "1"
zinit light givensuman/zsh-allclear
```### License
You know the drill, do whatever you want with this.