Skip to content

Commit

Permalink
Update rc_awesome.xsh
Browse files Browse the repository at this point in the history
  • Loading branch information
anki-code authored Jan 9, 2025
1 parent da47df2 commit f47ef91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xontrib/rc_awesome.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ if ON_LINUX or ON_DARWIN:
for p in [p'/home/linuxbrew/.linuxbrew/bin', p'~/.local/bin'.expanduser(), p'/opt/homebrew/opt/coreutils/libexec/gnubin']:
if p.exists():
$PATH.append(str(p)) # or `$PATH.prepend()`

# Remember that variables from for-loop stay in a name space.
# Pack the for loops into the functions or delete variables manually to keep name space clean.
del p


if $XONSH_INTERACTIVE:
Expand Down

0 comments on commit f47ef91

Please sign in to comment.