mirror of
https://github.com/nix-community/nix-direnv.git
synced 2024-09-11 11:35:54 +03:00
add shellcheck directives for .envrc
This commit is contained in:
parent
69e22fb903
commit
9734eba858
3
.envrc
3
.envrc
@ -1,4 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
strict_env
|
||||
source ./direnvrc
|
||||
watch_file direnvrc *.nix
|
||||
watch_file direnvrc ./*.nix
|
||||
use flake
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then
|
||||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w="
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user