mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
replace shebang by shellcheck directive
This commit is contained in:
parent
e7fce0da51
commit
ea7c07e783
1 changed files with 2 additions and 3 deletions
5
direnvrc
5
direnvrc
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck shell=bash
|
||||
|
||||
use_nix() {
|
||||
local path
|
||||
|
|
@ -53,7 +52,7 @@ use_nix() {
|
|||
log_status eval "$cache"
|
||||
read -r cache_content < "$cache"
|
||||
eval "$cache_content"
|
||||
export PATH=$PATH:$path_backup TERM=$term_backup
|
||||
export PATH=$PATH:$path_backup TERM=$term_backup
|
||||
if [[ -n ${tmp_backup+x} ]]; then
|
||||
export TMPDIR=${tmp_backup}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue