mirror of
https://github.com/ricoriedel/wipe.git
synced 2024-12-23 06:36:42 +00:00
Update README.md
This commit is contained in:
parent
784464c96c
commit
0ef8a0d39b
22
README.md
22
README.md
@ -7,11 +7,29 @@ Download options can be found in the [release tab](https://github.com/ricoriedel
|
||||
|
||||
## Configuration
|
||||
All configuration is done using command line parameters.
|
||||
If you want a persistent solution, you can add an alias to your `.bashrc` equivalent.
|
||||
|
||||
For a list of parameters, execute `wipe -h`.
|
||||
Note that some parameters like `--color` can be specified multiple times with different values.
|
||||
|
||||
If you want a persistent solution, you can add an alias to your `.bashrc` equivalent.
|
||||
```shell
|
||||
# Persistent config
|
||||
alias wipe='wipe -c red'
|
||||
|
||||
# Replace clear with wipe
|
||||
alias clear='wipe'
|
||||
```
|
||||
|
||||
If you are using `ZSH` as your shell, you can add a keyboard shortcut like this:
|
||||
```shell
|
||||
# Bind wipe to CTRL+W
|
||||
wipe-zle() {
|
||||
wipe
|
||||
zle reset-prompt
|
||||
}
|
||||
zle -N wipe-zle
|
||||
bindkey '^w' wipe-zle
|
||||
```
|
||||
|
||||
## Showcase
|
||||
[![Circle](doc/circle.gif)]()
|
||||
[![Rhombus](doc/rhombus.gif)]()
|
||||
|
Loading…
Reference in New Issue
Block a user