Git Product home page Git Product logo

dotfiles's Introduction

dotfiles

A repository for some of my configuration dotfiles.

How to install onto a new system

alias config="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME"
echo ".cfg" >> .gitignore
git clone --bare https://github.com/sabeer-code/dotfiles.git $HOME/.cfg
config checkout
config config --local status.showUntrackedFiles no

Additional files to source folders to add into PATH in ~/.bashrc

cat <<'EOF' >> ~/.bashrc

# Create ~/bin folder if it does not exist and add to PATH
if [[ ! -d $HOME/bin ]]; then
    mkdir -p $HOME/bin
fi
export PATH="$HOME/bin:$PATH"

# Alias definitions.
if [[ -f $HOME/.bash_aliases ]]; then
    . $HOME/.bash_aliases
fi

# Prompt Definition
if [[ -f $HOME/.bash_prompt ]]; then
    . $HOME/.bash_prompt
fi

EOF
source ~/.bashrc

NeoVim setup

cd ~/bin
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
ln -s nvim.appimage ./nvim
cd ~
source ~/.bashrc

NvChad setup

Delete current config, clone the NvChad setup, and restore custom config

rm -rf ~/.config/nvim && git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 && config restore ~/.config/nvim/lua/custom

Tmux setup

  1. Install Tmux as per TmuxWiki
    NOTE: This is needed as some Tmux configuration needs newer versions of Tmux
  2. Clone Tmux Package Manager into config: https://github.com/tmux-plugins/tpm#installation

References:

dotfiles's People

Contributors

sabeer-code avatar

Watchers

 avatar

dotfiles's Issues

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.