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
Post a Comment