Config files for the macOS + Zsh situation I have going on, and some scripts to get us vibing (and the addition of some other config for Arch Linux 🎉)
Running the linkup script will create symlinks from config files in this repo to where Zsh most desires them to be.
Before running, make sure the DOTFILES variable in both ./linkup and ./zsh/.zshenv is the path to this repo.
Also ensure NVM_DIR (./misc/nvm) and ZSH (./zsh/.zshenv) are the correct paths for your OS.
git clone https://github.com/lache-melvin/dotfiles.git
cd dotfiles
./linkup
- symlinks zsh config files in
./zshto~.zshenvsets up environment vars.zprofilesources./pathson login (my iTerm is set to consider every new shell a login shell).zshrcinitialises oh-my-zsh, sources./aliases,./functionsand some of the files in./miscfor interactive shell sessions
- symlinks
./.gitconfigto~/.gitconfig - symlinks files in
./configto wherever they most prefer in~/.config
You're going to need to install oh-my-zsh, vim-plug and nvm yourself.
cute idea @don-smith
Running the ./npmig script will install the global npm packages I'm currently using (I endeavour to keep this up to date)
Install a new node version and reinstall packages from current version:
nvm install <new-version> --reinstall-packages-from=<current-version>
If you've already installed the new version:
nvm reinstall-packages <from-version>