Skip to content

Commit

Permalink
Merge pull request #171 from morph027/master
Browse files Browse the repository at this point in the history
get real home directory
  • Loading branch information
Foggalong authored Apr 5, 2017
2 parents fc3c343 + 4173fc6 commit 05c9693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numix-folders
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fi

cuser="${SUDO_USER:-$USER}"

config_file=/home/"$cuser"/.config/numix-folders
config_file="$(eval echo "~$cuser")/.config/numix-folders"
if [ ! -f "$config_file" ];then
touch "$config_file"
fi
Expand Down

0 comments on commit 05c9693

Please sign in to comment.