Makes CLS alias show neofetch if moonphase takes too long
This commit is contained in:
parent
f2cf627c12
commit
28e3ed005c
1 changed files with 2 additions and 3 deletions
|
@ -35,9 +35,8 @@ alias mkdir='mkdir -p'
|
||||||
# Shortcut for rewriting wp permalinks
|
# Shortcut for rewriting wp permalinks
|
||||||
alias perms='wp rewrite flush'
|
alias perms='wp rewrite flush'
|
||||||
|
|
||||||
#Clear terminal and screenfetch
|
#Clear terminal and try to get moon phase. If it takes longer than .5 seconds then it will show neofetch
|
||||||
#alias cls='clear; neofetch'
|
alias cls='clear; timeout 0.5s weather moon || neofetch'
|
||||||
alias cls='clear; weather moon'
|
|
||||||
|
|
||||||
#An alias for my standard less configuration
|
#An alias for my standard less configuration
|
||||||
#I don't set it to lessc because sometimes I don't use this config and I always forget how to ignore an alias
|
#I don't set it to lessc because sometimes I don't use this config and I always forget how to ignore an alias
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue