DotFiles Repo

  • Note: To ensure that this repo dot files works properly clone this inside your home directory or use this command to clone this repo
git clone https://github.com/bhumit070/dotfiles.git $HOME/dotfiles

Zsh setup guide

  • To setup zsh use following steps

    • open your terminal and enter following commands
    cd $HOME/dotfiles/setup
    ./zsh-setup.sh
    • If you get any error like like permission denied while running ./zsh-setup.zsh then run
    chmod +x ./zsh-setup.sh

Plugins Included

Plugins Description
ZSH-VI-MODE Brings Vi Mode inside zsh shell
ZSH-AUTO-SUGGESTIONS Gives Suggestions while typing command
FAST-SYNTAX-HIGHLIGHTING Syntax Highlighting inside zsh shell

Docker DB setup guide

  • Note: Docker must be installed and running in your system to set this up
  • This setup will include 3 databases (mysql, mongodb & postgres) and two database management software phpmyadmin and pgadmin
  • To setup docker dbs run this commands
cd $HOME/dotfiles/setup/
./docker.sh
  • If you get any error like like permission denied while running ./docker.sh then run
chmod +x ./docker.sh

How to run these tools

Tool Command to Run Runs on depends on user password
MySQL mysql localhost:3306 - root -
Postgres postgres localhost:5432 - bhumit070 bhumit070
MongoDB pgadmin localhost:27017 - - -
  • Use TablePlus or your preferable database client to connect to these databases
  • You can change default username and password from this file -> $HOME/dotfiles/aliases/docker

some useful alias included in this setup

Alias (command) Use Original Command
dps It shows all docker containers docker ps --all
ddc It removes all the docker container docker rm -f $(docker ps -a -q)
ddi It removes all the docker image docker rmi -f $(docker images -a -q)
dstart [CONTAINER NAME] It starts the stopped container docker container start $1
dockerKillAndRemoveContainer [CONTAINER NAME] It stops and kills the container docker container stop $1 && docker container rm $1
ls -> eza rust replacement for ls ls
grep -> rg rust replacement for grep grep
cat -> bat rust replacement for cat cat