Skip to content

Commit 81e461e

Browse files
committed
Merge MR 'feat(fish): install fisher and plugins automatically' into 'main'
Closes #10 See merge request el-capitano/dotfiles!515
2 parents 6b773e1 + cd9df9b commit 81e461e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

chezmoi/dot_config/fish/conf.d/__init__.fish

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ set fisher_path $__fish_config_dir/plugins
55
set fish_complete_path $fish_complete_path[1] $fisher_path/completions $fish_complete_path[2..]
66
set fish_function_path $fish_function_path[1] $fisher_path/functions $fish_function_path[2..]
77

8+
if ! type -q fisher; and status is-interactive
9+
echo "fisher plugin manager not detected, downloading and installing plugins..."
10+
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher update
11+
end
12+
813
for file in $fisher_path/conf.d/*.fish
914
source $file
1015
end

0 commit comments

Comments
 (0)