cleanup
authorAJ ONeal <aj@therootcompany.com>
Wed, 15 Jul 2020 00:16:30 +0000 (00:16 +0000)
committerAJ ONeal <aj@therootcompany.com>
Wed, 15 Jul 2020 00:16:30 +0000 (00:16 +0000)
bat/install.sh
curlie/install.sh
fd/install.sh
fzf/README.md
hexyl/install.sh
rg/install.sh

index aba2469c2c42b0ca2083cb1fa35bc4f0ea2acfb4..6ae91541de66cc83d69691534d65893ffe6b5831 100644 (file)
     }
 
     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"
     }
 }
index a4169918c690cd144f0505596b5f84ad5efe1ae6..ab6f30069b5768d473a27c5ad4d86207474f26db 100644 (file)
 
     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"
     }
 }
index ad62461c34ff6c658b7a0c74e373a4e4bfd9c964..92621ef41b2e969c3ddf2bdf213a009a295bd6b2 100644 (file)
@@ -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"
     }
 }
index 3932d8feb41de75d6d75d816b71b056d894bf041..ecd9cf0ae8c7fcf2bdafc1848da29ee050b87269 100644 (file)
@@ -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$
+```
index d0f8fff67b7e08caacbef52faeb8985ca890ca86..a4b224d237e49dbd32a71db02f495ccde75f6847 100644 (file)
     }
 
     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"
     }
 }
index 843bbe3145a8c8f7a175214cdee5a1529ab9a4f0..990bfd2798732f2ec4d2836d9d3ded3109fe59d8 100644 (file)
     }
 
     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"
     }
 }