Skip to content

Instantly share code, notes, and snippets.

@HariSekhon
Created March 22, 2024 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HariSekhon/41086ef6b9a36fd7b67eee5d46be0ea3 to your computer and use it in GitHub Desktop.
Save HariSekhon/41086ef6b9a36fd7b67eee5d46be0ea3 to your computer and use it in GitHub Desktop.
shell.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Shell

  • Bash - the gold standard in shell scripting - see bash.md
  • Bourne - the original unix shell - Bash is the Bourne Again Shell - next generation Bourne shell
  • Ksh - Korn shell - another old unix shell
  • Tcsh - BSD shell - just use Bash
  • Zsh - slightly more feature rich shell than Bash. Not sure it's worth the hassle aside from ** directory recursion globbing
  • Fish - friendly interactive shell - meaning user friendly

Fish

Friendly Interactive Shell

  • awesome colourization
  • tab complete from parsing man pages
  • typing up/down selects historical commands for same command
  • inline auto-suggestions based on history
  • syntax highlighting files/dirs that exist / don't exist blue/red
.config/fish/config.sh
  • Oh My Fish - omf - package manager
  • Spacefish - awesome prompt, rich git info
  • superceded by Spaceship
  • brew install spaceship - available for each shell Bash/Zsh/Fish

amazing website built-in fish_config

Ported from various private Knowledge Base pages 2002+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment