Skip to content

Custom fish fish environment with a (kinda) pretty prompt, and some convenience aliases and functions.

Notifications You must be signed in to change notification settings

glass-ships/glass-fish

Repository files navigation

Glass's Custom Fish Environment

Custom fish fish environment with a (kinda) pretty prompt, and some convenience aliases and functions.

Contents

setup.fish: Initializes shell environment:

  • Symlinks repo to ~/.config/fish
  • Copies VIM settings so it behaves how I personally like
  • Checks for SSH key, creates if missing
  • Sets Git user name and email (user input)
  • Adds some global default git ignores

config.fish: Sets some options, source scripts and set variables, and defines some useful functions and aliases

functions/fish_prompt.fish: Sets the custom prompt. Also removes the welcome message

fish_variables: Sets some universal variables for fish (mostly colors). Editing this directly is not recommended. Instead, edit any variables in config.fish

fish-tips: Just some useful chunks of fish code

vimrc: VIM settings tweaked to my liking, feel free to edit to yours. Sourced by config.fish

secrets-template.fish: Template script to set API keys and other secrets as environment variables. Add your secrets and rename to secrets.fish. Sourced by config.fish

Setup

  1. Clone the repo
    ><> git clone https://gitlab.com/glass-ships/glass-fish.git

  2. Initialize new environment:
    ><> cd glass-fish ;; fish setup.fish

  3. Rename secrets-template to secrets and enter your private things to keep them safe
    NOTE: secrets is ignored, so your secrets are safe if you contribute to this repository

  4. (Optional) For plugin management, install fisher or Oh My Fish

  5. (Optional) For BASH compatibility, add EDC/Bass

  6. Enjoy!

Contributing

This repo could probably use some regular TLC. If you're interested in helping out, just create an issue, or fork the repo and merge request back in!

~ Glass

About

Custom fish fish environment with a (kinda) pretty prompt, and some convenience aliases and functions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published