Display actual $__fish_config_dir in help

This commit is contained in:
Jorge Bucaran 2022-06-17 17:02:53 -03:00
parent 36c1930aa7
commit 7fdb083c60
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -16,7 +16,7 @@ function fisher --argument-names cmd --description "A plugin manager for Fish"
echo " -v or --version Print version"
echo " -h or --help Print this help message"
echo "Variables:"
echo " \$fisher_path Plugin installation path. Default: ~/.config/fish"
echo " \$fisher_path Plugin installation path. Default: $__fish_config_dir" | string replace --regex -- $HOME \~
case ls list
string match --entire --regex -- "$argv[2]" $_fisher_plugins
case install update remove