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