mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-15 06:32:40 +00:00
Added some scripts and figlet
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -9,3 +9,4 @@ zsh/.config/zsh/history
|
|||||||
**/.zsh_history
|
**/.zsh_history
|
||||||
**/.zsh_sessions
|
**/.zsh_sessions
|
||||||
**/completions/*
|
**/completions/*
|
||||||
|
**/.netrwhist
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ cask_args appdir: "~/Applications", require_sha: true
|
|||||||
# formula
|
# formula
|
||||||
brew "espanso"
|
brew "espanso"
|
||||||
brew "fd" # required for some neovim plugins
|
brew "fd" # required for some neovim plugins
|
||||||
|
brew "figlet"
|
||||||
brew "git"
|
brew "git"
|
||||||
brew "mas"
|
brew "mas"
|
||||||
brew "neovim"
|
brew "neovim"
|
||||||
|
|||||||
8
scripts/.local/scripts/allfigl
Executable file
8
scripts/.local/scripts/allfigl
Executable file
@@ -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
|
||||||
8
scripts/.local/scripts/cmt
Executable file
8
scripts/.local/scripts/cmt
Executable file
@@ -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
|
||||||
8
scripts/.local/scripts/uncmt
Executable file
8
scripts/.local/scripts/uncmt
Executable file
@@ -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
|
||||||
Reference in New Issue
Block a user