chore: fix clear on non nix systems

This commit is contained in:
Andre Henriques 2023-07-19 20:09:47 +01:00
parent 254b37c046
commit f56cdeea7c

View File

@ -1,2 +1,8 @@
alias cclear /run/current-system/sw/bin/clear function cclear
if test -e /nix then
/run/current-system/sw/bin/clear
else
/bin/clear
end
end
alias clear "cclear && hyfetch" alias clear "cclear && hyfetch"