Skip to content

Instantly share code, notes, and snippets.

View RohanNagar's full-sized avatar
⛰️

Rohan Nagar RohanNagar

⛰️
View GitHub Profile
@RohanNagar
RohanNagar / .vimrc
Last active March 28, 2018 18:00
.vimrc
" To use the plugins, Vundle must be installed.
" Run `git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim`
" Then, start vim and run `:PluginInstall` to install the plugins
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
@RohanNagar
RohanNagar / .bash_profile
Last active April 29, 2020 22:23
My current bash_profile
# Custom shell prompt
export PS1="\u \[\033[1;31m\]\w\[\033[32m\]\[\033[00m\] $ "
# Prompt Colors
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
@RohanNagar
RohanNagar / git-log-setup.sh
Created October 4, 2020 05:09
Better Git Log
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"