9 lines
117 B
Plaintext
9 lines
117 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
file="$TEMPLATE_DIR/$1"
|
||
|
if [ -d "$file" ]; then
|
||
|
tree -C "$file"
|
||
|
else
|
||
|
bat -pf "$file"
|
||
|
fi
|