mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-07 23:50:43 +00:00
Replace single brackets with double brackets in bash conditional expressions across 14 files (28 changes). All scripts use bash shebangs so [[ is safe everywhere (SonarCloud rule shelldre:S7688).
5 lines
143 B
Bash
Executable File
5 lines
143 B
Bash
Executable File
#!/bin/env bash
|
|
|
|
[[ -z "$NVM_DIR" ]] && export NVM_DIR="$HOME/.config/nvm"
|
|
[[ -s "$NVM_DIR/nvm.sh" ]] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|