Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

Latest commit

 

History

History
29 lines (20 loc) · 946 Bytes

File metadata and controls

29 lines (20 loc) · 946 Bytes

fish.conf

Configuration file of fish.

It used to be called Dotfile-Fish.

Dependencies

  1. fisher: the manager of fish plugins.
  2. fzf

NOTE: The configuration install fish plugin for fzf via fisher.
This means that there will be NO ERROR if there is NO fisher and if there are BOTH fisher and fzf, but there will be an ERROR if there is ONLY fisher and NO fzf.

Usage

  1. Clone this repo.
    $ git clone https://github.com/ulic-youthlic/fish.conf.git && cd fish.conf
  2. Source it.
    $ chmod +x ./init.fish && ./init.fish

BASE_CONFIG_DIR

The dir named base_config_dir is the git_dir of a bare git repo, whose work_tree is $HOME.

This configuration manage dotfiles in $HOME via the bare git repo. To manage the bare git repo, a fish function bconf defined by prepending --git-dir=$BASE_CONFIG_DIR --work-tree=$HOME to git options.