Skip to content

Instantly share code, notes, and snippets.

@BenjaVR
Last active June 20, 2019 17:36
Show Gist options
  • Select an option

  • Save BenjaVR/c99d66160d54a82a223c530cf1c02aab to your computer and use it in GitHub Desktop.

Select an option

Save BenjaVR/c99d66160d54a82a223c530cf1c02aab to your computer and use it in GitHub Desktop.

Revisions

  1. BenjaVR revised this gist Jun 20, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Jetbrains_shell_path.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    "pwsh" -NoLogo -NoProfile
  2. BenjaVR revised this gist Jun 8, 2019. 4 changed files with 13 additions and 4 deletions.
    9 changes: 9 additions & 0 deletions cmder-task.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    <key name="PowershellCoreTask">
    <value name="Name" type="string" data="{pwsh}"/>
    <value name="Flags" type="dword" data="00000005"/>
    <value name="Hotkey" type="dword" data="00000000"/>
    <value name="GuiArgs" type="string" data=""/>
    <value name="Active" type="long" data="0"/>
    <value name="Count" type="long" data="1"/>
    <value name="Cmd1" type="string" data="pwsh -NoLogo"/>
    </key>
    3 changes: 0 additions & 3 deletions profile.ps1
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,3 @@
    # Clear the text.
    Clear-Host

    # Import modules.
    Import-Module posh-git
    Import-Module oh-my-posh
    1 change: 0 additions & 1 deletion properties.txt
    Original file line number Diff line number Diff line change
    @@ -1 +0,0 @@
    - Opacity: 95%
    4 changes: 4 additions & 0 deletions vscode.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    {
    "terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\6\\pwsh.exe",
    "terminal.integrated.shellArgs.windows": ["-NoLogo"]
    }
  3. BenjaVR created this gist Jun 7, 2019.
    12 changes: 12 additions & 0 deletions install.ps1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    Install-Module posh-git -Scope CurrentUser -Force
    Install-Module oh-my-posh -Scope CurrentUser -Force
    Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck

    Start-Process -Path "https://github.com/ryanoasis/nerd-fonts/releases/latest"
    Echo "Download the 'Meslo' font, install 'Meslo LG M Regular Nerd Font Complete Mono Windows Compatible.otf', and press a key to continue."

    # Wait for keypress.
    $HOST.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") | OUT-NULL
    $HOST.UI.RawUI.Flushinputbuffer()

    Set-ItemProperty -Path "Registry::HKEY_CURRENT_USER\Console" -Name "FaceName" -Value "MesloLGM NF" -Type String
    9 changes: 9 additions & 0 deletions profile.ps1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    # Clear the text.
    Clear-Host

    # Import modules.
    Import-Module posh-git
    Import-Module oh-my-posh

    # Set oh-my-posh theme.
    Set-Theme Paradox
    1 change: 1 addition & 0 deletions properties.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    - Opacity: 95%