DRY, codestyle, z installation, misc

This commit is contained in:
2023-04-02 23:21:49 +03:00
parent ea292de853
commit 5e59893281
10 changed files with 121 additions and 96 deletions

10
scripts/install-z.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
Z_GIT_PATH="https://github.com/rupa/z.git"
Z_BIN_PATH="$XDG_BIN_HOME/z"
if [ ! -d "$Z_BIN_PATH" ]; then
git clone "$Z_GIT_PATH" "$Z_BIN_PATH"
else
echo "z ($Z_BIN_PATH/) already installed"
fi