Skip to content

Instantly share code, notes, and snippets.

@vikbert
Last active July 8, 2019 20:31
Show Gist options
  • Select an option

  • Save vikbert/d55ace23807e4802b257dce9bc0cf59e to your computer and use it in GitHub Desktop.

Select an option

Save vikbert/d55ace23807e4802b257dce9bc0cf59e to your computer and use it in GitHub Desktop.
[fish shell] config fish shell on mac #fish, #shell

How to change spacefish prompt

to change the options, read more on https://github.com/matchai/spacefish/blob/master/docs/Options.md

cd /Users/xzhou/.config/fish/functions
code fish_prompt.fish

How to install powerline fonts for fish shell

install powerline fonts according to https://github.com/powerline/fonts

git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
cd ..
rm -rf fonts

How to use powerline font in iterm2

goto preference => profiles => text => font => 14pt Meslo LG L for powerline

How to install oh my fish

read more on https://github.com/oh-my-fish/oh-my-fish

curl -L https://get.oh-my.fish | fish
omf install spacefish

How to add aliases to fish shell?

create a soft link in .config/fish/config.d/fish_aliases.fish

ln -sf sites/awesome-macbook-setup/aliases/fish_aliases .config/fish/conf.d/fish_aliases.fish

How to auto start fish shell in iterm

goto preference => profiles => General Select the option named command and enter the path of fish command /usr/local/bin/fish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment