mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 03:00:11 +00:00
Add more recipes
This commit is contained in:
parent
c949106d88
commit
8ae3411507
14 changed files with 119 additions and 1 deletions
12
recipes/TeX
Normal file
12
recipes/TeX
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
_recipe brew
|
||||
brew cask install mactex
|
||||
;;
|
||||
*)
|
||||
_recipe _apt
|
||||
_apt texlive-full
|
||||
esac
|
6
recipes/apib
Normal file
6
recipes/apib
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
_recipe nvm
|
||||
_npm drafter
|
||||
_npm aglio
|
|
@ -2,6 +2,7 @@
|
|||
set +e
|
||||
|
||||
_recipe brew
|
||||
_recipe shell-utils
|
||||
_recipe git
|
||||
_recipe zsh
|
||||
_recipe bin
|
||||
|
|
|
@ -28,7 +28,6 @@ function _brew {
|
|||
fi
|
||||
}
|
||||
|
||||
|
||||
if ! which brew >/dev/null; then
|
||||
_run "Install brew" __install_brew
|
||||
fi
|
||||
|
|
11
recipes/email
Normal file
11
recipes/email
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
_recipe brew
|
||||
_brew isync
|
||||
|
||||
_recipe emacs
|
||||
EMACS=$(which emacs) _brew mu --with-emacs --HEAD
|
||||
|
||||
_recipe nvm
|
||||
_npm imapnotify
|
5
recipes/erlang
Normal file
5
recipes/erlang
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
_recipe brew
|
||||
_brew kerl
|
5
recipes/exercism
Normal file
5
recipes/exercism
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
_recipe brew
|
||||
_brew exercism
|
5
recipes/ledger
Normal file
5
recipes/ledger
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
_recipe brew
|
||||
_brew ledger
|
6
recipes/mit-scheme
Normal file
6
recipes/mit-scheme
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
_recipe brew
|
||||
_brew mit-scheme
|
||||
|
5
recipes/pandoc
Normal file
5
recipes/pandoc
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
_recipe brew
|
||||
_brew pandoc
|
18
recipes/path
Normal file
18
recipes/path
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
function _path_low {
|
||||
PATH="$1:$PATH"
|
||||
test -r ~/.bash_profile && echo "export PATH='$1'":'"$PATH"' >>~/.bash_profile
|
||||
echo "export PATH='$1'":'"$PATH"' >>~/.profile
|
||||
}
|
||||
|
||||
function _path_high {
|
||||
PATH="$PATH:$1"
|
||||
test -r ~/.bash_profile && echo 'export PATH="$PATH"':"'$PATH'" >>~/.bash_profile
|
||||
echo "export PATH='$1'":'"$PATH"' >>~/.profile
|
||||
}
|
||||
|
||||
function _path {
|
||||
_path_low $@
|
||||
}
|
6
recipes/prolog
Normal file
6
recipes/prolog
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
_recipe brew
|
||||
_brew swi-prolog
|
||||
|
6
recipes/python3
Normal file
6
recipes/python3
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
_recipe brew
|
||||
_brew python3
|
||||
_brew mypy
|
33
recipes/shell-utils
Normal file
33
recipes/shell-utils
Normal file
|
@ -0,0 +1,33 @@
|
|||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
_recipe brew
|
||||
|
||||
case "$(uname -s)" 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
|
||||
;;
|
||||
esac
|
||||
|
||||
# File browsing
|
||||
_brew tree
|
||||
_brew ncdu
|
||||
|
||||
# File compression
|
||||
_brew p7zip
|
||||
_brew unrar
|
||||
|
||||
|
||||
# Misc
|
||||
_brew htop
|
||||
_brew tig
|
||||
_brew lnav
|
||||
_brew tmux
|
||||
_brew jq
|
Loading…
Reference in a new issue