fish: Replace tput reset with tput clear

This should fix an issue where colors would previously get changed after
clearing the terminal.
This commit is contained in:
Donovan Glover 2023-06-09 21:50:36 -04:00
parent ce289bb112
commit e037c54561
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -54,7 +54,7 @@ in {
dl = "yt-dlp";
vol = "wpctl set-volume '@DEFAULT_AUDIO_SINK@'"; # Change the volume, e.g. vol 10%+, vol 10%-, vol 100%
nf = "tput reset; and neofetch --size 56%";
nf = "tput clear; and neofetch --size 56%";
df = "df --human-readable --type=ext4 --total";
du = "du --human-readable --summarize";
jis = "recode shift_jis..utf8"; # Easily convert shift_jis-encoded files to utf8
@ -64,7 +64,7 @@ in {
sw = "cd ~/nix-config && crystal spec tests/main.cr --progress --verbose && sudo nixos-rebuild switch --flake . --verbose";
st = "cd ~/nix-config && crystal spec tests/main.cr --progress --verbose";
c = "tput reset"; # Clear the terminal completely
c = "tput clear"; # Clear the terminal completely
e = "exit";
k = "kitty @ set-colors -c -a ~/.cache/wal/kitty";
l = "ls -l";