Working on cleaning up zshrc and aliases

This commit is contained in:
2021-12-31 10:14:41 -05:00
parent 79e085e9bf
commit 8841d92e87
7 changed files with 42 additions and 21 deletions

View File

@@ -1,8 +1,12 @@
#!/bin/sh
for font in /opt/homebrew/share/figlet/fonts/*.flf; do
set -e
font_dir="$(brew --prefix)/share/figlet/fonts"
for font in "${font_dir}"/*.flf; do
clear
echo "FONT: $font"
figlet -f "${font}" hello
read line
read -r line
done

8
scripts/.local/scripts/banner Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
set -e
message="${1:-m-housh}"
font="${2:-puffy}"
echo "${message}" | figlet -c -f "${font}"

7
scripts/.local/scripts/dots Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
set -e
# Open dotfiles.
cd "$DOTFILES" && vim .

5
scripts/.local/scripts/l Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
# Lists files and directories, including hidden files.
ls -lah --color "$@"