User Tools

Site Tools


playground:vps_-_plan9front_-_fn_reply_and_prompt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
playground:vps_-_plan9front_-_fn_reply_and_prompt [2022/06/26 00:06] – [function (fn)] hc9playground:vps_-_plan9front_-_fn_reply_and_prompt [2022/06/26 05:00] – [prompt] hc9
Line 113: Line 113:
 profile.edit: #1007 profile.edit: #1007
 q q
 +cpu%
 +</code>
 +
 +<code>
 +cpu% whatis cd
 +fn cd {
 + builtin cd $* && prompt=(`{
 + pwd
 + }^% '')
 +}
 cpu% cpu%
 </code> </code>