neofetch: remove uneeded quotes
This commit is contained in:
parent
4952e220ca
commit
b81b69009e
1 changed files with 22 additions and 21 deletions
43
neofetch
43
neofetch
|
@ -28,12 +28,12 @@
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
|
|
||||||
version="6.1.0"
|
version=6.1.0
|
||||||
|
|
||||||
bash_version="${BASH_VERSION/.*}"
|
bash_version=${BASH_VERSION/.*}
|
||||||
sys_locale="${LANG:-C}"
|
sys_locale=${LANG:-C}
|
||||||
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}"
|
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-${HOME}/.config}
|
||||||
PATH="${PATH}:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec"
|
PATH=$PATH:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec
|
||||||
reset='\e[0m'
|
reset='\e[0m'
|
||||||
shopt -s nocasematch
|
shopt -s nocasematch
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ LC_ALL=C
|
||||||
LANG=C
|
LANG=C
|
||||||
|
|
||||||
# Fix issues with gsettings.
|
# Fix issues with gsettings.
|
||||||
export GIO_EXTRA_MODULES="/usr/lib/x86_64-linux-gnu/gio/modules/"
|
export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/
|
||||||
|
|
||||||
# Neofetch default config.
|
# Neofetch default config.
|
||||||
read -rd '' config <<'EOF'
|
read -rd '' config <<'EOF'
|
||||||
|
@ -819,25 +819,25 @@ EOF
|
||||||
get_os() {
|
get_os() {
|
||||||
# $kernel_name is set in a function called cache_uname and is
|
# $kernel_name is set in a function called cache_uname and is
|
||||||
# just the output of "uname -s".
|
# just the output of "uname -s".
|
||||||
case "$kernel_name" in
|
case $kernel_name in
|
||||||
"Darwin"): "$darwin_name" ;;
|
Darwin): "$darwin_name" ;;
|
||||||
"SunOS"): "Solaris" ;;
|
SunOS): Solaris ;;
|
||||||
"Haiku"): "Haiku" ;;
|
Haiku): Haiku ;;
|
||||||
"MINIX"): "MINIX" ;;
|
MINIX): MINIX ;;
|
||||||
"AIX"): "AIX" ;;
|
AIX): AIX ;;
|
||||||
"IRIX"*): "IRIX" ;;
|
IRIX*): IRIX ;;
|
||||||
"FreeMiNT"): "FreeMiNT" ;;
|
FreeMiNT): FreeMiNT ;;
|
||||||
|
|
||||||
"Linux" | "GNU"*)
|
Linux|GNU*)
|
||||||
: "Linux"
|
: Linux
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*"BSD" | "DragonFly" | "Bitrig")
|
*BSD|DragonFly|Bitrig)
|
||||||
: "BSD"
|
: BSD
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"CYGWIN"* | "MSYS"* | "MINGW"*)
|
CYGWIN*|MSYS*|MINGW*)
|
||||||
: "Windows"
|
: Windows
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
@ -846,7 +846,8 @@ get_os() {
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
os="$_"
|
|
||||||
|
os=$_
|
||||||
}
|
}
|
||||||
|
|
||||||
get_distro() {
|
get_distro() {
|
||||||
|
|
Loading…
Reference in a new issue