mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-09 05:33:48 -05:00
Added TLDR to homebrew packages
This commit is contained in:
@@ -101,10 +101,6 @@ install-ffmpeg () {
|
|||||||
#
|
#
|
||||||
# Credit: https://github.com/cowboy/dotfiles
|
# Credit: https://github.com/cowboy/dotfiles
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
|
|
||||||
# Given a list of desired items and installed items, return a list
|
|
||||||
# of uninstalled items.
|
|
||||||
# Credit: https://github.com/cowboy/dotfiles
|
|
||||||
function to_install() {
|
function to_install() {
|
||||||
local debugger desired installed i desired_s installed_s remain
|
local debugger desired installed i desired_s installed_s remain
|
||||||
if [[ "$1" == 1 ]]; then debugger=1; shift; fi
|
if [[ "$1" == 1 ]]; then debugger=1; shift; fi
|
||||||
@@ -142,6 +138,9 @@ function doInstall () {
|
|||||||
# FFMPEG takes additional flags
|
# FFMPEG takes additional flags
|
||||||
if [[ "${item}" = "ffmpeg" ]]; then
|
if [[ "${item}" = "ffmpeg" ]]; then
|
||||||
install-ffmpeg
|
install-ffmpeg
|
||||||
|
elif [[ "${item}" = "tldr" ]]; then
|
||||||
|
brew tap tldr-pages/tldr
|
||||||
|
brew install tldr
|
||||||
else
|
else
|
||||||
${INSTALLCOMMAND} ${item}
|
${INSTALLCOMMAND} ${item}
|
||||||
fi
|
fi
|
||||||
@@ -154,6 +153,9 @@ function doInstall () {
|
|||||||
# FFMPEG takes additional flags
|
# FFMPEG takes additional flags
|
||||||
if [[ "${item}" = "ffmpeg" ]]; then
|
if [[ "${item}" = "ffmpeg" ]]; then
|
||||||
install-ffmpeg
|
install-ffmpeg
|
||||||
|
elif [[ "${item}" = "tldr" ]]; then
|
||||||
|
brew tap tldr-pages/tldr
|
||||||
|
brew install tldr
|
||||||
else
|
else
|
||||||
${INSTALLCOMMAND} ${item}
|
${INSTALLCOMMAND} ${item}
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -145,6 +145,7 @@ RECIPES=(
|
|||||||
sqlite
|
sqlite
|
||||||
tag
|
tag
|
||||||
terminal-notifier
|
terminal-notifier
|
||||||
|
tldr
|
||||||
tree
|
tree
|
||||||
unison
|
unison
|
||||||
z
|
z
|
||||||
|
|||||||
Reference in New Issue
Block a user