From: AJ ONeal Date: Wed, 15 Jul 2020 00:16:30 +0000 (+0000) Subject: cleanup X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=4b487e4d4d2b75ace4f0e265a1719508cbb8a4c1;p=webi-installers%2F.git cleanup --- diff --git a/bat/install.sh b/bat/install.sh index aba2469..6ae9154 100644 --- a/bat/install.sh +++ b/bat/install.sh @@ -19,13 +19,13 @@ } pkg_install() { - # $HOME/.local/xbin + # ~/.local/xbin mkdir -p "$pkg_src_bin" - # mv ./bat-*/bat "$HOME/.local/opt/bat-v0.15.4/bin/bat" + # mv ./bat-*/bat ~/.local/opt/bat-v0.15.4/bin/bat mv ./bat-*/bat "$pkg_src_cmd" - # chmod a+x "$HOME/.local/xbin/rg-v11.1.0" + # chmod a+x ~/.local/opt/bat-v0.15.4/bin/bat chmod a+x "$pkg_src_cmd" } } diff --git a/curlie/install.sh b/curlie/install.sh index a416991..ab6f300 100644 --- a/curlie/install.sh +++ b/curlie/install.sh @@ -12,20 +12,22 @@ pkg_get_current_version() { # 'curlie --version' has output in this format: - # curlie 0.15.4 + # TODO # This trims it down to just the version number: - # 0.15.4 - echo $(curlie --version 2>/dev/null | head -n 1 | cut -d' ' -f 2) + # TODO + #echo $(curlie --version 2>/dev/null | head -n 1 | cut -d' ' -f 2) + # See https://github.com/rs/curlie/issues/22 + echo "0.0.0" } pkg_install() { # $HOME/.local/xbin mkdir -p "$pkg_src_bin" - # mv ./curlie* "$HOME/.local/opt/curlie-v0.15.4/bin/curlie" + # mv ./curlie* "$HOME/.local/opt/curlie-v1.3.1/bin/curlie" mv ./curlie* "$pkg_src_cmd" - # chmod a+x "$HOME/.local/xbin/rg-v11.1.0" + # chmod a+x "$HOME/.local/opt/curlie-v1.3.1/bin/curlie" chmod a+x "$pkg_src_cmd" } } diff --git a/fd/install.sh b/fd/install.sh index ad62461..92621ef 100644 --- a/fd/install.sh +++ b/fd/install.sh @@ -25,7 +25,7 @@ # mv ./fd-*/fd "$HOME/.local/opt/fd-v8.1.1/bin/fd" mv ./fd-*/fd "$pkg_src_cmd" - # chmod a+x "$HOME/.local/xbin/rg-v11.1.0" + # chmod a+x "$HOME/.local/opt/fd-v8.1.1/bin/fd" chmod a+x "$pkg_src_cmd" } } diff --git a/fzf/README.md b/fzf/README.md index 3932d8f..ecd9cf0 100644 --- a/fzf/README.md +++ b/fzf/README.md @@ -1,6 +1,6 @@ --- title: fzf -homepage: https://github.com/junegunn/fzf-bin +homepage: https://github.com/junegunn/fzf tagline: | fzf is a general-purpose command-line fuzzy finder. --- @@ -15,6 +15,8 @@ Use the `@beta` tag for pre-releases. ## Cheat Sheet +![](https://raw.githubusercontent.com/junegunn/i/master/fzf-preview.png) + > It's an interactive Unix filter for command-line that can be used with any > list; files, command history, processes, hostnames, bookmarks, git commits, > logs, etc. @@ -30,3 +32,9 @@ find . | fzf ```bash sudo journalctl -u my-app-name --since '2020-01-01' | fzf ``` + +### Use space-delimited regular expressions to search + +```txt +^README | .md$ | .txt$ +``` diff --git a/hexyl/install.sh b/hexyl/install.sh index d0f8fff..a4b224d 100644 --- a/hexyl/install.sh +++ b/hexyl/install.sh @@ -19,13 +19,13 @@ } pkg_install() { - # $HOME/.local/ + # ~/.local/ mkdir -p "$pkg_src_bin" - # mv ./hexyl-*/hexyl "$HOME/.local/opt/hexyl-v0.8.0/bin/hexyl" + # mv ./hexyl-*/hexyl ~/.local/opt/hexyl-v0.8.0/bin/hexyl mv ./hexyl-*/hexyl "$pkg_src_cmd" - # chmod a+x "$HOME/.local/xbin/rg-v11.1.0" + # chmod a+x ~/.local/opt/hexyl-v0.8.0/bin/hexyl chmod a+x "$pkg_src_cmd" } } diff --git a/rg/install.sh b/rg/install.sh index 843bbe3..990bfd2 100644 --- a/rg/install.sh +++ b/rg/install.sh @@ -14,13 +14,13 @@ } pkg_install() { - # $HOME/.local/xbin + # ~/.local/opt/rg-v11.1.0/bin mkdir -p "$pkg_src_bin" - # mv ./ripgrep-*/rg "$HOME/.local/xbin/rg-v11.1.0" + # mv ./ripgrep-*/rg ~/.local/opt/rg-v11.1.0/bin/rg mv ./ripgrep-*/rg "$pkg_src_cmd" - # chmod a+x "$HOME/.local/xbin/rg-v11.1.0" + # chmod a+x ~/.local/opt/rg-v11.1.0/bin/rg chmod a+x "$pkg_src_cmd" } }