21 lines
327 B
Bash
21 lines
327 B
Bash
# helper for adding to PATH without duplicates
|
|
pathadd() {
|
|
if [ -d "$1" ] && [[ ":$PATH:" != *":$1:"* ]]; then
|
|
PATH="${PATH:+"$PATH:"}$1"
|
|
fi
|
|
}
|
|
|
|
pathadd ~/bin
|
|
pathadd ~/.local/bin
|
|
pathadd ~/frappy/bin
|
|
|
|
frappy() {
|
|
systemctl --user $1 frappy
|
|
}
|
|
|
|
boxweb() {
|
|
sudo systemctl $1 boxweb
|
|
}
|
|
|
|
. ~/.config/linse_profile
|