TODO:
- Refactor
lsp-isntall
server:setup()
by following this - Conditional aliases for Windows/WSL (
open
)
First and foremost
git clone https://github.com/SweedJesus/dotfiles.git ~/.dotfiles
The rcm
tool is one I ran accross when looking for ways to automate the setting-up and
tearing-downof my dotfiles, quickly and on any machine. It does this by symlinking everything in the
designated dotfiles directory (for me ~/.dotfiles
) into home. Files and folders at the first level
are all prepended with a dot, e.g. ~/.dotfiles/zshrc
is linked to ~/.zshrc
. Additionally, pre
and post-symlink hooks can be used for further automating the setup.
-
Install
rcm
(something like sudo apt-get install rcm or brew install rcm) -
Run the rcup command with the variable
RCRC
set to the path of~/.dotfiles/rcrc
env RCRC=~/.dotfiles/rcrc rcup
This will symlink the various files and also run a couple scripts that will install various plugins for both neovim and zsh.
-
Install
zsh
and set it as your login shellchsh -s $(which zsh) $(USER)
Both pyenv
for managing Python versions and pyenv-virtualenv
for
managing Python virtual environments. See this for a pretty good guide.
It seems for some Python versions the image must be built; when that's the case follow the
Python's install dependencies instructions.
To create a virtualenv for the Python version used with pyenv
run pyenv virtualenv [version] <venv-name>. For example
pyenv virtualenv 2.7.10 my-virtual-env-2.7.10
If there is only one argument given to pyenv virtualenv
, the virtualenv will be created with the
given name based on the current pyenv
Python version.
If eval "$(pyenv virtualenv-init -)"
is configured in your shell (which it is in .zprofile
),
pyenv-virtualenv
will automatically activate/deactivate virtualenvs on entering/leaving
directories which contain a .python-version
file that contains the name of a valid virtual
environment as shown in the output of pyenv virtualenvs
(e.g., venv34
or 3.4.3/envs/venv34
in
example above) . .python-version
files are used by pyenv to denote local Python versions and can
be created and deleted with the pyenv local
command.
Following this guide
TODO: Add a requirements file, ignored by rcrc, in this repo for installing the following for
the nvim3
virtual environment:
neovim
pynvim
ruff-lsp