Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
8793fdbe
Commit
8793fdbe
authored
May 03, 2018
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
theme: Fixes for bash3
parent
f6d93420
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
neofetch
neofetch
+4
-4
No files found.
neofetch
View file @
8793fdbe
...
@@ -32,7 +32,7 @@ shopt -s nocasematch
...
@@ -32,7 +32,7 @@ shopt -s nocasematch
reset="\e[0m"
reset="\e[0m"
# Neofetch default config.
# Neofetch default config.
read
array -t config <<'EOM
'
read
-rd '' config <<'EOF
'
# See this wiki page for more info:
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
print_info() {
...
@@ -801,7 +801,7 @@ stdout="off"
...
@@ -801,7 +801,7 @@ stdout="off"
# NOTE: Don't change this value, neofetch reads this to determine
# NOTE: Don't change this value, neofetch reads this to determine
# how to handle backwards compatibility.
# how to handle backwards compatibility.
config_version="3.4.1-git"
config_version="3.4.1-git"
EO
M
EO
F
# DETECT INFORMATION
# DETECT INFORMATION
...
@@ -7842,7 +7842,7 @@ get_user_config() {
...
@@ -7842,7 +7842,7 @@ get_user_config() {
config_file="${XDG_CONFIG_HOME}/neofetch/config.conf"
config_file="${XDG_CONFIG_HOME}/neofetch/config.conf"
# The config file doesn't exist, create it.
# The config file doesn't exist, create it.
printf "%s\n" "$
{config[@]}
" > "$config_file"
printf "%s\n" "$
config
" > "$config_file"
fi
fi
source "$config_file"
source "$config_file"
...
@@ -8625,7 +8625,7 @@ main() {
...
@@ -8625,7 +8625,7 @@ main() {
get_os
get_os
# Load default config.
# Load default config.
source /dev/stdin < <(printf "%s\
\n" "${config[@]}
")
source /dev/stdin < <(printf "%s\
n" "$config
")
get_args "$@"
get_args "$@"
[[ "$verbose" != "on" ]] && exec 2>/dev/null
[[ "$verbose" != "on" ]] && exec 2>/dev/null
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment