Skip to content

Commit

Permalink
fix(home): uninitialized variable in activation script
Browse files Browse the repository at this point in the history
  • Loading branch information
midchildan committed Sep 1, 2024
1 parent 7518db7 commit 4aabbe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/home/modules/emacs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ in
syncDoomEmacs() {
local oldEmacs newEmacs
oldEmacs="$(readlink -m "$oldGenPath/home-path/bin/emacs")"
oldEmacs="$(readlink -m "''${oldGenPath:-/nonexistent}/home-path/bin/emacs")"
newEmacs="$(readlink -m "$newGenPath/home-path/bin/emacs")"
if [[ "$newEmacs" == "$oldEmacs" ]]; then
return
Expand Down

0 comments on commit 4aabbe8

Please sign in to comment.