chore: fix clear on non nix systems
This commit is contained in:
parent
254b37c046
commit
f56cdeea7c
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user