Skip to content

Commit

Permalink
fix: macos compilation (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
miki725 authored Feb 3, 2025
1 parent 7003139 commit 13c1737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/util.nim
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ elif hostOs == "macosx":
ac = "~/.zshrc"
acpath = resolvePath(ac)
srcLine = "source " & dst
lines = tryToLoadFile(acpath).splitLines()
contents = tryToLoadFile(acpath)
lines = contents.splitLines()
var
foundbci = false
foundci = false
Expand Down

0 comments on commit 13c1737

Please sign in to comment.