From 715d0ddfed15b1f025558992700f3c73fb294aae Mon Sep 17 00:00:00 2001 From: Marley Rae Date: Sun, 4 Feb 2024 12:40:04 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20more=20installs=20to=20let=20?= =?UTF-8?q?brew=20manage=20core=20utils?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fish/install.fish | 12 ++++++++++++ os/install.fish | 3 --- os/path.config.fish | 3 +++ vim/install.fish | 10 ++++++++++ 4 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 os/path.config.fish create mode 100644 vim/install.fish diff --git a/fish/install.fish b/fish/install.fish index 702ceec..85b6147 100755 --- a/fish/install.fish +++ b/fish/install.fish @@ -8,6 +8,17 @@ source "$DOT/node/node_utils.fish" print_subtitle Fish +brew_install "GNU Core Utilities" coreutils +execute "ln -sf '$(brew --prefix)/bin/gsha256sum' '$(brew --prefix)/bin/sha256sum'" \ + "Use brew installed GNU Core Utils by default" + +brew_install wget wget --with-iri +brew_install cURL curl +brew_install grep grep +brew_install OpenSSH openssh +brew_install ImageMagick imagemagick +brew_install ssh-copy-id ssh-copy-id + execute "fisher install catppuccin/fish" catppuccin/fish execute "fisher install decors/fish-colored-man" fish-colored-man @@ -16,3 +27,4 @@ brew_install "Starship Prompt" starship brew_install "The Fuck" thefuck npm_install "tldr pages" tldr brew_install eza eza +brew_install GnuPG gnupg diff --git a/os/install.fish b/os/install.fish index ae22c32..fd21793 100755 --- a/os/install.fish +++ b/os/install.fish @@ -8,9 +8,6 @@ source "$DOT/os/apt_utils.fish" print_subtitle OS -brew_install wget wget -brew_install cURL curl - if [ "$(uname)" = Darwin ] brew_install mas-cli mas diff --git a/os/path.config.fish b/os/path.config.fish new file mode 100644 index 0000000..8358950 --- /dev/null +++ b/os/path.config.fish @@ -0,0 +1,3 @@ +#!/usr/bin/env fish + +fish_add_path "$(brew --prefix coreutils)/libexec/gnubin" diff --git a/vim/install.fish b/vim/install.fish new file mode 100644 index 0000000..4a1f700 --- /dev/null +++ b/vim/install.fish @@ -0,0 +1,10 @@ +#!/usr/bin/env fish + +source "$DOT/script/utils.fish" +source "$DOT/homebrew/brew_utils.fish" + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +print_subtitle vim + +brew_install vim vim