#!/bin/bash # 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