From c1931c1081f5c677de2f3b2e5750ac90df60d902 Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Mon, 4 Oct 2021 20:30:09 +0300 Subject: [PATCH] Add usage function --- bootstrap.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index ee14ed9..32247c3 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,5 +1,16 @@ #!/bin/bash +usage() { + echo "usage: (./)bootstrap [-S][-R]" + echo + echo " -S installs all this shit" + echo " -R removes all this shit" +} + +if [ $# -eq 0 ] ; then + usage +fi + # Variables for directories nvimDir="$HOME/.config/nvim" alacrittyDir="$HOME/.config/alacritty"