Skip to content

Terminal is my home. 🖥

Notifications You must be signed in to change notification settings

epicmet/.dotfiles

Repository files navigation

New .dotfiles is in progress and is changing a lot...

bash -c "$(curl -fsSL https://raw.githubusercontent.com/MahdiAghaei1/.dotfiles/master/install)"

Until future Mahdi decides to use ansible-vault properly, when adding a new private thing, use ansible-vault encrypt <THAT_THING> to encrypt it (use main vault password).

My personal dotfiles 🤝

workflow-screenshot

I use vim btw. 😎

Things you need to install before using these dotfiles

Usage

  1. Clone this repo on your home directory.

  2. Install all depenedencies based on instructions.

  3. Then based on your platform run ./ubuntu or ./macOS. It would stow the dotfiles on your home directory.

Actions

  • After installing tpm, inside tmux use prefix + I to install tmux packages.
  • After installing neovim and packer, use :PackerInstall to install neovim packages.

neovim

On macOS, installing from brew should be fine. But on ubuntu if apt did not have version 0.6 or above by the time, you can use snippet below. Source. OR maybe build it from the source ?

sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install neovim

tmux

On macOS, installing from brew should be fine. But on ubuntu if apt did not have version 3.2 or above by the time, follow the instructions to build it from source. Here is a quick summary:

  1. Install these packages:
libevent-dev ncurses-dev build-essential bison pkg-config make automake autotools-dev bison autoconf
  1. Go to /use/locals
  2. Run snippet below:
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure
make && sudo make install

zsh

Install it from apt and then install oh-my-zsh, it will take care of everything.

stow

Install from apt or brew.

lua

If you have neovim installed, chances are you already have lua, also checkout this site, it will help you build lua from source.

fzf

On macOS installing from brew should be fine but on ubuntu it's beter to clone from the repo and run install script. Make sure you have .fzf.zsh in your home directory.

packer

Follow the instructions in this repo and install it.

nerd-font

Dowload you desired font from this repo, otf versions are the best. "Caskaydia Cove Nerd Font" or "Fira Code Nerd Font" are suggested. Then install that font.

On arch linux after put the font in /usr/share/fonts and give it 444 chmod access (or give 555 to the containing folder). Refer to this link.

yabai

  1. Install yabai and skhd via homebrew.
  brew install yabai
  brew install skhd
  1. Start the service on background
  brew services start yabai
  brew services start skhd

Both of these should be running. Check their status with this command.

  brew services list

z

  1. clone the repo in ~/Software dir.
  2. run chmod +rx ~/Software/z/z.sh.

cfonts

Install with npm i -g cfonts

jq

Get the latest release from the repo and put it in ~/Software/bin, then make it executable with chmod command.

tree-sitter

Get the latest release form the repo and put it in ~/Software/bin, then make it executable with chmod command.

xlip

You need xclip installed to sync yank and clipboard system. Install it with your package manager.