mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Use find instead of du to avoid calling cut
Also, add `~/.local/bin` to the start of $PATH
This commit is contained in:
parent
e928b366fe
commit
2092cee812
@ -6,7 +6,7 @@
|
|||||||
# to clean up.
|
# to clean up.
|
||||||
|
|
||||||
# Adds `~/.local/bin` to $PATH
|
# Adds `~/.local/bin` to $PATH
|
||||||
export PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':')"
|
export PATH="$(find "$HOME/.local/bin" -type d | paste -sd ':'):$PATH"
|
||||||
|
|
||||||
# Default programs:
|
# Default programs:
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user