Fixes #224
This commit is contained in:
parent
90ea45d963
commit
45ccd8a010
1 changed files with 4 additions and 1 deletions
5
neofetch
5
neofetch
|
@ -513,7 +513,6 @@ getdistro () {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
distro=${distro//+( )/ }
|
distro=${distro//+( )/ }
|
||||||
ascii_distro="$distro"
|
|
||||||
|
|
||||||
# Get architecture
|
# Get architecture
|
||||||
[ "$os_arch" == "on" ] && \
|
[ "$os_arch" == "on" ] && \
|
||||||
|
@ -2902,7 +2901,11 @@ done
|
||||||
# Restore cursor and clear screen on ctrl+c
|
# Restore cursor and clear screen on ctrl+c
|
||||||
trap 'printf "\033[?25h"; clear; exit' 2
|
trap 'printf "\033[?25h"; clear; exit' 2
|
||||||
|
|
||||||
|
# Distro detection
|
||||||
getdistro
|
getdistro
|
||||||
|
[ -z "$ascii_distro" ] && ascii_distro="$distro"
|
||||||
|
|
||||||
|
# Text formatting
|
||||||
colors
|
colors
|
||||||
bold
|
bold
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue