mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +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_sessions
|
||||
**/completions/*
|
||||
**/.netrwhist
|
||||
|
||||
@@ -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"
|
||||
|
||||
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