How to add bind commands to config.fish?
<p>I am trying to configure a <code>bind</code> command so that it is persistant. It seems that the right file to put it in is <code>~/.config/fish/config.fish</code></p>

<p>I put there</p>

<pre><code>set fish_greeting "wazaa"
bind \n 'commandline -f accept-autosuggestion execute'
</code></pre>

<p>and I get for a new shell</p>

<pre><code>root@srv ~# fish  
wazaa
root@srv ~# 
</code></pre>

<p>The file is therefore indeed parsed but <strong>the bind command is not taken into account</strong>.</p>

<p>The same command started from the prompt works fine.</p>

<p><strong>Is there a special way of adding <code>bind</code> commands to the startup file?</strong></p>