GithubHelp home page GithubHelp logo

my-box's Introduction

Overview

This repository contains a set of scripts that helps setting up my development machine.

PowerShell

My development environment is heavily centered around using the terminal. From a Windows PowerShell prompt, run the following command:

iex "& { $(irm 'https://raw.githubusercontent.com/springcomp/my-box/main/bootstrap/powershell.ps1') }"

This will install:

Warning: this script is designed to setup a new machine and installs a custom PowerShell profile. Please backup your existing $profile file before running this script.

my-box's People

Contributors

springcomp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

my-box's Issues

Getting errors running script on WIndows 11

Thank you for putting together this script to make it simpler to install
I upgraded from windows pro 10 to latest windows 11 insider build and I am getting the following errors:

iex "& { $(irm 'https://raw.githubusercontent.com/springcomp/my-box/main/bootstrap/powershell.ps1') }"


Install-Profile: C:\Users\ticha\AppData\Local\Temp\pwsh-core.ps1:93
Line |
  93 |      Install-Profile "psreadline" -Load
     |      ~~~~~~~~~~~~~~~
     | The term 'Install-Profile' is not recognized as a name of a cmdlet, function, script file, or
     | executable program. Check the spelling of the name, or if a path was included, verify that the path is
     | correct and try again.

Update-PoshTheme: C:\Users\ticha\AppData\Local\Temp\pwsh-core.ps1:95
Line |
  95 |      Update-PoshTheme
     |      ~~~~~~~~~~~~~~~~
     | The term 'Update-PoshTheme' is not recognized as a name of a cmdlet, function, script file, or
     | executable program. Check the spelling of the name, or if a path was included, verify that the path is
     | correct and try again.

Upgrade-OhMyPosh: C:\Users\ticha\AppData\Local\Temp\pwsh-core.ps1:96
Line |
  96 |      Upgrade-OhMyPosh
     |      ~~~~~~~~~~~~~~~~
     | The term 'Upgrade-OhMyPosh' is not recognized as a name of a cmdlet, function, script file, or
     | executable program. Check the spelling of the name, or if a path was included, verify that the path is
     | correct and try again.

Upgrade-TerminalIcons: C:\Users\ticha\AppData\Local\Temp\pwsh-core.ps1:97
Line |
  97 |      Upgrade-TerminalIcons
     |      ~~~~~~~~~~~~~~~~~~~~~
     | The term 'Upgrade-TerminalIcons' is not recognized as a name of a cmdlet, function, script file, or
     | executable program. Check the spelling of the name, or if a path was included, verify that the path is
     | correct and try again.

Something missing

I just ran your script and I´m not getting the arrows (just []) . Do you know what I need to do to get them?
image

Issue with Upgrade-OhMyPosh

Hi,

first of all, thank you for your work.

I have an issue with the script 👍
PS C:\Users\leona> iex "& { $(irm 'https://raw.githubusercontent.com/springcomp/my-box/main/bootstrap/powershell.ps1') }" COMMENTAIRES : Destination: C:\Users\leona\AppData\Local\Microsoft\powershell-daily COMMENTAIRES : Latest PowerShell Daily already installed. GET https://raw.githubusercontent.com/springcomp/powershell_profile.ps1/master/Microsoft.PowerShell_profile.ps1 HTTP/1.1 C:\Users\leona\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 updated. Loading oh-my-posh profile. Loading psreadline profile. Installing C:\Users\leona\AppData\Local\Temp\CascadiaCode\Caskaydia Cove Nerd Font Complete Mono Windows Compatible.ttf... Installing C:\Users\leona\AppData\Local\Temp\CascadiaCode\Caskaydia Cove Nerd Font Complete Mono.ttf... Installing C:\Users\leona\AppData\Local\Temp\CascadiaCode\Caskaydia Cove Nerd Font Complete Windows Compatible.ttf... Installing C:\Users\leona\AppData\Local\Temp\CascadiaCode\Caskaydia Cove Nerd Font Complete.ttf... Un package existant a déjà été installé. Tentative de mise à niveau du package installé... Aucune mise à niveau applicable trouvée. NativeCommandExitException: Program "winget.exe" ended with non-zero exit code: -1978335189. Profile oh-my-posh already registered to the profiles profile. Profile psreadline already registered to the profiles profile. Upgrade-OhMyPosh: C:\Users\leona\AppData\Local\Temp\pwsh-core.ps1:106 Line | 106 | Upgrade-OhMyPosh | ~~~~~~~~~~~~~~~~ | The term 'Upgrade-OhMyPosh' is not recognized as a name of a cmdlet, function, script file, or executable program. | Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I don't know what to do...

Thanks in advance for your help !

Léo

Scripts installed in different directory

Across my machines, the profiles have installed in:

C:\Users\MyUser\Documents\PowerShell

and not

C:\Users\MyUser\Documents\WindowsPowerShell

My $PROFILE is `C:\Users\MyUser\Documents\WindowsPowerShell\ which hasn't been changed, curious if this is something specific to my machines or has been experienced by other people?

Happy to submit a PR to check the additional dir if this is known.

How do I resolve this?

Hi there. I've got this error when trying to install... How can I resolve this? Thanks.

image

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.