diff --git a/doc_src/faq.rst b/doc_src/faq.rst index 7afc1e943..48bc2c89f 100644 --- a/doc_src/faq.rst +++ b/doc_src/faq.rst @@ -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::