revert to previous version
This commit is contained in:
parent
06f79d203e
commit
c946a7d6d2
1 changed files with 12 additions and 19 deletions
|
@ -153,6 +153,7 @@ function gsa
|
|||
git add .
|
||||
git commit -m "Addet $name as a submodule"
|
||||
git push
|
||||
|
||||
# ─< If the user inputs 'n' or 'N', notify them to try again >──────────────────────────────
|
||||
case 'n' 'N'
|
||||
echo "-- all right, just try again :) --"
|
||||
|
@ -181,27 +182,19 @@ end
|
|||
# │ FUNCTION: check fisher plugin dependencies │
|
||||
# ╰────────────────────────────────────────────╯
|
||||
function dep_fisher
|
||||
if not set -q $_fishr_dep
|
||||
# ─< Define dependencies for the plugins used by fisher >───────────────────────────────────
|
||||
set dependencies "fzf" "btop" "fastfetch" "curl" "wget" "cmatrix"
|
||||
# ─< Check and install dependencies >───────────────────────────────────────────────────────
|
||||
while ! test -e ./.check
|
||||
for dep in $dependencies
|
||||
if not command -v $dep >/dev/null 2>&1
|
||||
echo "Dependency $dep is not installed. Installing..."
|
||||
if test -n "$FISH_INSTALL"
|
||||
alias fish_install="$FISH_INSTALL"
|
||||
fish_install $dep
|
||||
else
|
||||
echo "FISH_INSTALL is not defined: $FISH_INSTALL | Please install $dep manually."
|
||||
return 1
|
||||
end
|
||||
end
|
||||
# ─< Define dependencies for the plugins used by fisher >───────────────────────────────────
|
||||
set dependencies "fzf" "btop" "fastfetch" "curl" "wget" "cmatrix"
|
||||
# ─< Check and install dependencies >───────────────────────────────────────────────────────
|
||||
for dep in $dependencies
|
||||
if not command -v $dep >/dev/null 2>&1
|
||||
echo "Dependency $dep is not installed. Installing..."
|
||||
if test -n "$FISH_INSTALL"
|
||||
alias fish_install="$FISH_INSTALL"
|
||||
fish_install $dep
|
||||
else
|
||||
echo "FISH_INSTALL is not defined: $FISH_INSTALL | Please install $dep manually."
|
||||
end
|
||||
end
|
||||
set _fishr_dep
|
||||
else
|
||||
echo "Dependencies already installed!"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue