Skip to content

dangvanthanh/dotfiles

Repository files navigation

Dang Thanh’s dotfiles

Getting Started

You need install Git. Clone or download this repository

$ git clone https://github.com/dangvanthanh/dotfiles.git

Usage

  • $ cd dotfiles
  • $ chmod +x install.sh
  • $ ./install.sh

Git

Set Git global configuration

$ git config --global user.name "Your Name"
$ git config --global user.email "youremail@email.com"

Fish

Make fish default shell

$ which fish
$ chsh -s /opt/homebrew/bin/fish

Homebrew

Install Homebrew and Brewfile

$ chmod +x brew.sh
$ ./brew.sh
$ ./install.sh

Alacritty and Neovim

Create ~/.config folder for Alacritty and Neovim

$ mkdir ~/.config
$ cd ~/.config

Alacritty

Create configuration for Alacritty

$ mkdir -p ~/.config/alacritty && cd ~/.config/alacritty && touch alacritty.yml

Neovim

Install the Neovim Python module

$ pip3 install --user neovim

Create configuration for Neovim

$ mkdir -p ~/.config/nvim
$ mkdir -p ~/.config/nvim/lua
$ mkdir -p ~/.config/nvim/lua/config
$ mkdir -p ~/.config/nvim/lua/plugins

Benchmarking neovim

$ hyperfine "nvim --headless +qa" --warmup 5

Asdf

Update asdf/shims/node no such file or directory

$ vim ~/.asdf/shims/node

Or reshim asdf

$ rm -rf ~/.asdf/shims/*
$ asdf reshim

Visual Studio Code

Show the extensions installed in Visual Studio Code

$ code --list-extensions | xargs -L 1 echo code --install-extension

Brewfile

All the applications I use:

Web Developer

Browsers

  • Arc - A New Way of Using the Internet
  • Firefox - Fast, Private and Free
  • Google Chome - Download the Fast, Security Browser

Design

Communication

  • Discord - Your Place to Talk and Hang Out
  • Skype - Communication Calls And Chat
  • Slack - Platform For Team and Work
  • Dropbox - Storage Online

Others