Code Monkey home page Code Monkey logo

windowspowershell's Introduction

Windows PowerShell Profile Folder

This folder contains Tony's PowerShell configuration. Features:

  • Posh Git command-line completion
  • Kubernetes Minikube helper functions
  • Kubectl and Helm command-line completion
  • Vagrant aliases: vup, vreansible, vrdp, vputty, etc.
  • "Solarized" coloration for PowerShell Windows
  • Set environment variables for Flatirons/Jouve Vagrant virtual machine configuration
  • More coming over time...

You will need to set up user-specific secretes and other information by copying examples files, see below.

Installation

  1. Fork this repository into your own repo (if you don't want to use my files as-is.)
  2. Clone the git repository into your PowerShell Profile folder, for example:
    PS> git clone https://github.com/TonyApuzzo/WindowsPowerShell.git "$Profile\.."
    
  3. Copy the example files to specific files, for example:
    PS> cd "$Profile\..\Profile.d"
    PS> cp setVagrantEnv.ps1.example setVagrantEnv.ps1
    
  4. Edit the file(s) for your specific situation:
    gvim setVagrantEnv.ps1
    
  5. Run a new PowerShell window to verify that everything works and you don't have errors.

Usage

Put any PowerShell scripts or modules you want to have automatically sourced into $Profile..\Profile.d named *.ps1 or *.psm1, respectively.

Warning

Remember to never check any files into the repository that contain private or sensitive data like SSH keys, SSL certificates or passwords. Add the sensitive file(s) to the .gitignore and then Use the file.ext.example approach to add a sanitized version of the sensitive file to the repository instead of the actual file.

windowspowershell's People

Contributors

tonyapuzzo avatar

Watchers

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