mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Change du|cut -> find; change tr|sed -> paste.
This commit is contained in:
parent
dcd68dac0d
commit
598824068b
@ -5,7 +5,7 @@ into sub-directories for easy management, and all are seamlessly added to
|
||||
`$PATH` with the command below in `~/.profile`:
|
||||
|
||||
```
|
||||
export PATH="$(du $HOME/.local/bin/ | cut -f2 | tr '\n' ':')$PATH"
|
||||
export PATH="$PATH:$(find "$HOME/.local/bin/" -type d | paste -sd:)"
|
||||
```
|
||||
|
||||
## `statusbar/`
|
||||
|
||||
2
.profile
2
.profile
@ -2,7 +2,7 @@
|
||||
# Profile file. Runs on login.
|
||||
|
||||
# Adds `~/.local/bin/` and all subdirectories to $PATH
|
||||
export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
|
||||
export PATH="$PATH:$(find "$HOME/.local/bin/" -type d | paste -sd: )"
|
||||
export EDITOR="nvim"
|
||||
export TERMINAL="st"
|
||||
export BROWSER="firefox"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user