mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-03-15 17:16:20 +08:00
README: add a section documenting dotfiles usage
This commit is contained in:
parent
ce8b0d9df9
commit
135707b3d1
13
README.md
13
README.md
@ -124,6 +124,7 @@ Uninstall Oh My Fish. See [uninstall](#uninstall) for more information.
|
||||
|
||||
# :triangular_flag_on_post: Advanced
|
||||
+ [Startup](#startup)
|
||||
+ [Dotfiles](#dotfiles)
|
||||
+ [Core Library](#core-library)
|
||||
+ [Packages](#packages)
|
||||
+ [Creating](#creating)
|
||||
@ -138,6 +139,18 @@ This script runs each time a new session begins, autoloading packages, themes an
|
||||
|
||||
The _config_ path (`~/.config/omf` by default) is defined by `$OMF_CONFIG` in `~/.config/fish/config.fish`. Modify this to load your own configuration, if you have any, as discussed in the [FAQ](FAQ.md#what-does-oh-my-fish-do-exactly).
|
||||
|
||||
## Dotfiles
|
||||
|
||||
The `$OMF_CONFIG` directory represents the user state of Oh My Fish, and is the perfect
|
||||
candidate for being added to your dotfiles and/or checked out to version control. There are two important files:
|
||||
|
||||
- __`theme`__ - The current theme
|
||||
- __`bundle`__ - List of currently installed packages/themes
|
||||
|
||||
### About the bundle
|
||||
|
||||
Everytime a package/theme is installed or removed the `bundle` file is updated. You can also edit it manually and run `omf install` afterwards to satisfy the changes. Please note that while packages/themes added to the bundle gets automagically installed, a package/theme removed from bundle isn't removed from user installation.
|
||||
|
||||
## Core Library
|
||||
|
||||
The core library is a minimum set of basic utility functions that extend your shell.
|
||||
|
Loading…
x
Reference in New Issue
Block a user