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

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -