Created
August 22, 2017 20:59
-
-
Save CallumHoward/4511e1a2adcc1c1676bbd5496a58bccf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ verbose=on | |
+ shift | |
+ [[ -n '' ]] | |
+ get_distro | |
+ get_bold | |
+ case "$ascii_bold" in | |
+ ascii_bold='\033[1m' | |
+ case "$bold" in | |
+ bold='\033[1m' | |
+ get_distro_colors | |
+ case "$ascii_distro" in | |
+ set_colors 2 1 | |
++ color 2 | |
++ case "$1" in | |
++ printf %b '\033[0m\033[32m' | |
+ c1='[0m[32m\033[1m' | |
++ color 1 | |
++ case "$1" in | |
++ printf %b '\033[0m\033[31m' | |
+ c2='[0m[31m\033[1m' | |
++ color '' | |
++ case "$1" in | |
++ printf %b '\033[38;5;m' | |
+ c3='[38;5;m\033[1m' | |
++ color '' | |
++ case "$1" in | |
++ printf %b '\033[38;5;m' | |
+ c4='[38;5;m\033[1m' | |
++ color '' | |
++ case "$1" in | |
++ printf %b '\033[38;5;m' | |
+ c5='[38;5;m\033[1m' | |
++ color '' | |
++ case "$1" in | |
++ printf %b '\033[38;5;m' | |
+ c6='[38;5;m\033[1m' | |
+ [[ '' != \o\f\f ]] | |
+ set_text_colors 2 1 | |
+ [[ distro == \d\i\s\t\r\o ]] | |
++ color 2 | |
++ case "$1" in | |
++ printf %b '\033[0m\033[32m' | |
+ title_color='[0m[32m' | |
+ at_color='\033[0m' | |
+ underline_color='\033[0m' | |
++ color 1 | |
++ case "$1" in | |
++ printf %b '\033[0m\033[31m' | |
+ subtitle_color='[0m[31m' | |
+ colon_color='\033[0m' | |
+ info_color='\033[0m' | |
+ (( 2 == 8 )) | |
+ (( 1 == 8 )) | |
+ (( 1 == 7 )) | |
+ (( 2 == 7 )) | |
+ [[ distro == \d\i\s\t\r\o ]] | |
++ color fg | |
++ case "$1" in | |
++ printf %b '\033[37m\033[0m' | |
+ bar_color_elapsed='[37m[0m' | |
+ case "$bar_color_total $1" in | |
++ color 1 | |
++ case "$1" in | |
++ printf %b '\033[0m\033[31m' | |
+ bar_color_total='[0m[31m' | |
+ ascii_file=raspbian | |
+ [[ distro != \d\i\s\t\r\o ]] | |
+ [[ screen-256color != \m\i\n\i\x ]] | |
+ trap 'printf "\033[?25h\033[?7h"' EXIT | |
+ printf '\033[?25l\033[?7l' | |
[?25l[?7l+ image_backend | |
+ [[ ! ascii =~ ^(off|ascii)$ ]] | |
+ case "${image_backend:-off}" in | |
+ get_ascii | |
+ [[ ! -f auto ]] | |
+ [[ ! auto =~ ^(auto|ascii)$ ]] | |
+ [[ auto =~ \.(png|jpg|jpe|jpeg|gif)$ ]] | |
+ [[ -d /usr/share/neofetch/ascii/distro ]] | |
+ [[ -d /usr/local/share/neofetch/ascii/distro ]] | |
+ [[ -d /data/data/com.termux/files/usr/share/neofetch/ascii/distro ]] | |
+ [[ -d /boot/home/config/non-packaged/share/neofetch/ascii/distro ]] | |
+ [[ -z /home/linuxbrew/.linuxbrew/Cellar/neofetch/3.2.0/bin/neofetch ]] | |
+ ascii_dir=/home/linuxbrew/.linuxbrew/Cellar/neofetch/3.2.0/bin/ascii/distro | |
+ image_source=/home/linuxbrew/.linuxbrew/Cellar/neofetch/3.2.0/bin/ascii/distro/raspbian | |
+ [[ ! -f /home/linuxbrew/.linuxbrew/Cellar/neofetch/3.2.0/bin/ascii/distro/raspbian ]] | |
+ to_off 'Ascii: Failed to find distro ascii, falling back to no ascii mode.' | |
+ err 'Ascii: Failed to find distro ascii, falling back to no ascii mode.' | |
++ color 1 | |
++ case "$1" in | |
++ printf %b '\033[0m\033[31m' | |
+ err+='[0m[31m[!]\033[0m Ascii: Failed to find distro ascii, falling back to no ascii mode.\n' | |
+ image_backend=off | |
+ text_padding= | |
+ return | |
+ [[ off != \o\f\f ]] | |
+ old_functions | |
+ type printinfo | |
+ get_cache_dir | |
+ case "$os" in | |
+ cache_dir=/tmp | |
+ print_info | |
[0m[1m[32m[1mpi[0m@[32m[1mraspberrypi[0m | |
[0m--------------[0m | |
[0m[31m[1mOS[0m[0m:[0m Raspbian GNU/Linux 8.0 (jessie) on Chrome OS armv6l[0m | |
[0m[31m[1mModel[0m[0m:[0m Raspberry Pi Model B Rev 2[0m | |
[0m[31m[1mKernel[0m[0m:[0m 4.9.35+[0m | |
[0m[31m[1mUptime[0m[0m:[0m 10 days, 12 hours, 2 mins[0m | |
[0m[31m[1mPackages[0m[0m:[0m 460[0m | |
[0m[31m[1mShell[0m[0m:[0m zsh 5.0.7[0m | |
[0m[31m[1mTerminal[0m[0m:[0m /dev/pts/0[0m | |
[0m[31m[1mCPU[0m[0m:[0m ARMv6-compatible processor rev 7 (v6l) (1) @ 7.00GHz[0m | |
[0m[31m[1mMemory[0m[0m:[0m 58MiB / 434MiB[0m | |
[C[0m[30m[40m [0m[31m[41m [0m[32m[42m [0m[33m[43m [0m[34m[44m [0m[35m[45m [0m[36m[46m [0m[37m[47m [0m | |
[C[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m [38;5;15m[48;5;15m [0m | |
+ dynamic_prompt | |
+ case "$image_backend" in | |
+ return | |
+ [[ off == *w3m* ]] | |
+ [[ off == \o\n ]] | |
+ [[ on == \o\n ]] | |
+ printf %b '[0m[31m[!]\033[0m Config: Default config not found, continuing...\n[0m[31m[!]\033[0m Config: Sourced user config. (/home/pi/.config/neofetch/config)\n[0m[31m[!]\033[0m Ascii: Failed to find distro ascii, falling back to no ascii mode.\n[0m[31m[!]\033[0m Info: Couldn'\''t detect Resolution.\n[0m[31m[!]\033[0m Info: Couldn'\''t detect DE.\n[0m[31m[!]\033[0m Info: Couldn'\''t detect WM.\n[0m[31m[!]\033[0m Info: Couldn'\''t detect WM Theme.\n[0m[31m[!]\033[0m Info: Couldn'\''t detect Theme.\n[0m[31m[!]\033[0m Info: Couldn'\''t detect Icons.\n[0m[31m[!]\033[0m Info: Couldn'\''t detect Terminal Font.\n[0m[31m[!]\033[0m Info: Couldn'\''t detect GPU.\n' | |
[0m[31m[!][0m Config: Default config not found, continuing... | |
[0m[31m[!][0m Config: Sourced user config. (/home/pi/.config/neofetch/config) | |
[0m[31m[!][0m Ascii: Failed to find distro ascii, falling back to no ascii mode. | |
[0m[31m[!][0m Info: Couldn't detect Resolution. | |
[0m[31m[!][0m Info: Couldn't detect DE. | |
[0m[31m[!][0m Info: Couldn't detect WM. | |
[0m[31m[!][0m Info: Couldn't detect WM Theme. | |
[0m[31m[!][0m Info: Couldn't detect Theme. | |
[0m[31m[!][0m Info: Couldn't detect Icons. | |
[0m[31m[!][0m Info: Couldn't detect Terminal Font. | |
[0m[31m[!][0m Info: Couldn't detect GPU. | |
+ [[ off == \o\n ]] | |
+ return 0 | |
+ printf '\033[?25h\033[?7h' | |
[?25h[?7h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment