mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-26 13:51:12 -03:00
@@ -693,7 +693,7 @@ After a variable has been set, you can use the value of a variable in the shell
|
||||
|
||||
Example:
|
||||
|
||||
To use the value of the variable `smurf`, write `$` (dollar symbol) followed by the name of the variable, like `echo Smurfs are usually $smurf_color`, which would print the result 'Smurfs are usually blue'.
|
||||
To use the value of the variable `smurf_color`, write `$` (dollar symbol) followed by the name of the variable, like `echo Smurfs are usually $smurf_color`, which would print the result 'Smurfs are usually blue'.
|
||||
|
||||
|
||||
\subsection variables-scope Variable scope
|
||||
|
||||
Reference in New Issue
Block a user