Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The repository contains dot files for personal setup. They have been tweaked over the years for my personal use. Please refer to instructions in the config if you want to replicate the same.

Notifications You must be signed in to change notification settings

manojbajaj95/config

Repository files navigation

: '
                                   _       _    __ _ _
                                  | |     | |  / _(_) |
                                __| | ___ | |_| |_ _| | ___  ___
                               / _` |/ _ \| __|  _| | |/ _ \/ __|
                              | (_| | (_) | |_| | | | |  __/\__ \
                               \__,_|\___/ \__|_| |_|_|\___||___/
                                --------------------------------
                           swiss army knife of any software engineer
                         ----------------------------------------------

             -----------------------------------------------------------------------
             This repository is the collection of configurations that I learned over
             time and tweaked for my personal taste. The repository contains configs
             files for vim, tmux, etc etc.  The reposiotry also contains scripts for
             automating the setup of your development machine.
             -----------------------------------------------------------------------
    
'

Please refer to instructions in the README if you want to replicate and tweak accordingly.

Storing and Re-storing dotfiles

The dotfiles are stored in a git bare repository. There is no need to maintain symlinks, copy/paste, or complicated dotfile manager. To replicate the setup, use the following commands:

remove any files that are creating conflic

alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
git clone --bare https://github.com/manojbajaj95/config.git $HOME/.cfg
config config --local status.showUntrackedFiles no
config checkout

You'll need to resolve conflicts if you already have any custom dotfiles.

Refer to The best way to store your dotfiles: A bare Git repository

Initial Setup

For Mac

Update your system to latest OS, then head over to App Store and install xcode. Once completed, execute the following script:

~/Scripts/mac-first-time.sh
~/Scripts/mac/install-fonts.sh
brew bundle --file=~/Scripts/mac/Brewfile

For Arch:

TODO:

For ubuntu:

TODO:

Installing Pre-requisites/important Cli

Optional

brew bundle --file=~/Scripts/mac/Brewfile

Alacritty - terminal

Execute

brew install --cask alacritty

Zsh - bash replacement

Execute:

mv ~/.zshrc ~/.zshrc.old
~/Scripts/setup/zsh-setup.sh

Vim -

Execute:

rm -rf ~/.vim*
~/Scripts/setup/vim-setup.sh

Tmux

Execute:

rm -rf ~/.tmux*
~/Scripts/setup/tmux-setup.sh

Visual Studio Code

Execute:

~/Scriptsvscode-setup.sh restore

Environment setup

CPlusPlus

Check ~/.end.d/cpp.env

Golang

Check ~/.end.d/go.env

JavaScript/TypeScript

Check ~/.end.d/go.env

load_node

Rust

Check ~/.end.d/rust.env

load_rust

Python

Check ~/.end.d/python.env

About

The repository contains dot files for personal setup. They have been tweaked over the years for my personal use. Please refer to instructions in the config if you want to replicate the same.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published