playground:vps_-_plan9front_-_fn_reply_and_prompt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
playground:vps_-_plan9front_-_fn_reply_and_prompt [2022/06/26 00:06] – [function (fn)] hc9 | playground:vps_-_plan9front_-_fn_reply_and_prompt [2022/06/26 05:00] – [prompt] hc9 | ||
---|---|---|---|
Line 113: | Line 113: | ||
profile.edit: | profile.edit: | ||
q | q | ||
+ | cpu% | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | cpu% whatis cd | ||
+ | fn cd { | ||
+ | builtin cd $* && prompt=(`{ | ||
+ | pwd | ||
+ | }^% '' | ||
+ | } | ||
cpu% | cpu% | ||
</ | </ | ||