PATH
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
Install using
|
||||||
|
```shell
|
||||||
|
git clone https://grief.ftp.sh/gitea/Grief/murex.git ~/.murex
|
||||||
|
~/.murex/hook install
|
||||||
|
```
|
||||||
|
|||||||
3
hooks/install/install-starship.sh
Normal file
3
hooks/install/install-starship.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
BIN_DIR=~/.murex/bin sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
||||||
8
hooks/shell/00-env.sh
Normal file
8
hooks/shell/00-env.sh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
murex-path-add() {
|
||||||
|
case "${PATH}" in
|
||||||
|
*"${1}"*);;
|
||||||
|
*) export PATH="${1}:${PATH}"
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
murex-path-add "${MUREX}/bin:${MUREX}/private/bin"
|
||||||
Reference in New Issue
Block a user