Giter VIP home page Giter VIP logo

dotfileswindows's Introduction

Windows Dotfiles 🍥🔥

My dotfiles and configurations on Windows :shipit:

[!INFO]
Estas configuraciones estás basadas en mi uso diario del sistema. Algunas herramientas podrían no resultar utiles para ti.

Installation

Global Basic config

  1. Winget
  • Install or update winget.

    It is a good idea to install or update winget after a windows fresh install.

    Visit: the offficial store page for the package installer (Winget)

  • Restore the packages from the winget-apps.json

    1. Opena a powershell terminal in with admin privileges
    2. Run the following command inside the folder that contains the file winget-apps.json
    winget import -i .\applist-winget --ignore-unavailable --ignore-versions --accept-package-agreements --accept-source-agreements
  1. Powershell
  • Allow non signed scripts execution in powershell:

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
  • Set Config file path to .config\powershell\user_profile.ps1

    Create a default profile config file with the command:

    nvim $profile.CurrentUserCurrentHost

    and set a the path to this config file as en environment variable:

    . $env:USERPROFILE\.config\powershell\user_profile.ps1
  1. Fonts

    To properly display the prompt theme with oh-my-posh, we will need to install them from:

    The Official Nerd Fonts Page

  2. Prompt Theme

    This repo contains a configuration for oh-my-posh in the user_profile file and a slightly customized theme based on takuya.

    to modify the prompt use the file takuya.omp.json once it's set on the path indicated at the end of this guide.

    Check out the documentation for oh-my-posh: Docs page

Install Powershell Modules

To install the necessary powershell modules run:

# posh-git for git status summary
Install-Module posh-git -Scope CurrentUser -Force

# fzf
Install-Module -Name PSFzf -Scope CurrentUser -Force

# PSReadLine
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck

# Z jumper
Install-Module -Name Z -Force

# Terminal Icons
Install-Module -Name Terminal-Icons -Repository PSGallery -Force

Scoop

To install Scoop run the command:

iwr -useb get.scoop.sh | iex

Install Scoop Apps:

Restore the packages inside of scoop-apps.json with the command:

scoop import .\scoop-apps.json

Refer to the docs at: scoop

WSL 🐧

Refer to the docs: Microsoft Wsl docs

  1. Install WSL

    Run this command to enable the WSL feature:

    dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

    and then restart the system.

    • Set the WSL Version to WSL 2
    wsl --set-version 2
    • Install a distribution

    To know tha list of available distros run:

    winget --list -o

    to install a specific distro run:

    wsl --install -d "Name of the distro"

Move the config files to the right location

  1. Powershell config file

create the folder for the config:

mkdir ~\.config\powershell

move the file user_profile.ps1 inside of the powershell folder on this repo to the route:

cp .\poweshell\user_profile.ps1 ~\.config\powershell\

copy the oh-my-posh theme file to the same route

cp .\poweshell\takuya.omp.json ~\.config\powershell\
  1. WSL config file
cp .wslconfig ~\
  1. gitconfig file
cp .gitconfig ~\

dotfileswindows's People

Contributors

lrivas3 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.