dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Migrate from zsh to the objectively superior Fish shell.

Open sysr-q opened this issue 3 years ago • 2 comments

Hello Comrade Aleksa,

Given our recent discussion over who is or isn't using the better shell, I thought it would be worth my while to help you transition to the correct answer. Fish is a wonderful tool, with many good defaults. Truly the best option available right now. This PR has been tested to the best of my abilities given my disposition to use macOS rather than GNU/Linus.

Things not required (but not forgotten) because this isn't the 80s dammit, my shell comes with reasonable defaults:

  • ~/.zsh/* -> Fish sources ~/.config/fish/conf.d/*.fish automatically
  • +histignoredups and +no_sharehistory are... just defaults
  • +completealiases - why is that optional?
  • compinit -- auto complete is built in and colourful.
  • ~/.profile - why is this separate from my bashrc or zshrc? Lame.
  • .. is a builtin as is +autocd
  • I just ignored the entire ~/.zsh/input file because I'm pretty sure any software made after Hackers (1995) has those as defaults...

All things considered ... probably don't set Fish to your login shell. Just make your terminal launch it.

P.S. Your prompt will forever be embedded in my nightmares. P.P.S. Hopefully my use of the GPLv3 is fine here. Some of the code comes from my UNLICENSE dotfiles, but I'm happy to sublicense them to you under the GPLv3 (or greater) since they're handy. If this is wrong, please let me know. After all, I asked my friend the subject matter expert on the GPL but he might be wrong. ¯_(ツ)_/¯

sysr-q avatar Jun 02 '21 10:06 sysr-q

Hello, I just wanted to circle back to this online and make sure you know this PR is not stale. You're still not using Fish. It's still better than zsh even with the fancy changes you've made. Please consider merging this for the good of all users of your dotfiles package.

sysr-q avatar Mar 01 '23 04:03 sysr-q

Bump. :+1: :shipit:

sysr-q avatar Aug 17 '23 03:08 sysr-q