Fish dynamically define a function -


function fish_title; echo bar; end 

i'd create set_title function give equivalent result of above i.e. running set_title bar. ideas?

i now. need this:

function set_title -a new_title     eval "function fish_title; echo $new_title; end" end 

Comments

Popular posts from this blog

r - Trouble relying on third party package imports in my package -

Payment information shows nothing in one page checkout page magento -