Config: Remove '--config travis' in favor of '--config path/to/travis'
This commit is contained in:
parent
d68780385f
commit
a3c41033d2
2 changed files with 1 additions and 8 deletions
7
neofetch
7
neofetch
|
|
@ -3299,7 +3299,6 @@ get_default_config() {
|
|||
else
|
||||
[[ -z "$script_dir" ]] && script_dir="$(get_full_path "$0")"
|
||||
default_config="${script_dir%/*}/config/config"
|
||||
travis_config="${script_dir%/*}/config/travis"
|
||||
fi
|
||||
|
||||
if source "$default_config"; then
|
||||
|
|
@ -3316,12 +3315,6 @@ get_user_config() {
|
|||
err "Config: Sourced user config. (${config_file})"
|
||||
old_options
|
||||
return
|
||||
|
||||
elif [[ "$config_file" == "travis" ]]; then
|
||||
source "$travis_config"
|
||||
err "Config: Sourced user config. (${travis_config})"
|
||||
old_options
|
||||
return
|
||||
fi
|
||||
mkdir -p "${XDG_CONFIG_HOME}/neofetch/"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue