mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
docs: Explain $XDG_CONFIG_HOME
This commit is contained in:
parent
77fc83c293
commit
801ab95fd0
1 changed files with 3 additions and 1 deletions
|
@ -15,9 +15,11 @@ Since fish 3.1 you can set an environment variable for just one command using th
|
|||
|
||||
How do I run a command every login? What's fish's equivalent to .bashrc or .profile?
|
||||
------------------------------------------------------------------------------------
|
||||
Edit the file ``~/.config/fish/config.fish``, creating it if it does not exist (Note the leading period).
|
||||
Edit the file ``~/.config/fish/config.fish`` [#]_, creating it if it does not exist (Note the leading period).
|
||||
|
||||
|
||||
.. [#] The "~/.config" part of this can be set via $XDG_CONFIG_HOME, that's just the default.
|
||||
|
||||
How do I set my prompt?
|
||||
-----------------------
|
||||
The prompt is the output of the ``fish_prompt`` function. Put it in ``~/.config/fish/functions/fish_prompt.fish``. For example, a simple prompt is::
|
||||
|
|
Loading…
Reference in a new issue