dotfiles/bin/linux/fisher_plugins.fish

29 lines
860 B
Fish
Raw Permalink Normal View History

2022-10-21 17:13:19 +09:00
#!/bin/fish
#==========================================================
# fisher plugin install
#==========================================================
# check fisher existence
if ! type fisher &>/dev/null
echo "fisher does not exist."
2022-10-21 17:30:24 +09:00
echo "Please install fisher from https://github.com/jorgebucaran/fisher"
echo ""
echo "==Automatic install=="
echo "You can run `curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher` right here"
echo "be sure to check install command on the fisher project homepage."
2023-05-02 22:12:17 +09:00
read -p "echo Install with the script above\?(default Y / N):\ " ans
2022-10-21 17:30:24 +09:00
if [ $ans = 'N' ]
return 1
end
# install script from github page
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
2022-10-21 17:13:19 +09:00
end
fisher update
# installing packages
fisher install edc/bass
fisher install patrickf1/fzf.fish