Giter VIP home page Giter VIP logo

autposh's Introduction

autPosh

Este proyecto trata de un script con el que se puede configurar la terminal de Windows.

Windows 10 PowerShell 7+

Idioma del README

  • 馃嚜馃嚫 Espa帽ol
  • 馃嚭馃嚫 Ingl茅s

Instalaci贸n

  1. Clona el repositorio en su sistema
    git clone https://github.com/Qv1ko/autPosh.git
  2. Entra dentro del directorio de autPosh
  3. Ejecuta en una Terminal de PowerShell como administrador el comando Set-ExecutionPolicy Unrestricted

Uso

  1. Ejecuta el script autPosh.ps1 como administrador
  2. Selecciona una opcion:
    • Auto instalaci贸n y configuraci贸n
    • Selector del tema del prompt
    • Desinstalador

Gu铆a de configuraci贸n manual

  1. Instalar Windows Terminal y PowerShell desde Microsoft Store
  2. Establecer PowerShell como predeterminado en Windows Terminal:
    1. Abrir Terminal
    2. Presionar las teclas Ctrl+, para abrir la configuraci贸n de Windows Terminal
    3. En la secci贸n "Inicio", buscar la opci贸n "Perfil Predeterminado" y establecer "PowerShell" como valor
  3. Instalar una fuente para la PowerShell:
    1. Acceder a la p谩gina web de NerdFonts y elegir una fuente
    2. Descargar la fuente pulsando en el boton de Download
    3. Descomprimir el archivo descargado
    4. Abrir el archivo de la fuente
    5. Seleccionar todos los archivos excluyendo "LICENSE.txt" y "readme.md"
    6. Hacer clic derecho y seleccionar la opci贸n de "Instalar" para instalar la fuente en nuestro sistema
  4. Establecer la fuente de PowerShell en Windows Terminal:
    1. Abrir Windows Terminal
    2. Presionar las teclas Ctrl+, para abrir la configuraci贸n de Windows Terminal
    3. Acceder a "Apariencia", dentro del apartado "Configuraci贸n adicional" de "PowerShell" en la secci贸n "Perfiles"
    4. Establecer como valor en la opci贸n "Tipo de fuente" la fuente instalada
  5. Instalamos OhMyPosh:
    1. Abrir Windows Terminal
    2. Escribir el comando Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1')) para instalar OhMyPosh en el sistema
  6. Escoger tema para el prompt accediendo a la p谩gina web de OhMyPosh
  7. Crear y editar archivo de configuraci贸n de PowerShell:
    1. Abrir Windows Terminal
    2. Escribir New-Item -Path $PROFILE -Type File -Force para crear el archivo de configuraci贸n de PowerShell en la ubicaci贸n correcta
    3. Escribir notepad $PROFILE para abrir el archivo con notepad
    4. A帽adir al archivo el siguiente texto:
      oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\NombreTema.omp.json" | Invoke-Expression
      Import-Module -Name Terminal-Icons
    5. Reemplazar "NombreTema" por el nombre del tema escogido en el paso anterior
  8. Instalar el m贸dulo de iconos de archivos escribiendo en Windows Terminal Install-Module -Name Terminal-Icons -Repository PSGallery
  9. Recargar perfil de PowerShell escribiendo en Windows Terminal el comando . $PROFILE

Link al Pastebin

Cr茅ditos

autposh's People

Contributors

qv1ko 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.