Remove scripts directory in favor of using the functions/ or root for sharing scripts. Using a scripts directory does not solve the main problem of sharing scripts with the same name, so this addition was deemed of little value. In the future, a more robust way to avoid name collisions when sharing scripts would be nice to have, but at the moment having a scripts directory is not solving this problem but just adding clutter to the configuration. Closes #105.
2.0 KiB
fisher-config(7) -- Fisherman Configuration
SYNOPSIS
This document describes how to use Fisherman configuration variables.
DESCRIPTION
Your fish user configuration, usually located in $XDG_CONFIG_HOME/fish/config.fish
is updated after installing Fisherman to add the global variables $fisher_home
and $fisher_config
.
Using the following variables, you can customize the locations of the cache, index URL, fishfile, create command aliases, etc.
VARIABLES
-
$fisher_home
: The home directory. If you installed Fisherman using the recommended methodcurl -sL install.fisherman.sh | fish
, the location will be$XDG_DATA_HOME/fisherman
. If you clone Fisherman and runmake
yourself,$fisher_home
will the current working directory. -
$fisher_config
: The user configuration directory. This is default location of your user fishfile, Fisherman key_bindings.fish file and the cache, functions, completions and conf.d directories.$XDG_CONFIG_HOME/fisherman
by default. -
$fisher_file
: This file keeps a list of what plugins you have installed and are currently enabled.$fisher_config/fishfile
by default. Seefisher help fishfile
for details. -
$fisher_cache
: The cache directory. Plugins are downloaded first here and installed to$fisher_config/functions
afterwards. The cache is$fisher_config/cache
by default. -
$fisher_index
: The URL to the index database. To use a different index set this to a file or URL. Redirect URLs are currently not supported due to security and performance concerns. The underlying request and fetch mechanism is based incurl(1)
. -
$fisher_alias command=alias[,...] [command2=alias[,...]]
: Use this variable to define custom aliases for fisher commands. SeeExamples
below.
EXAMPLES
- Create aliases for fisher
install
to i, in and inst; and for fisherupdate
to up.
set fisher_alias install=i,in,inst update=up
SEE ALSO
fisher help tour