diff --git a/.gitignore b/.gitignore index 8ccb752..15d9124 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ zsh/.config/zsh/history **/.zsh_history **/.zsh_sessions **/completions/* +**/.netrwhist diff --git a/macOS/.config/macOS/Brewfile b/macOS/.config/macOS/Brewfile index 2f3f615..c73bf5c 100644 --- a/macOS/.config/macOS/Brewfile +++ b/macOS/.config/macOS/Brewfile @@ -9,6 +9,7 @@ cask_args appdir: "~/Applications", require_sha: true # formula brew "espanso" brew "fd" # required for some neovim plugins +brew "figlet" brew "git" brew "mas" brew "neovim" diff --git a/scripts/.local/scripts/allfigl b/scripts/.local/scripts/allfigl new file mode 100755 index 0000000..6523f9f --- /dev/null +++ b/scripts/.local/scripts/allfigl @@ -0,0 +1,8 @@ +#!/bin/sh + +for font in /opt/homebrew/share/figlet/fonts/*.flf; do + clear + echo "FONT: $font" + figlet -f "${font}" hello + read line +done diff --git a/scripts/.local/scripts/cmt b/scripts/.local/scripts/cmt new file mode 100755 index 0000000..839a5fc --- /dev/null +++ b/scripts/.local/scripts/cmt @@ -0,0 +1,8 @@ +#!/bin/bash + +# adapted from... +# https://github.com/rwxrob/dot/blob/main/scripts/cmt + +while IFS= read -r line; do + echo "${1:-#} $line" +done diff --git a/scripts/.local/scripts/uncmt b/scripts/.local/scripts/uncmt new file mode 100755 index 0000000..ff1c646 --- /dev/null +++ b/scripts/.local/scripts/uncmt @@ -0,0 +1,8 @@ +#!/bin/bash + +# adapted from... +# https://github.com/rwxrob/dot/blob/main/scripts/ucmt + +while IFS= read -r line; do + echo "${line#* }" +done