Update file provision.sh
This commit is contained in:
parent
0d25d56538
commit
43f348e34d
1 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,15 @@
|
||||||
# ~/.local/share/chezmoi. Finally, it begins the TUI experience by displaying styled documentation, prompts, and finishes
|
# ~/.local/share/chezmoi. Finally, it begins the TUI experience by displaying styled documentation, prompts, and finishes
|
||||||
# by calling the appropriate Chezmoi commands.
|
# by calling the appropriate Chezmoi commands.
|
||||||
|
|
||||||
|
### Print output to console and log file
|
||||||
|
if [ ! -d "$HOME/.cache/megabyte-labs" ]; then
|
||||||
|
mkdir -p "$HOME/.cache/megabyte-labs"
|
||||||
|
fi
|
||||||
|
# Source: https://unix.stackexchange.com/a/323189
|
||||||
|
exec 3<&1
|
||||||
|
coproc logtee { tee "$HOME/.cache/megabyte-labs/betelgeuse.log" >&3; }
|
||||||
|
exec >&${logtee[1]} 2>&1
|
||||||
|
|
||||||
# @description Installs glow (a markdown renderer) from GitHub releases
|
# @description Installs glow (a markdown renderer) from GitHub releases
|
||||||
# @example installGlow
|
# @example installGlow
|
||||||
installGlow() {
|
installGlow() {
|
||||||
|
|
Loading…
Reference in a new issue