Skip to content

my terminal configurations

Notifications You must be signed in to change notification settings

solvedbiscuit71/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

Install Xcode and Homebrew.

xcode-select --install
/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Add brew to $PATH.

eval "$(/opt/homebrew/bin/brew shellenv)"

Installation

Download all the necessary packages via homebrew.

brew install bash bash-completion fzf gcc git lazygit lsd neovim nnn tmux zoxide

Download Iosevka Nerd Font and Install it.

Alacritty is a simple and fast terminal emulator written in rust. Install alacritty via homebrew cask.

brew install --cask alacritty

Setup

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

To install the dotfiles

python3 .script/init.py

To remove the dotfiles

python3 .script/deinit.py

Config

Set bash as your default shell

echo '/opt/homebrew/bin/bash' | sudo tee -a /etc/shells
chsh -s /opt/homebrew/bin/bash

Install plugin manager for tmux. Enter tmux and install the plugins via <C-a>I

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Add-ons

Disable dock delay in MacOS

defaults write com.apple.Dock autohide-delay -float 0 && killall Dock

Tiling window manager for MacOS

brew install --cask amethyst spaceid

Using pyenv to manage different python version

brew update
brew install pyenv
pyenv install 3.11
pyenv global 3.11

Using nvm to manage different node version, follow the nvm github page to install nvm.

nvm alias default <version>