Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

solvedbiscuit71/.dotfiles

Repository files navigation

Dotfiles

To use the dotfiles you need the appropriate program that we are configuring.Also the dependencies that the program requires.

Note: The following installation are done assuming that you are using macOS. There may be some changes if you are using a Linux

Installing dependencies

Xcode Command Line Tools (only for macOS)

Xcode Command Line Tools comprised of development tools such as git and many more.

xcode-select --install

Homebrew

Homebrew is a package manager used for managing and installing packages

curl -fsSL -o install.sh https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh

Terminal Emulator

A Terminal Emulator is a software that is used for accessing the shell such as bash and zsh

use kitty,

brew install --cask kitty

or alacritty,

brew install --cask alacritty

Oh My Zsh

oh my zsh is a framework for managing your zsh configuration & plugins

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

For more info: https://github.com/ohmyzsh/ohmyzsh

Dracula theme

To install Dracula theme,

  1. Download using the GitHub .zip download option and unzip them.
  2. Move dracula.zsh-theme to ~/.oh-my-zsh/themes.
  3. Move /lib to ~/.oh-my-zsh/themes.

For more info : https://draculatheme.com

Patched Font

Patched fonts includes many symbol which are used by other terminal program. Here, we are going to install Hack Nerd Font Mono.

brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font

For more nerd font check: https://github.com/ryanoasis/nerd-fonts

Other Programming Font

All of these fonts support ligatures, but Alacritty doesn't support ligatures!

Auto suggestion & Syntax Highlighting

Auto suggestion goes through your previous command and show suggestion based on that.

git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions

Syntax Highlighting provides nice highlights with commands.

git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

fzf

fzf is a fuzzy finder useful for searching through previous command, changing directory,etc.

brew install fzf
$(brew --prefix)/opt/fzf/install

For more info : https://github.com/junegunn/fzf

Neovim (Optional)

Check neovim's GitHub page, https://github.com/neovim/neovim

brew install neovim

+python3 support

+python3 support is essential for plugins like UltiSnips,vimspector,.

brew install python3
pip3 install neovim

Note:
comment the line require'mysnippets' in init.lua to avoid module not found error.

Stow

Stow is a symlink manager which is used to manager the dotfiles via creating symlink in there respected locations.

brew install stow

Setting .dotfiles

After installing all of the dependencies. Clone the repository by,

git clone https://github.com/solvedbiscuit71/.dotfiles.git ~/.dotfiles

Before running the install script add user privileges for executing.

cd ~/.dotfiles/
chmod +x install.sh remove.sh clear_env.sh
./install.sh

Then, restart your terminal for the changes to take effect.

Note: if configuration files already exist, it's move to ~/.dotfiles_backup/