navi/scripts/lint
Denis Isidoro 95fc254736
Add MVP for zsh widget (#50)
Related: #37
2019-09-23 18:14:58 -03:00

13 lines
432 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
export SCRIPT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
# please refer to https://github.com/denisidoro/dotfiles/blob/master/scripts/code/beautify
cd "${SCRIPT_DIR}"
find . -iname '*.sh' | xargs -I% dot code beautify %
find scripts/* | xargs -I% dot code beautify %
find shell/* | xargs -I% dot code beautify %
dot code beautify "${SCRIPT_DIR}/test/run"
dot code beautify "${SCRIPT_DIR}/navi"