Git Product home page Git Product logo

dotfiles's Introduction

Kabum .dotfiles!

This is my personal configuration repo. For ease of use, here is how to apply them and track any changes.

Dependencies

packages to install

  • Some nerd fonts (like that one)
  • git (version control for this repo. Yes)
  • curl
  • homebrew
  • antigen (plugin manager for zsh, install in $HOME)
  • eza (replacement for ls)
  • zoxide (replacement for cd)
  • python3.11 (optional as an alias is configured for it, remove it if necessary)
  • fzf (fuzzy finder for quick jump to file)
  • nvim (this is now you IDE)
  • thefuck (helps rephrase missed commands)
  • bun (optional as an alias is configured for it, remove it if necessary)
  • bat (syntax highlighting in cat)
  • LazyGit (optional as an alias is configured for it, remove it if necessary)

Other

  1. Install Tmux Plugin Manager
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
  1. Install Alacritty themes and add coolnight
mkdir ~/.config/alacritty
cd ~/.config/alacritty
git clone https://github.com/alacritty/alacritty-theme themes
curl https://raw.githubusercontent.com/josean-dev/dev-environment-files/main/.config/alacritty/themes/themes/coolnight.toml --output ~/.config/alacritty/themes/themes/coolnight.toml

Out of scope (you might want to create manually)

  • .zshenv

Apply configuration

  1. Add the following alias to .zshrc or your terminal session
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
  1. Ignore clone folder to avoid weird recursion issues
alias echo ".cfg" >> .gitignore
  1. Clone the dotfiles
git clone --bare [email protected]:DrKabum/dotfiles.git $HOME/.mycfg
  1. Define the config alias for git in this bare repo
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
  1. Checkout actual content of the remote into $HOME:
config checkout 

Tip

If the above fails, it's because some of the config files from this repository are already present by default. Move them to a backup folder or delete them.

dotfiles's People

Contributors

drkabum avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.