This expands, prints and then sets the variable $e. This allows to preview an expansion and then use it by just using $e.
4 lines
98 B
Fish
4 lines
98 B
Fish
function eps --description 'Expand, print and set variable $e'
|
|
set -g e $argv
|
|
echo $e
|
|
end
|