lol

doc: Quote variable references

authored by

Victor Engmark and committed by
Yt
22d3b5a9 852ef6e9

+5 -5
+5 -5
doc/using/configuration.chapter.md
··· 310 310 311 311 ```ShellSession 312 312 #!/bin/sh 313 - if [ -d $HOME/.nix-profile/etc/profile.d ]; then 314 - for i in $HOME/.nix-profile/etc/profile.d/*.sh; do 315 - if [ -r $i ]; then 316 - . $i 313 + if [ -d "${HOME}/.nix-profile/etc/profile.d" ]; then 314 + for i in "${HOME}/.nix-profile/etc/profile.d/"*.sh; do 315 + if [ -r "$i" ]; then 316 + . "$i" 317 317 fi 318 318 done 319 319 fi 320 320 ``` 321 321 322 - Now just run `source $HOME/.profile` and you can start loading man pages from your environment. 322 + Now just run `source "${HOME}/.profile"` and you can start loading man pages from your environment. 323 323 324 324 ### GNU info setup {#sec-gnu-info-setup} 325 325