MAINT: macos catalina (#4)

This commit is contained in:
Matthew Ryan Dillon 2020-01-22 15:21:23 -07:00 committed by GitHub
parent 83cc9a195e
commit 98c89a360d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 37 additions and 28 deletions

View file

@ -1,39 +1,37 @@
# Dotfiles
```bash
$ sudo zypper install \
the_silver_searcher \
cmus \
ctags \
docker \
gcc \
git \
htop \
mr \
nodejs10 \
postgresql \
postgresql-server \
postgresql-devel \
tlp \
tmux \
tree \
vim \
wget \
xz \
zsh
$ git clone https://github.com/thermokarst/dotfiles.git ~/.dotfiles
$ cd ~/.dotfiles
$ git remote rename origin thermokarst
$ sudo chsh $USER -s zsh
$ sudo bash -c "echo nix /System/Volumes/Data/nix | tr ' ' '\t' >> /etc/synthetic.conf"
$ sudo mkdir /System/Volumes/Data/nix
$ sudo chown $USER /System/Volumes/Data/nix
# REBOOT
$ git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
$ git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
$ ./install
$ curl https://nixos.org/nix/install | sh
$ source ~/.zshrc
$ nix-env -i \
alacritty \
docker \
git \
htop \
mr \
postgresql \
silver-searcher \
tmux \
vim \
wget \
xz
$ base16_ashes
$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
$ vim +PlugInstall
$ mr checkout
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ sudo sh Miniconda3-latest-Linux-x86_64.sh # install to /opt/miniconda3
$ 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 conda update conda
$ wget https://raw.githubusercontent.com/qiime2/environment-files/master/latest/staging/qiime2-latest-py36-linux-conda.yml
$ conda env create -n q2dev --file qiime2-latest-py36-linux-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
```