Skip to content

Commit

Permalink
feat: add scripts folder
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsm-dev committed Sep 27, 2022
1 parent 5e4f7f3 commit 87fa760
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
# Dot env
.env

# General folders
completions

# ================================================
# VSCODE
# ================================================
Expand Down
9 changes: 9 additions & 0 deletions scripts/completions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
set -e

rm -rf completions
mkdir completions

for sh in bash zsh fish; do
go run ./cmd/loli/main.go completion "$sh" >"completions/loli.$sh"
done

0 comments on commit 87fa760

Please sign in to comment.