From 29580c89e5d20692a39bf0e3db7e9f2c32fd7868 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Mon, 18 Jan 2021 17:29:01 -0700 Subject: [PATCH] wip --- README.md | 53 ++++++++++++++++++++++++++++++++++++++++------- install.conf.yaml | 6 ++---- zsh/zpreztorc | 2 ++ zsh/zshenv | 4 +++- zsh/zshrc | 1 + 5 files changed, 53 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 0b1ad55..ef36144 100644 --- a/README.md +++ b/README.md @@ -10,32 +10,69 @@ $ ./install $ sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume $ source ~/.zshrc $ nix-env -i \ - alacritty \ - cmus \ - docker \ + coreutils \ elixir \ + ffmpeg \ git \ + heroku \ htop \ + kakoune \ nodejs \ - postgresql \ + packer \ reattach-to-user-namespace \ silver-searcher \ - syncthing \ + sslmate \ tmux \ + tree \ vim \ + watch \ wget \ - xz \ - yarn + xz $ base16_ashes $ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ 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 conda update conda $ 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 +$ git clone # 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 ```bash diff --git a/install.conf.yaml b/install.conf.yaml index 705598a..58de954 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -6,10 +6,8 @@ - ~/projects/qiime2/data/moving-pictures - ~/projects/mds - ~/projects/personal - -- shell: - - python3 bin/generate_vscode_workspaces.py - - python3 bin/bootstrap_git_repos.py + - ~/desk + - ~/files - link: ~/.tmux.conf: tmux.conf diff --git a/zsh/zpreztorc b/zsh/zpreztorc index bec0fd1..86fe3bb 100644 --- a/zsh/zpreztorc +++ b/zsh/zpreztorc @@ -132,6 +132,8 @@ zstyle ':prezto:module:prompt' theme 'peepcode' # Auto set the tab and window titles. zstyle ':prezto:module:terminal' auto-title 'yes' +zstyle ':completion:*:*' ignored-patterns 'Desktop' 'Downloads' 'Documents' \ + 'Library' 'Movies' 'Music' 'Pictures' 'Public' # # Tmux diff --git a/zsh/zshenv b/zsh/zshenv index df3fbe9..90470ff 100644 --- a/zsh/zshenv +++ b/zsh/zshenv @@ -90,7 +90,7 @@ path=( $HOME/.cargo/bin # 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/ ) @@ -98,3 +98,5 @@ export -U PATH export CONDA_ENVS_PATH=$HOME/.conda/envs:/opt/miniconda3/envs export CONDA_PKGS_DIRS=$HOME/.conda/pkgs + +fignore=(Desktop Download Documents) diff --git a/zsh/zshrc b/zsh/zshrc index b525129..46cc128 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -17,6 +17,7 @@ fi # shortcuts alias q="conda activate q2dev" 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/ [ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"