Skip to content

Commit

Permalink
get real home directory
Browse files Browse the repository at this point in the history
  • Loading branch information
morph027 authored Feb 2, 2017
1 parent fc3c343 commit 4173fc6
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 4173fc6

Please sign in to comment.