diff --git a/README.md b/README.md index e69de29..bfa0550 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,5 @@ +Install using +```shell +git clone https://grief.ftp.sh/gitea/Grief/murex.git ~/.murex +~/.murex/hook install +``` diff --git a/hooks/install/install-starship.sh b/hooks/install/install-starship.sh new file mode 100644 index 0000000..d4a6ee3 --- /dev/null +++ b/hooks/install/install-starship.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +BIN_DIR=~/.murex/bin sh -c "$(curl -fsSL https://starship.rs/install.sh)" diff --git a/hooks/shell/00-env.sh b/hooks/shell/00-env.sh new file mode 100644 index 0000000..111f783 --- /dev/null +++ b/hooks/shell/00-env.sh @@ -0,0 +1,8 @@ +murex-path-add() { + case "${PATH}" in + *"${1}"*);; + *) export PATH="${1}:${PATH}" + esac +} + +murex-path-add "${MUREX}/bin:${MUREX}/private/bin"