Skip to content

schance995/stylish-shell

Repository files navigation

Style Your Shell With Swagger!

It's the 21st century, so why are we are settling for monochrome terminal prompt and command line tools for the 90s? Give your terminal the glowup it deserves with modern shells and command line software to supercharge your development productivity. Users of all operating systems and all levels of terminal experience welcome.

1. How to get cool software

How does software distribution work?

  • upstream = developers
  • downstream = distributors

Do not install software from untrusted sources

Some stuff might be on GitHub, you need to read the source yourself, or trust the distributors to vet the software ahead of time. Even good software is potentially vulnerable.

Eg: the XZ attack, the noisetorch attack.

Do install software from package managers

  • Package manager (recommended!)

  • Sometimes the software we want is not available there :(

  • Or maybe the version there is not the one we want

  • Solutions:

    • Extend the repositories with PPA (personal package archive)
    • Install software directly from upstream
      • from .deb package or precompiled binary
      • do it yourself, compile from source
      • make sure you add this software to your path!
  • Recommendations:

    • Windows: Scoop/WSL, Mac: Homebrew/Nix, Linux: your package manager, Guix

2. The terminal

  • Latency/Throughput (https://danluu.com/term-latency/)
  • GPU-accelerated: high throughput
  • CPU-optimized: low latency
  • Windows: MinGetty from Git Bash
  • Linux: anything but Gnome Terminal please
  • No tabs? Screen / Tmux / Zellij

3. The shell

  • Bash
    • ol' reliable
  • Keyboard shortcuts
  • Readline, controlled by ~/.inputrc
  • Getting help
    • man man (reference manual)
    • info info (textbook)
    • tldr tldr (examples)
  • Fish
    • beautiful but not POSIX

4. The software

the 90s

  • Follows the POSIX standard
  • Typically installed by default
  • cat
    • concatenates files
  • ls
    • lists files
  • grep
    • searches files for text
  • find -exec
    • finds files and runs commands on them
  • diff
    • finds the difference between files
  • rm
    • remove files
  • top
    • task manager
  • cp
    • copies files

the 21st Century

  • bat
    • like cat
  • exa
    • like ls
  • ripgrep
    • like grep
  • fd
    • like find -exec
  • delta
    • like diff
  • trash
    • put files in the Linux trash directory
  • fzf
    • interactive selector
  • zoxide
    • change directories by frecency
    • add zoxide init fish | source to ~/.config/init/config.fish (should be in the config.fish file in this repo)
    • to go to a directory type z {any part of directory}!
  • neofetch
    • print a cool ascii logo
  • rsync
  • vifm
  • lynx
  • jq/yq/xq
  • up
  • zoxide
  • fzf
  • neofetch
  • tig
  • miller
  • htop
  • jqp

There's a ton more to explore!

5. The Beyond

License

Shield: CC BY 4.0

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0

About

Style your shell with swagger! For Bitcamp 2024

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages