디렉토리 구조.
유저는 ~/.config/fish/config.fish
, ~/.fplug.yaml
두 파일만 관리하면 되며, fplug 자체는 ~/.fplug/
밑에 모두 들어간다.
# Directory structure
▸ ~
.config/fish/config.fish
.fplug.yaml
▾ .fplug
.cache
▸ pkgs
fplug를 설치할경우 ~/.config/fish/config.fish
맨 밑에 fplug 캐시를 로드하는 라인이 자동으로 들어간다.
# ~/.config/fish/config.fish
# Personal settings
set -gx GO_PATH "$HOME/.go"
# fplug
if [ -e ~/.fplug/.cache ]; source ~/.fplug/.cache; end
fplug 설정은 YAML 포맷으로 선언적으로 관리된다.
# ~/.fplug.yaml
github:
- simnalamburt/cgitc
- simnalamburt/shellder # 얘가 유일하게 fish_prompt.fish를 제공하기때문에, 얘가 fish_prompt.fish 와 심링크된다
- disjukr/right # 얘가 유일하게 fish_right_prompt.fish를 제공하기때문에, 얘가 fish_right_prompt.fish 와 심링크된다
- kinoru/cstackc
git:
- https://github.com/simnalamburt/cgitc
- https://github.com/simnalamburt/fish-sensible
bitbucket: kinoru/cstackc
gitlab: simnalamburt/shellder
gist: 16b755de2b20a08e3534
- git, github, gitlab, bitbucket, gist