Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
roktas committed Oct 15, 2023
1 parent e2bfdd8 commit aba0e56
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Lint
on: [push, pull_request, workflow_dispatch]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Install 🥁
run: sudo apt-get -y update && sudo apt-get -y install shellcheck
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Lint 🔬
run: shellcheck $(find . -name '*.sh')
5 changes: 3 additions & 2 deletions scripts/terminal/nvim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ apt-get -y update && apt-get -y install --no-install-recommends \
neovim \
#

update-alternatives --install /usr/bin/editor editor $(which nvim) 60
update-alternatives --set editor $(which nvim)
nvim=$(command -v nvim)
update-alternatives --install /usr/bin/editor editor "$nvim" 60
update-alternatives --set editor "$nvim"

0 comments on commit aba0e56

Please sign in to comment.