shell - Fish equivalent of bash $(command) notation -


i trying out fish shell instead of using bash. 1 type of notation i'm having trouble learning fish-equivalent notation $(command), similar how described in this sof post. how write using fish? keep in mind use backslash characters around command want evaluate, linked post , other posts discourage because old style of evaluating commands.

specifically, bash command want convert fish syntax (for initializing rbenv during startup of shell):

eval "$(rbenv init -)" 

in fish, $ used variables. correct notation equivalent bash $(command) (command) in fish.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -