y/install.sh

22 lines
278 B
Bash
Raw Normal View History

2023-08-06 23:02:47 +02:00
#!/bin/sh
2023-06-23 20:07:30 +02:00
# y install script
## use
# bash ./install.sh
PREFIX=~/.local
mkdir -p $PREFIX/src
mkdir -p $PREFIX/bin
git clone --depth 1 \
'https://source.garden/scripts/y.git' \
$PREFIX/src/y/
chmod +x $PREFIX/src/y/y.sh
ln -s $PREFIX/src/y/y.sh \
$PREFIX/bin/y