mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 03:00:11 +00:00
55 lines
1 KiB
Bash
55 lines
1 KiB
Bash
#!/bin/bash
|
|
# Description: Useful command-line utilities
|
|
set -e
|
|
|
|
_recipe brew
|
|
|
|
case $_PLATFORM in
|
|
darwin)
|
|
_brew binutils
|
|
_brew coreutils
|
|
_brew findutils --with-default-names
|
|
_brew gawk
|
|
_brew gnu-indent --with-default-names
|
|
_brew gnu-sed --with-default-names
|
|
_brew gnu-tar --with-default-names
|
|
_brew gnu-which --with-default-names
|
|
|
|
# File browsing
|
|
_brew tree
|
|
_brew ncdu
|
|
|
|
# File compression
|
|
_brew p7zip
|
|
_brew unrar
|
|
|
|
# Misc
|
|
_brew entr
|
|
_brew htop
|
|
_brew jq
|
|
_brew lnav
|
|
_brew the_silver_searcher
|
|
_brew tig
|
|
_brew tmux
|
|
;;
|
|
*)
|
|
_recipe _apt
|
|
|
|
# File browsing
|
|
_apt tree
|
|
_apt ncdu
|
|
|
|
# File compression
|
|
_apt p7zip
|
|
_apt unrar
|
|
|
|
# Misc
|
|
_apt entr
|
|
_apt htop
|
|
_apt jq
|
|
_apt lnav
|
|
_apt silversearcher-ag
|
|
_apt tig
|
|
_apt tmux
|
|
;;
|
|
esac
|