This commit is contained in:
Matthew Ryan Dillon 2021-01-18 17:29:01 -07:00
parent 214101899e
commit 29580c89e5
5 changed files with 53 additions and 13 deletions

View file

@ -10,32 +10,69 @@ $ ./install
$ sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume $ sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
$ source ~/.zshrc $ source ~/.zshrc
$ nix-env -i \ $ nix-env -i \
alacritty \ coreutils \
cmus \
docker \
elixir \ elixir \
ffmpeg \
git \ git \
heroku \
htop \ htop \
kakoune \
nodejs \ nodejs \
postgresql \ packer \
reattach-to-user-namespace \ reattach-to-user-namespace \
silver-searcher \ silver-searcher \
syncthing \ sslmate \
tmux \ tmux \
tree \
vim \ vim \
watch \
wget \ wget \
xz \ xz
yarn
$ base16_ashes $ base16_ashes
$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ $ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh $ vim +PlugInstall
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
$ sudo sh Miniconda3-latest-MacOSX-x86_64.sh -p /opt/miniconda3 -b $ sudo sh Miniconda3-latest-MacOSX-x86_64.sh -p /opt/miniconda3 -b
$ sudo conda update conda $ sudo conda update conda
$ wget https://raw.githubusercontent.com/qiime2/environment-files/master/latest/staging/qiime2-latest-py36-osx-conda.yml $ wget https://raw.githubusercontent.com/qiime2/environment-files/master/latest/staging/qiime2-latest-py36-osx-conda.yml
$ conda env create -n q2dev --file qiime2-latest-py36-osx-conda.yml $ conda env create -n q2dev --file qiime2-latest-py36-osx-conda.yml
$ git clone <some private repo> # this will bootstrap the macos keychain
$ python3 bin/bootstrap_git_repos.py
$ sudo rm ~/Desktop ~/Downloads
$ ln -s ~/desk ~/Desktop
$ ln -s ~/Desktop ~/Downloads
$ chflags hidden ~/Documents ~/Library ~/Movies ~/Music ~/Pictures ~/Public
$ chflags -h hidden ~/Desktop ~/Downloads
$ chflags nohidden desk
``` ```
## todos
- rework git bootstrap script
- add in neuron install
- cmus won't install
## manual install/setup
- anonymous pro
- docker
- firefox
- freedom
- iterm2
- postgres.app
- printer drivers
- rust
- slack
- ssh keys
- steermouse
- syncthing
- thunderbird
- virtualbox
- vscode
- wakatime key
- zoom
## optional vscode extensions ## optional vscode extensions
```bash ```bash

View file

@ -6,10 +6,8 @@
- ~/projects/qiime2/data/moving-pictures - ~/projects/qiime2/data/moving-pictures
- ~/projects/mds - ~/projects/mds
- ~/projects/personal - ~/projects/personal
- ~/desk
- shell: - ~/files
- python3 bin/generate_vscode_workspaces.py
- python3 bin/bootstrap_git_repos.py
- link: - link:
~/.tmux.conf: tmux.conf ~/.tmux.conf: tmux.conf

View file

@ -132,6 +132,8 @@ zstyle ':prezto:module:prompt' theme 'peepcode'
# Auto set the tab and window titles. # Auto set the tab and window titles.
zstyle ':prezto:module:terminal' auto-title 'yes' zstyle ':prezto:module:terminal' auto-title 'yes'
zstyle ':completion:*:*' ignored-patterns 'Desktop' 'Downloads' 'Documents' \
'Library' 'Movies' 'Music' 'Pictures' 'Public'
# #
# Tmux # Tmux

View file

@ -90,7 +90,7 @@ path=(
$HOME/.cargo/bin $HOME/.cargo/bin
# misc apps # misc apps
/Applications/Postgres.app/Contents/Versions/12/bin/ /Applications/Postgres.app/Contents/Versions/latest/bin
/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/ /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/
) )
@ -98,3 +98,5 @@ export -U PATH
export CONDA_ENVS_PATH=$HOME/.conda/envs:/opt/miniconda3/envs export CONDA_ENVS_PATH=$HOME/.conda/envs:/opt/miniconda3/envs
export CONDA_PKGS_DIRS=$HOME/.conda/pkgs export CONDA_PKGS_DIRS=$HOME/.conda/pkgs
fignore=(Desktop Download Documents)

View file

@ -17,6 +17,7 @@ fi
# shortcuts # shortcuts
alias q="conda activate q2dev" alias q="conda activate q2dev"
alias i="ipython3" alias i="ipython3"
alias ls='ls -I Desktop -I Documents -I Downloads -I Library -I Movies -I Music -I Pictures -I Public'
BASE16_SHELL=$HOME/.config/base16-shell/ BASE16_SHELL=$HOME/.config/base16-shell/
[ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)" [ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"