Search code examples
fish

How to edit fishshell startup script


I am on arch linux and have installed the fish shell together with oh-my-fish

Can someone tell me which file i edit to add my custom shell startup commands

im zsh it was the ~.zshrc what is it in fish shell ?

i have a problem, if i put my stuff in bashrc it is not loaded by fish, if i enter shell comands in the fish file ~/.config/fish/config.fish it throws errors


Solution

  • Did you read Archwiki ?

    ~/.config/fish/config.fish