Skip to content

jelmore1674/.dotfiles

Repository files navigation

Installation guide

Prerequisites

  • zsh
  • curl
  • go
  • fzf

Install oh-my-zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Oh-my-zsh custom plugins

  • zsh-autosuggestions:
git clone https://github.com/zsh-users/zsh-autosuggestions \
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  • fast-syntax-highlighting:
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git \
${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
  • zsh-autocomplete:
git clone https://github.com/marlonrichert/zsh-autocomplete.git \
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autocomplete

Install homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Clone dotfile repo

The next step is to clone the repo

Install Brewfile

cd into the .dotfiles directory and install the Brewfile

brew bundle install --file Brewfile

Install npm global packages

There are a few mandatory npm packages. Install them using this.

npm i -g @fsouza/prettierd eslint_d vscode-langservers-extracted

Stow

Once the Brewfile is installed, stow the directories in the root.

First, stow nvim config.

stow nvim

Then stow either the work or personal configuration.

stow personal

Login to 1Password

Using the 1Password cli, sign in.

op account add

Once the account is setup, run get the key by running.

op document get "key" --output ~/secrety.key

Decrypt Repo

To decrypt the repo after getting the key, run the following command

git-crypt unlock ~/secrety.key

One last thing

Remember, this is highly opinionated, so things might not work exactly how you expect. But, hey, that's half the fun, right?

Contributing

If you think you can make this chaos even better, feel free to open an issue or submit a PR. Just remember, there's a fine line between genius and insanity. Are you up for the challenge?

Happy hacking!

About

Just my dotfiles so if anyone wants to try my setup

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors