How to run automatically fish on your terminal

From wikieduonline
Revision as of 11:18, 22 August 2024 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

1. echo $SHELL

2.

  • Bash: ~/.bashrc or ~/.bash_profile
  • Zsh: ~/.zshrc
  • Fish: ~/.config/fish/config.fish

3. vi ~/.bashrc

4. Add your command to the end of the file:fish

5.

  • source ~/.bashrc # For Bash
  • source ~/.zshrc # For Zsh
  • source ~/.config/fish/config.fish # For Fish

Related

See also

Advertising: