mirror of
https://github.com/ricoriedel/wipe.git
synced 2024-12-22 06:06:42 +00:00
#1 feat: add fish configuration file
This commit is contained in:
parent
979a820200
commit
ce2e4d898f
26
README.md
26
README.md
@ -13,18 +13,30 @@ cargo build --release
|
||||
cp ./target/release/wipe /usr/local/bin
|
||||
```
|
||||
|
||||
### ZSH
|
||||
There is a [zsh script](misc/wipe.zsh) which can be
|
||||
sourced to replace `clear` and `CTRL+L` with this program.
|
||||
### Shell Integration
|
||||
There are scripts for different shells which can be sourced to replace `clear` and `CTRL+L` with this program.
|
||||
The scripts are located in `misc/shell/`.
|
||||
|
||||
| Shell | Script |
|
||||
|:------|:-------------|
|
||||
| ZSH | `wipe.zsh` |
|
||||
| Fish | `wipe.fish` |
|
||||
|
||||
### Arch Linux
|
||||
There is an [AUR package](https://aur.archlinux.org/packages/wipe-term) called `wipe-term`.
|
||||
The zsh script can be sourced like this:
|
||||
The scripts can be integrated as follows:
|
||||
|
||||
#### ZSH
|
||||
Put this into your `.zshrc`:
|
||||
```shell
|
||||
source /usr/share/zsh/plugins/wipe/wipe.zsh
|
||||
```
|
||||
|
||||
#### Fish
|
||||
The package will place the script under `/usr/share/fish/vendor_conf.d/`
|
||||
which will be sourced by `fish` with no further configuration required.
|
||||
|
||||
## Showcase
|
||||
[![Animation 1](misc/rec-1.gif)]()
|
||||
[![Animation 2](misc/rec-2.gif)]()
|
||||
[![Animation 3](misc/rec-3.gif)]()
|
||||
[![Animation 1](misc/res/rec-1.gif)]()
|
||||
[![Animation 2](misc/res/rec-2.gif)]()
|
||||
[![Animation 3](misc/res/rec-3.gif)]()
|
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 2.6 MiB |
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.3 MiB |
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.4 MiB |
7
misc/shell/wipe.fish
Normal file
7
misc/shell/wipe.fish
Normal file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env fish
|
||||
|
||||
function clear
|
||||
command wipe
|
||||
end
|
||||
|
||||
bind \cl 'wipe; commandline -f repaint'
|
Loading…
Reference in New Issue
Block a user