Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
+ verbose=on
+ shift
+ '[' '' ']'
+ getdistro
+ '[' '' ']'
+ case "$os" in
+ grep -q Microsoft /proc/version
+ grep -q Microsoft /proc/sys/kernel/osrelease
+ type -p lsb_release
+ case "$distro_shorthand" in
++ lsb_release -sd
+ distro='Debian GNU/Linux 8.6 (jessie)'
+ distro='Debian GNU/Linux 8.6 (jessie)'
+ distro='Debian GNU/Linux 8.6 (jessie)'
+ '[' on == on ']'
++ uname -m
+ distro+=' x86_64'
+ '[' on == off ']'
+ '[' on == off ']'
+ '[' auto == auto ']'
++ trim 'Debian GNU/Linux 8.6 (jessie) x86_64'
++ set -f
++ builtin echo -E Debian GNU/Linux 8.6 '(jessie)' x86_64
++ set +f
+ ascii_distro='Debian GNU/Linux 8.6 (jessie) x86_64'
+ bold
+ case "$ascii_bold" in
+ ascii_bold=
+ case "$bold" in
+ bold='\033[1m'
+ colors
+ reset='\033[0m'
+ case "$ascii_distro" in
+ setcolors 1 7 3
++ color 1
++ case "$1" in
++ printf %b%s '\033[0m\033[31m'
+ c1=''
++ color 7
++ case "$1" in
++ printf %b%s '\033[0m\033[37m'
+ c2=''
++ color 3
++ case "$1" in
++ printf %b%s '\033[0m\033[33m'
+ c3=''
++ color ''
++ case "$1" in
++ printf %b%s '\033[38;5;m'
+ c4=''
++ color ''
++ case "$1" in
++ printf %b%s '\033[38;5;m'
+ c5=''
++ color ''
++ case "$1" in
++ printf %b%s '\033[38;5;m'
+ c6=''
+ '[' distro == distro ']'
+ title_color=''
+ at_color='\033[0m'
+ underline_color='\033[0m'
+ subtitle_color=''
+ colon_color='\033[0m'
+ info_color='\033[0m'
+ '[' 7 == 7 ']'
++ color 1
++ case "$1" in
++ printf %b%s '\033[0m\033[31m'
+ subtitle_color=''
+ '[' 1 == 7 ']'
+ '[' distro == distro ']'
++ color fg
++ case "$1" in
++ printf %b%s '\033[0m'
+ progress_color_elapsed=''
+ case "$progress_color_total $1" in
+ progress_color_total=''
+ '[' distro '!=' distro ']'
+ trap 'printf "\033[?25h"; clear; exit' 2
+ trap 'printf "\033[?25h"' EXIT
+ printf '\033[?25l\033[?7l'
+ '[' /home/rain/Pictures/4ea137f4ae01a9303268c5de53e10573.jpg '!=' off ']'
+ getimagebackend
+ '[' -n '' ']'
++ tycat
+ '[' '' ']'
+ image_backend=w3m
+ '[' w3m == w3m ']'
+ '[' /home/rain/Pictures/4ea137f4ae01a9303268c5de53e10573.jpg '!=' ascii ']'
+ getw3m_img_path
+ '[' -x /usr/lib/w3m/w3mimgdisplay ']'
+ return
+ getimage
+ type -p convert
+ case "$image" in
+ '[' -d /home/rain/Pictures/4ea137f4ae01a9303268c5de53e10573.jpg ']'
+ img=/home/rain/Pictures/4ea137f4ae01a9303268c5de53e10573.jpg
+ '[' -n /tmp/tmux-1000/default,3864,5 ']'
+ printf %b%s '\033Ptmux;\033\033[14t\033\033[c\033\'
+ read_flags='-d c'
+ builtin read -s -t 1 -d c -r term_size
+ '[' w3m == tycat ']'
+ term_size=
+ term_size=
+ term_size=
+ term_size=
+ term_height=
+ term_width=
+ '[' '!' -f /home/rain/Pictures/4ea137f4ae01a9303268c5de53e10573.jpg ']'
+ '[' 0 -le 5 ']'
+ '[' w3m '!=' tycat ']'
+ image=ascii
+ getascii
+ '[' '!' -f distro ']'
+ '[' distro '!=' distro ']'
+ '[' 4 -le 3 ']'
+ ascii='debian gnu/linux 8.6 (jessie) x86_64'
+ '[' normal == small ']'
+ '[' -f /usr/share/neofetch/ascii/distro/debian ']'
+ '[' -f /usr/local/share/neofetch/ascii/distro/debian ']'
+ getscriptdir
+ '[' '!' -f /home/rain/Development/neofetch/ascii/distro/debian ']'
+ ascii=/home/rain/Development/neofetch/ascii/distro/debian
++ eval printf '"\
${c2} _,met\$\$\$\$\$gg.
,g\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$P.
,g\$\$P\"\ \"\"\"Y\$\$.\".
,\$\$P'\'' \`\$\$\$.
'\'',\$\$P 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Y$$b.
`"Y$b._
`"""
"'
+ ascii_length=0
+ lines=1
+ IFS='\n'
+ read -r line
+ '[' 1 -gt 0 ']'
+ ascii_length=1
+ lines=2
+ IFS='\n'
+ read -r line
+ '[' 20 -gt 1 ']'
+ ascii_length=20
+ lines=3
+ IFS='\n'
+ read -r line
+ '[' 23 -gt 20 ']'
+ ascii_length=23
+ lines=4
+ IFS='\n'
+ read -r line
+ '[' 22 -gt 23 ']'
+ lines=5
+ IFS='\n'
+ read -r line
+ '[' 25 -gt 23 ']'
+ ascii_length=25
+ lines=6
+ IFS='\n'
+ read -r line
+ '[' 27 -gt 25 ']'
+ ascii_length=27
+ lines=7
+ IFS='\n'
+ read -r line
+ '[' 26 -gt 27 ']'
+ lines=8
+ IFS='\n'
+ read -r line
+ '[' 26 -gt 27 ']'
+ lines=9
+ IFS='\n'
+ read -r line
+ '[' 26 -gt 27 ']'
+ lines=10
+ IFS='\n'
+ read -r line
+ '[' 24 -gt 27 ']'
+ lines=11
+ IFS='\n'
+ read -r line
+ '[' 21 -gt 27 ']'
+ lines=12
+ IFS='\n'
+ read -r line
+ '[' 16 -gt 27 ']'
+ lines=13
+ IFS='\n'
+ read -r line
+ '[' 6 -gt 27 ']'
+ lines=14
+ IFS='\n'
+ read -r line
+ '[' 8 -gt 27 ']'
+ lines=15
+ IFS='\n'
+ read -r line
+ '[' 10 -gt 27 ']'
+ lines=16
+ IFS='\n'
+ read -r line
+ '[' 13 -gt 27 ']'
+ lines=17
+ IFS='\n'
+ read -r line
+ '[' 17 -gt 27 ']'
+ lines=18
+ IFS='\n'
+ read -r line
+ '[' 18 -gt 27 ']'
+ lines=19
+ IFS='\n'
+ read -r line
+ '[' 1 -gt 27 ']'
+ lines=20
+ IFS='\n'
+ read -r line
+ padding='\033[29C'
+ printf %b%s ' _,met$$$$$gg.
,g$$$$$$$$$$$$$$$P.
,g$$P"\ """Y$$.".
,$$P'\'' `$$$.
'\'',$$P ,ggs. `$$b:
`d$$'\'' ,$P"'\'' . $$$
$$P d$'\'' , $$P
$$: $$. - ,d$$'\''
$$\; Y$b._ _,d$P'\''
Y$$. `.`"Y$$$$P"'\''
 `$$b "-.__
 `Y$$
`Y$$.
`$$b.
`Y$$b.
`"Y$b._
`"""'
+ export LC_ALL=C
+ LC_ALL=C
+ '[' '!' -f /home/rain/Pictures/4ea137f4ae01a9303268c5de53e10573.jpg ']'
+ '[' 0 -le 5 ']'
+ err 'Your terminal doesn'\''t support \\033[14t, falling back to ascii mode.'
++ color 1
++ case "$1" in
++ printf %b%s '\033[0m\033[31m'
+ err+='[!]\033[0m Your terminal doesn'\''t support \\033[14t, falling back to ascii mode.
'
+ return
+ displayimage
+ '[' ascii '!=' ascii ']'
+ printf '\033[16A'
+ printf '\033[9999999D'
+ printinfo
+ info title
+ subtitle=title
+ '[' -z '' ']'
+ gettitle
+ eval 'output=$title'
++ output=rain@galactica
+ '[' -z rain@galactica ']'
++ trim rain@galactica
++ set -f
++ builtin echo -E rain@galactica
++ set +f
+ output=rain@galactica
+ case "$1" in
+ string='\033[1mrain@galactica'
+ string='\033[1mrain\033[0m@\033[1mgalactica'
+ length=14
+ '[' -z '' ']'
+ string='\033[1mrain\033[0m@\033[1mgalactica'
+ printf '%b%s\n' '\033[29C\033[1mrain\033[0m@\033[1mgalactica\033[0m'
+ info_height=1
+ info underline
+ subtitle=underline
+ '[' -z '' ']'
+ getunderline
+ eval 'output=$underline'
++ output=--------------
+ '[' -z -------------- ']'
++ trim --------------
++ set -f
++ builtin echo -E --------------
++ set +f
+ output=--------------
+ case "$1" in
+ string='\033[0m--------------'
+ '[' -z '' ']'
+ string='\033[0m--------------'
+ printf '%b%s\n' '\033[29C\033[0m--------------\033[0m'
+ info_height=2
+ info Model model
+ subtitle=Model
+ '[' -z model ']'
+ getmodel
+ eval 'output=$model'
++ output=
+ '[' -z '' ']'
+ return
+ info OS distro
+ subtitle=OS
+ '[' -z distro ']'
+ getdistro
+ eval 'output=$distro'
++ output='Debian GNU/Linux 8.6 (jessie) x86_64'
+ '[' -z 'Debian GNU/Linux 8.6 (jessie) x86_64' ']'
++ trim 'Debian GNU/Linux 8.6 (jessie) x86_64'
++ set -f
++ builtin echo -E Debian GNU/Linux 8.6 '(jessie)' x86_64
++ set +f
+ output='Debian GNU/Linux 8.6 (jessie) x86_64'
+ case "$1" in
+ string='\033[1mOS\033[0m'
+ string+='\033[0m: \033[0mDebian GNU/Linux 8.6 (jessie) x86_64'
+ length=40
+ '[' -z distro ']'
+ printf '%b%s\n' '\033[29C\033[1mOS\033[0m\033[0m: \033[0mDebian GNU/Linux 8.6 (jessie) x86_64\033[0m'
+ info_height=3
+ info Kernel kernel
+ subtitle=Kernel
+ '[' -z kernel ']'
+ getkernel
+ eval 'output=$kernel'
++ output=3.16.0-4-amd64
+ '[' -z 3.16.0-4-amd64 ']'
++ trim 3.16.0-4-amd64
++ set -f
++ builtin echo -E 3.16.0-4-amd64
++ set +f
+ output=3.16.0-4-amd64
+ case "$1" in
+ string='\033[1mKernel\033[0m'
+ string+='\033[0m: \033[0m3.16.0-4-amd64'
+ length=22
+ '[' -z kernel ']'
+ printf '%b%s\n' '\033[29C\033[1mKernel\033[0m\033[0m: \033[0m3.16.0-4-amd64\033[0m'
+ info_height=4
+ info Uptime uptime
+ subtitle=Uptime
+ '[' -z uptime ']'
+ getuptime
+ eval 'output=$uptime'
++ output='up 2 days, 11 hours, 12 minutes'
+ '[' -z 'up 2 days, 11 hours, 12 minutes' ']'
++ trim 'up 2 days, 11 hours, 12 minutes'
++ set -f
++ builtin echo -E up 2 days, 11 hours, 12 minutes
++ set +f
+ output='up 2 days, 11 hours, 12 minutes'
+ case "$1" in
+ string='\033[1mUptime\033[0m'
+ string+='\033[0m: \033[0mup 2 days, 11 hours, 12 minutes'
+ length=39
+ '[' -z uptime ']'
+ printf '%b%s\n' '\033[29C\033[1mUptime\033[0m\033[0m: \033[0mup 2 days, 11 hours, 12 minutes\033[0m'
+ info_height=5
+ info Packages packages
+ subtitle=Packages
+ '[' -z packages ']'
+ getpackages
+ eval 'output=$packages'
++ output=4172
+ '[' -z 4172 ']'
++ trim 4172
++ set -f
++ builtin echo -E 4172
++ set +f
+ output=4172
+ case "$1" in
+ string='\033[1mPackages\033[0m'
+ string+='\033[0m: \033[0m4172'
+ length=14
+ '[' -z packages ']'
+ printf '%b%s\n' '\033[29C\033[1mPackages\033[0m\033[0m: \033[0m4172\033[0m'
+ info_height=6
+ info Shell shell
+ subtitle=Shell
+ '[' -z shell ']'
+ getshell
+ eval 'output=$shell'
++ output=/bin/zsh
+ '[' -z /bin/zsh ']'
++ trim /bin/zsh
++ set -f
++ builtin echo -E /bin/zsh
++ set +f
+ output=/bin/zsh
+ case "$1" in
+ string='\033[1mShell\033[0m'
+ string+='\033[0m: \033[0m/bin/zsh'
+ length=15
+ '[' -z shell ']'
+ printf '%b%s\n' '\033[29C\033[1mShell\033[0m\033[0m: \033[0m/bin/zsh\033[0m'
+ info_height=7
+ info Resolution resolution
+ subtitle=Resolution
+ '[' -z resolution ']'
+ getresolution
+ eval 'output=$resolution'
++ output=1920x1080
+ '[' -z 1920x1080 ']'
++ trim 1920x1080
++ set -f
++ builtin echo -E 1920x1080
++ set +f
+ output=1920x1080
+ case "$1" in
+ string='\033[1mResolution\033[0m'
+ string+='\033[0m: \033[0m1920x1080'
+ length=21
+ '[' -z resolution ']'
+ printf '%b%s\n' '\033[29C\033[1mResolution\033[0m\033[0m: \033[0m1920x1080\033[0m'
+ info_height=8
+ info DE de
+ subtitle=DE
+ '[' -z de ']'
+ getde
+ eval 'output=$de'
++ output=GNOME
+ '[' -z GNOME ']'
++ trim GNOME
++ set -f
++ builtin echo -E GNOME
++ set +f
+ output=GNOME
+ case "$1" in
+ string='\033[1mDE\033[0m'
+ string+='\033[0m: \033[0mGNOME'
+ length=9
+ '[' -z de ']'
+ printf '%b%s\n' '\033[29C\033[1mDE\033[0m\033[0m: \033[0mGNOME\033[0m'
+ info_height=9
+ info WM wm
+ subtitle=WM
+ '[' -z wm ']'
+ getwm
+ eval 'output=$wm'
++ output='GNOME Shell'
+ '[' -z 'GNOME Shell' ']'
++ trim 'GNOME Shell'
++ set -f
++ builtin echo -E GNOME Shell
++ set +f
+ output='GNOME Shell'
+ case "$1" in
+ string='\033[1mWM\033[0m'
+ string+='\033[0m: \033[0mGNOME Shell'
+ length=15
+ '[' -z wm ']'
+ printf '%b%s\n' '\033[29C\033[1mWM\033[0m\033[0m: \033[0mGNOME Shell\033[0m'
+ info_height=10
+ info 'WM Theme' wmtheme
+ subtitle='WM Theme'
+ '[' -z wmtheme ']'
+ getwmtheme
+ eval 'output=$wmtheme'
++ output=Arc
+ '[' -z Arc ']'
++ trim Arc
++ set -f
++ builtin echo -E Arc
++ set +f
+ output=Arc
+ case "$1" in
+ string='\033[1mWM Theme\033[0m'
+ string+='\033[0m: \033[0mArc'
+ length=13
+ '[' -z wmtheme ']'
+ printf '%b%s\n' '\033[29C\033[1mWM Theme\033[0m\033[0m: \033[0mArc\033[0m'
+ info_height=11
+ info Theme theme
+ subtitle=Theme
+ '[' -z theme ']'
+ gettheme
+ eval 'output=$theme'
++ output='Arc [GTK2/3]'
+ '[' -z 'Arc [GTK2/3]' ']'
++ trim 'Arc [GTK2/3]'
++ set -f
++ builtin echo -E Arc '[GTK2/3]'
++ set +f
+ output='Arc [GTK2/3]'
+ case "$1" in
+ string='\033[1mTheme\033[0m'
+ string+='\033[0m: \033[0mArc [GTK2/3]'
+ length=19
+ '[' -z theme ']'
+ printf '%b%s\n' '\033[29C\033[1mTheme\033[0m\033[0m: \033[0mArc [GTK2/3]\033[0m'
+ info_height=12
+ info Icons icons
+ subtitle=Icons
+ '[' -z icons ']'
+ geticons
+ eval 'output=$icons'
++ output='Ultra-Flat [GTK2/3]'
+ '[' -z 'Ultra-Flat [GTK2/3]' ']'
++ trim 'Ultra-Flat [GTK2/3]'
++ set -f
++ builtin echo -E Ultra-Flat '[GTK2/3]'
++ set +f
+ output='Ultra-Flat [GTK2/3]'
+ case "$1" in
+ string='\033[1mIcons\033[0m'
+ string+='\033[0m: \033[0mUltra-Flat [GTK2/3]'
+ length=26
+ '[' -z icons ']'
+ printf '%b%s\n' '\033[29C\033[1mIcons\033[0m\033[0m: \033[0mUltra-Flat [GTK2/3]\033[0m'
+ info_height=13
+ info Terminal term
+ subtitle=Terminal
+ '[' -z term ']'
+ getterm
+ eval 'output=$term'
++ output=
+ '[' -z '' ']'
+ return
+ info 'Terminal Font' termfont
+ subtitle='Terminal Font'
+ '[' -z termfont ']'
+ gettermfont
+ eval 'output=$termfont'
++ output=
+ '[' -z '' ']'
+ return
+ info CPU cpu
+ subtitle=CPU
+ '[' -z cpu ']'
+ getcpu
+ eval 'output=$cpu'
++ output='Intel Core i5 750 (4) @ 2.7GHz'
+ '[' -z 'Intel Core i5 750 (4) @ 2.7GHz' ']'
++ trim 'Intel Core i5 750 (4) @ 2.7GHz'
++ set -f
++ builtin echo -E Intel Core i5 750 '(4)' @ 2.7GHz
++ set +f
+ output='Intel Core i5 750 (4) @ 2.7GHz'
+ case "$1" in
+ string='\033[1mCPU\033[0m'
+ string+='\033[0m: \033[0mIntel Core i5 750 (4) @ 2.7GHz'
+ length=35
+ '[' -z cpu ']'
+ printf '%b%s\n' '\033[29C\033[1mCPU\033[0m\033[0m: \033[0mIntel Core i5 750 (4) @ 2.7GHz\033[0m'
+ info_height=14
+ info GPU gpu
+ subtitle=GPU
+ '[' -z gpu ']'
+ getgpu
+ eval 'output=$gpu'
++ output='NVIDIA GeForce GTX 750'
+ '[' -z 'NVIDIA GeForce GTX 750' ']'
++ trim 'NVIDIA GeForce GTX 750'
++ set -f
++ builtin echo -E NVIDIA GeForce GTX 750
++ set +f
+ output='NVIDIA GeForce GTX 750'
+ case "$1" in
+ string='\033[1mGPU\033[0m'
+ string+='\033[0m: \033[0mNVIDIA GeForce GTX 750'
+ length=27
+ '[' -z gpu ']'
+ printf '%b%s\n' '\033[29C\033[1mGPU\033[0m\033[0m: \033[0mNVIDIA GeForce GTX 750\033[0m'
+ info_height=15
+ info Memory memory
+ subtitle=Memory
+ '[' -z memory ']'
+ getmemory
+ eval 'output=$memory'
++ output='7060MB / 16079MB'
+ '[' -z '7060MB / 16079MB' ']'
++ trim '7060MB / 16079MB'
++ set -f
++ builtin echo -E 7060MB / 16079MB
++ set +f
+ output='7060MB / 16079MB'
+ case "$1" in
+ string='\033[1mMemory\033[0m'
+ string+='\033[0m: \033[0m7060MB / 16079MB'
+ length=24
+ '[' -z memory ']'
+ printf '%b%s\n' '\033[29C\033[1mMemory\033[0m\033[0m: \033[0m7060MB / 16079MB\033[0m'
+ info_height=16
+ info linebreak
+ subtitle=linebreak
+ '[' -z '' ']'
+ getlinebreak
+ eval 'output=$linebreak'
++ output=' '
+ '[' -z ' ' ']'
++ trim ' '
++ set -f
++ builtin echo -E
++ set +f
+ output=
+ case "$1" in
+ string='\033[1mlinebreak\033[0m'
+ string+='\033[0m: \033[0m'
+ length=11
+ '[' -z '' ']'
+ string='\033[0m'
+ printf '%b%s\n' '\033[29C\033[0m\033[0m'
+ info_height=17
+ info cols
+ subtitle=cols
+ '[' -z '' ']'
+ getcols
+ eval 'output=$cols'
++ output='\033[0m\033[30m\033[40m% s\033[0m\033[31m\033[41m% s\033[0m\033[32m\033[42m% s\033[0m\033[33m\033[43m% s\033[0m\033[34m\033[44m% s\033[0m\033[35m\033[45m% s\033[0m\033[36m\033[46m% s\033[0m\033[37m\033[47m% s\033[0m'
+ '[' -z '\033[0m\033[30m\033[40m% s\033[0m\033[31m\033[41m% s\033[0m\033[32m\033[42m% s\033[0m\033[33m\033[43m% s\033[0m\033[34m\033[44m% s\033[0m\033[35m\033[45m% s\033[0m\033[36m\033[46m% s\033[0m\033[37m\033[47m% s\033[0m' ']'
++ trim '\033[0m\033[30m\033[40m% s\033[0m\033[31m\033[41m% s\033[0m\033[32m\033[42m% s\033[0m\033[33m\033[43m% s\033[0m\033[34m\033[44m% s\033[0m\033[35m\033[45m% s\033[0m\033[36m\033[46m% s\033[0m\033[37m\033[47m% s\033[0m'
++ set -f
++ builtin echo -E '\033[0m\033[30m\033[40m%' 's\033[0m\033[31m\033[41m%' 's\033[0m\033[32m\033[42m%' 's\033[0m\033[33m\033[43m%' 's\033[0m\033[34m\033[44m%' 's\033[0m\033[35m\033[45m%' 's\033[0m\033[36m\033[46m%' 's\033[0m\033[37m\033[47m%' 's\033[0m'
++ set +f
+ output='\033[0m\033[30m\033[40m% s\033[0m\033[31m\033[41m% s\033[0m\033[32m\033[42m% s\033[0m\033[33m\033[43m% s\033[0m\033[34m\033[44m% s\033[0m\033[35m\033[45m% s\033[0m\033[36m\033[46m% s\033[0m\033[37m\033[47m% s\033[0m'
+ case "$1" in
+ string='\033[1mcols\033[0m'
+ string+='\033[0m: \033[0m\033[0m\033[30m\033[40m% s\033[0m\033[31m\033[41m% s\033[0m\033[32m\033[42m% s\033[0m\033[33m\033[43m% s\033[0m\033[34m\033[44m% s\033[0m\033[35m\033[45m% s\033[0m\033[36m\033[46m% s\033[0m\033[37m\033[47m% s\033[0m'
+ length=221
+ '[' -z '' ']'
+ string='\033[0m\033[0m\033[30m\033[40m% s\033[0m\033[31m\033[41m% s\033[0m\033[32m\033[42m% s\033[0m\033[33m\033[43m% s\033[0m\033[34m\033[44m% s\033[0m\033[35m\033[45m% s\033[0m\033[36m\033[46m% s\033[0m\033[37m\033[47m% s\033[0m'
+ printf '%b%s\n' '\033[29C\033[0m\033[0m\033[30m\033[40m% s\033[0m\033[31m\033[41m% s\033[0m\033[32m\033[42m% s\033[0m\033[33m\033[43m% s\033[0m\033[34m\033[44m% s\033[0m\033[35m\033[45m% s\033[0m\033[36m\033[46m% s\033[0m\033[37m\033[47m% s\033[0m\033[0m'
+ info_height=18
+ dynamicprompt
+ '[' ascii '!=' ascii ']'
+ '[' 20 -lt 18 ']'
+ lines=-2
+ '[' ascii '!=' off ']'
+ printf '\033[0B'
+ '[' -2 -gt 0 ']'
+ printf %b%s '\033[?7h'
+ '[' off == on ']'
+ '[' on == on ']'
+ printf %b%s '[!]\033[0m Sourced default config (/home/rain/Development/neofetch/config/config)
[!]\033[0m Sourced user config (/home/rain/.config/neofetch/config)
[!]\033[0m Your terminal doesn'\''t support \\033[14t, falling back to ascii mode.
'
+ printf %s
+ printf '\033[?25h'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.