Check OS earlier in the script
This commit is contained in:
parent
fa8a1e82ec
commit
e25a48e1f8
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -3009,9 +3009,9 @@ getargs() {
|
|||
# Call Functions and Finish Up {{{
|
||||
|
||||
main() {
|
||||
getos
|
||||
getdefaultconfig 2>/dev/null
|
||||
getargs "$@"
|
||||
getos
|
||||
|
||||
# Restore cursor and clear screen on ctrl+c
|
||||
trap 'printf "\033[?25h"; clear; exit' 2
|
||||
|
|
Loading…
Reference in a new issue