mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 10:06:39 +00:00
Trim Dotfile line before attempting to parse it
This commit is contained in:
@@ -81,7 +81,7 @@ parse-dotfile-default_action-option() {
|
||||
}
|
||||
|
||||
parse-dotfile-line() {
|
||||
local line="$1"
|
||||
local line="$(trim "$1")"
|
||||
local dotfile="$DOTFILE"
|
||||
if [ -n "$2" ]; then dotfile="$2"; fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user