Update README.md

This commit is contained in:
Nicolas 2022-04-15 14:30:00 +02:00
parent 784464c96c
commit 0ef8a0d39b

View File

@ -7,11 +7,29 @@ Download options can be found in the [release tab](https://github.com/ricoriedel
## Configuration ## Configuration
All configuration is done using command line parameters. 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`. For a list of parameters, execute `wipe -h`.
Note that some parameters like `--color` can be specified multiple times with different values. 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 ## Showcase
[![Circle](doc/circle.gif)]() [![Circle](doc/circle.gif)]()
[![Rhombus](doc/rhombus.gif)]() [![Rhombus](doc/rhombus.gif)]()