mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 13:05:37 +00:00
fisher packaging
This commit is contained in:
parent
d027864dee
commit
4f90530633
@ -62,6 +62,22 @@ use_fish_shell() {
|
|||||||
echo "fish ✓"
|
echo "fish ✓"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
use_fisher() {
|
||||||
|
if ! (which fish > /dev/null)
|
||||||
|
then
|
||||||
|
echo "Skipping fisher: fish not installed"
|
||||||
|
elif ! (fish -c "which fisher" > /dev/null)
|
||||||
|
then
|
||||||
|
echo "Installing fisher..."
|
||||||
|
fish -c "curl -sL git.io/fisher | source && fisher install jorgebucaran/fisher"
|
||||||
|
fi
|
||||||
|
if (fish -c "which fisher" > /dev/null)
|
||||||
|
then
|
||||||
|
fish -c "fisher update"
|
||||||
|
echo "fisher ✓"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
setup_tmux() {
|
setup_tmux() {
|
||||||
if [[ ! -d ~/.tmux/plugins/tpm ]]; then
|
if [[ ! -d ~/.tmux/plugins/tpm ]]; then
|
||||||
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||||
|
Loading…
Reference in New Issue
Block a user