mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-27 20:25:12 +00:00
Minor edits to documentation
darcs-hash:20061019114024-ac50b-e283638e3a34e1d38be58971f31900129230c598.gz
This commit is contained in:
parent
d7576a409a
commit
ff96668151
1 changed files with 9 additions and 4 deletions
|
@ -452,6 +452,10 @@ this list is executed, and substituted by the output. If the output is
|
||||||
more than one line long, each line will be expanded to a new
|
more than one line long, each line will be expanded to a new
|
||||||
parameter.
|
parameter.
|
||||||
|
|
||||||
|
A command substitution will not change the value of the <a
|
||||||
|
href='#variables-status'>status</a> variable outside of the command
|
||||||
|
substitution.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
The command <code>echo (basename image.jpg .jpg).png</code> will
|
The command <code>echo (basename image.jpg .jpg).png</code> will
|
||||||
|
@ -2564,13 +2568,13 @@ executing the following command (assuming you installed fish in
|
||||||
|
|
||||||
Quick answer:
|
Quick answer:
|
||||||
|
|
||||||
Add
|
Run the following command in fish:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
function fish_title;end
|
echo function fish_title;end ~/.config/fish/config.fish
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
To your ~/.fish file. Problem solved.
|
Problem solved!
|
||||||
|
|
||||||
The long answer:
|
The long answer:
|
||||||
|
|
||||||
|
@ -2584,7 +2588,8 @@ has no way of knowing what the underlying terminal type is. For now,
|
||||||
the only way to fix this is to unset the titlebar message, as
|
the only way to fix this is to unset the titlebar message, as
|
||||||
suggested above.
|
suggested above.
|
||||||
|
|
||||||
Note that fish has a default titlebar message, so simply unsetting the
|
Note that fish has a default titlebar message, which will be used if
|
||||||
|
the fish_title function is undefined. So simply unsetting the
|
||||||
fish_title function will not work.
|
fish_title function will not work.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue