Skip to content

shtayeb/.dotfiles

Repository files navigation

My Setup

TODO

  • Add remove existing oh-my-zsh, nerdfont install in zsh
  • Test python setup
  • Create windows specific setup

Requirement

Install ansible

sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update -y
sudo apt-get install -y curl git software-properties-common ansible

Clone this repo

git clone https://github.com/shtayeb/.dotfiles.git

Setup ubuntu

In WSL or terminal based usage

If you are me

ansible-playbook ubuntu-ansible.yml --tags install --tags git-personal

if you are not me

ansible-playbook ubuntu-ansible.yml -t install

In GUI

The me rule applies

ansible-playbook ubuntu-ansible.yml

Requirements for nvim windows

Make a script to install these automatically on both platforms --ansible--

  • mingw-64 - gcc and g++ (windows) Download Here

  • pwsh (windows)

  • git

  • GNU tar

  • 7-zip or winrar (windows)

  • neovim

  • nerdfonts

  • required for nvim plugins

    winget install BurntSushi.ripgrep.MSVC
    
    winget install sharkdp.fd
  • For windows you might need to install some other things, so check for error in nvim

In windows make sure to remove aliases for python in windows aliases in settings here Or remove the python.exe from C:\Users\shahr\AppData\Local\Microsoft\WindowsApps

additional setup to use powershell in float terminal Here

Some notes

  • Install nvchad

    • Windows
     Windows: git clone https://github.com/NvChad/NvChad $HOME\AppData\Local\nvim --depth 1 | nvim
  • Create symlink to custom folder of nvchad

    New-Item -ItemType SymbolicLink -Path "C:\Users\<USERNAME>\AppData\Local\nvim\lua\custom" -Target "<CLONED_LOCATION>\.dotfiles\nvim\lua\custom"

Wezterm Terminal Simulator

Link dotfiles to wezterm configs

  New-Item -ItemType SymbolicLink -Path "C:\Users\<USERNAME>\.config\wezterm" -Target "<CLONED_LOCATION>\.dotfiles\wezterm"
New-Item -ItemType SymbolicLink -Path "<USER_LOCATION>Documents\Powershell\Microsoft.PowerShell_profile.ps1" -Target "<DOTFILE_LOCATION>\dotfiles\Microsoft.PowerShell_profile.ps1"

Windows winget libs

winget install fzf tldr sharkdp.bat eza-community.eza sharkdp.fd BurntSushi.ripgrep.MSVC 

About

My dev environment setup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published