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
c87ae4bb
Commit
c87ae4bb
authored
Feb 28, 2016
by
dylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't create a config file in stdout mode.
parent
155c18e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
fetch
fetch
+5
-6
No files found.
fetch
View file @
c87ae4bb
...
@@ -2185,9 +2185,6 @@ getconfig () {
...
@@ -2185,9 +2185,6 @@ getconfig () {
return
return
fi
fi
# Make the directory if it doesn't exist
mkdir -p "
$HOME
/.config/fetch/
"
# Check
$HOME
/.config/fetch and create the
# Check
$HOME
/.config/fetch and create the
# dir/files if they don't exist.
# dir/files if they don't exist.
if [ -f "
$HOME
/.config/fetch/config
" ]; then
if [ -f "
$HOME
/.config/fetch/config
" ]; then
...
@@ -2217,9 +2214,6 @@ case "$@" in
...
@@ -2217,9 +2214,6 @@ case "$@" in
;;
;;
esac
esac
# If config files are enabled
[ "
$config
" == "
on
" ] && getconfig
# }}}
# }}}
...
@@ -2469,6 +2463,11 @@ done
...
@@ -2469,6 +2463,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
if [ "
$config
" == "
on
" ]; then
mkdir -p "
$HOME
/.config/fetch/
"
getconfig
fi
# Get colors / bold
# Get colors / bold
colors
colors
bold
bold
...
...
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