mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Put find output in a separate variable
It turned out that it did not work in one go (it complained about not possible substitution). When using separate LOC variable it did work.
This commit is contained in:
parent
09ba3e53f6
commit
8cc0572958
@ -6,8 +6,10 @@
|
|||||||
# to clean up.
|
# to clean up.
|
||||||
|
|
||||||
# Adds `~/.local/bin` to $PATH
|
# Adds `~/.local/bin` to $PATH
|
||||||
export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}"
|
LOC=$(find ~/.local/bin -type d -printf %p:)
|
||||||
|
export PATH="$PATH:${LOC%%:}"
|
||||||
|
|
||||||
|
unset LOC
|
||||||
unsetopt PROMPT_SP
|
unsetopt PROMPT_SP
|
||||||
|
|
||||||
# Default programs:
|
# Default programs:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user