diff --git a/functions/setup.fish b/functions/setup.fish index bda7ac2..3eeed75 100644 --- a/functions/setup.fish +++ b/functions/setup.fish @@ -1,6 +1,7 @@ # ╭────────────────────────────────────╮ # │ FUNCTION: packagemanager detection │ # ╰────────────────────────────────────╯ + function upin # ─< check for sudo/root >────────────────────────────────────────────────────────────────── @@ -173,8 +174,7 @@ end function dep_fisher # ─< Define dependencies for the plugins used by fisher >─────────────────────────────────── begin - set dependencies "fzf" "rg" - alias rg="ripgrep" + 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 @@ -194,13 +194,11 @@ end # │ FUNCTION: check for fisher and install if not present │ # ╰───────────────────────────────────────────────────────╯ -begin function check_fishr if test ! -e $HOME/.config/fish/functions/fisher.fish && test ! -e $HOME/.config/fish/.fishr.init - echo "you did it!!"> $HOME/.config/fish/.fishr.init && curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher + echo "you did it!!"> $HOME/.config/fish/.fishr.init && curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source & fisher install jorgebucaran/fisher end end -end # ────────────────────────────────────< setup some stuff >──────────────────────────────────── upin