Giter VIP home page Giter VIP logo

novalinha-oh-my-posh-theme's Introduction

NovaLinha Oh-my-posh Theme

A custom theme for beautiful customisation of your powershell. Built for oh-my-posh.

Table of Contents

About

Author: Luis Rita

Luis Rita's Github

Based and inspired on the Agnoster theme from oh-my-posh repo

Screenshots

No Git: Alt text

With Git synced: Alt text

With Git ut not synced or commiting: Alt text

Syntax error in command: Alt text

Command and output: Alt text

Prerequisites

This theme works with oh-my-posh. So you have to install oh-my-posh to Powershell:

  1. Install posh-git and oh-my-posh:
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
  1. Add Profile file to your PowerShell if it doesnt yet exist:
if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force }
notepad $PROFILE
  • Add this to your powershell profile to import the modules every time powershell runs:

    Import-Module posh-git
    Import-Module oh-my-posh
  1. Make sure to also install version 2.0.0-beta1 of PSReadLine
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force

For More info visit oh-my-posh.

Installation

  1. Download this repository to your machine
git clone https://github.com/L96Github/NovaLinha-oh-my-posh-theme.git
  1. Create the folder C:\Users\<your username>\Documents\WindowsPowerShell\PoshThemes (replace with your current username).
mkdir C:\Users\<your username>\Documents\WindowsPowerShell\PoshThemes
+ (Optional) You can also change the default location where themes are stored by changing oh-my-posh theme setting variable `$ThemeSettings.MyThemesLocation` (the folder defaults to `~\Documents\WindowsPowerShell\PoshThemes`) by running this command:

$ThemeSettings.MyThemesLocation = "<folder path to your themes>"

  1. Once the theme file is in the right folder, set NovaLinha as the theme of your powershell.
Set-Theme NovaLinha

novalinha-oh-my-posh-theme's People

Contributors

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