Skip to content

dotvault/shells

Repository files navigation

Dotvault --- fish shell config

# Backup/Rename
[ -d $HOME/.config/fish ] mv $HOME/.config/fish $HOME/.config/fish.bak
# Clone
git clone https://github.com/dotvault/shells.git $HOME/.config/fish

# These files can be deleted after installation.
rm -r README.md LICENSE assets/ .git/ .gitignore

Dependencies

Note

These dependencies are not fixed and may change as the configuration is updated; if you don't need some of the tools, comment out the related entries in the configuration files.

  • Terminal emulator: kitty
  • CLIs
    • fastfetch: fetching system information and displaying it in a visually appealing way.
    • eza: A modern alternative to ls.
    • bat: A cat(1) clone with wings.
    • zoxide: A smarter cd command.
    • trash-cli: Command Line Interface to FreeDesktop.org Trash.
    • direnv: unclutter your .profile.
  • TUIs
    • atuin: Magical shell history.
  • Scripts
    • pokego: display Pokémon sprites in color directly in your terminal.
    • starship: The minimal, blazing-fast, and infinitely customizable prompt for any shell!

Completions

# atuin
atuin gen-completions --shell fish --out-dir $HOME/.config/fish/completions/
# hugo
hugo completion fish > $HOME/.config/fish/completions/hugo.fish

Keep $HOME clean

Autin

Atuin installs its binaries to ~/.autin/bin(atuin installation). For fish, it adds an atuin.env.fish file to conf.d after installation. To keep $HOME clean, move ~/.autin/bin to ~/.local/share/atuin/ and update the files inside so the paths are consistent. Finally, set the install_prefix variable to ~/.local/share/atuin/bin in ~/.config/atuin/atuin-receipt.json.

You can refer to my changes here.

Others

See conf.d/xdg-paths.fish

About

Mirror Repo, Please see https://codeberg.org/dotvault/shells

Topics

Resources

License

Stars

Watchers

Forks

Languages