Skip to content

Commit

Permalink
misc: Modified .github/workflows/tests.yml init.sh scripts/ansible.sh…
Browse files Browse the repository at this point in the history
… scripts/aws.sh scripts/bash.sh scripts/bitwarden.sh scripts/bugzilla.sh scripts/c.sh scripts/cf2tf.sh scripts/checkmake.sh scripts/crane.sh scripts/docker.sh scripts/essentials.sh scripts/git.sh scripts/gitconfig.sh scripts/githooks.sh scripts/github.sh scripts/go.sh scripts/gvisor.sh scripts/hadolint.sh scripts/hclq.sh scripts/helm.sh scripts/jq.sh scripts/kind.sh scripts/kubectl.sh scripts/kubectx.sh scripts/kubens.sh scripts/kubesec.sh scripts/kustomize.sh scripts/latex.sh scripts/minikube.sh scripts/ohmyposh.sh scripts/opentofu.sh scripts/podman.sh scripts/python.sh scripts/rust.sh scripts/shellcheck.sh scripts/slack.sh scripts/ssh.sh scripts/strongswan.sh scripts/terraform.sh scripts/terraformdocs.sh scripts/tfam.sh scripts/tfexe.sh scripts/tflint.sh scripts/tfswitch.sh scripts/tldr.sh scripts/trivy.sh scripts/vagrant.sh scripts/vault.sh scripts/vim.sh scripts/yq.sh
  • Loading branch information
Ant0wan committed Oct 22, 2024
1 parent 48ed146 commit c1c3a4e
Show file tree
Hide file tree
Showing 52 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 #4.2.1
- id: ls
run: |
echo files="$(ls tools/ | sed 's/.install.sh//' | xargs jq -c -n '$ARGS.positional' --args)" >> "$GITHUB_OUTPUT"
echo files="$(ls scripts/ | sed 's/.sh//' | xargs jq -c -n '$ARGS.positional' --args)" >> "$GITHUB_OUTPUT"
test:
needs: list
Expand Down
8 changes: 4 additions & 4 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ _install_bat() {

_prompt() {
_install_skim
exit
#exit
_install_bat
selection="$(find tools/ -type f -printf "%f\n" | awk -F '.' '{ print $1 }' | sort | bin/sk --multi --bind 'right:select-all,left:deselect-all,space:toggle+up' --preview="bin/bat --color=always tools/{}.install.sh --color=always")"
selection="$(find scripts/ -type f -printf "%f\n" | awk -F '.' '{ print $1 }' | sort | bin/sk --multi --bind 'right:select-all,left:deselect-all,space:toggle+up' --preview="bin/bat --color=always scripts/{}.sh --color=always")"
}

download_path=$(mktemp -d -t conf.XXXXXXXXXX)
Expand All @@ -47,8 +47,8 @@ else
fi

for i in $selection; do
if test -e "tools/$i.install.sh"; then
sh "tools/$i.install.sh"
if test -e "scripts/$i.sh"; then
sh "scripts/$i.sh"
fi
if test -e "bashrc.d/$i"; then
mkdir -p "$HOME/.bashrc.d/"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c1c3a4e

Please sign in to comment.