Skip to content

langburd/bash-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bash-scripts

This repository contains various bash scripts

Pre-commit Hooks

This repo uses pre-commit hooks for linting and formatting the source code before the commit.

Setup

  • Install pre-commit using instructions here. Run this command for MacOS:
brew install pre-commit
  • Install the hooks (should be done once per repository):
pre-commit install

Usage

The hooks will run automatically before every commit, fixing the files according to hooks configured in .pre-commit-config.yaml.
If you want to run the checks manually without committing, use the command:

pre-commit run -a

Authors

About

Various bash scripts and snippets

Resources

License

Stars

Watchers

Forks