Skip to content

Instantly share code, notes, and snippets.

@AlexandroPerez
AlexandroPerez / terminal-config.md
Last active June 8, 2021 05:14
Windows Terminal oh-my-zsh theme configuration

Before using the following steps set Ubuntu's color scheme to Tango Dark, which is included in Windows Terminal color schemes. This is the best scheme to match the following setup.

  1. First install zsh and curl in wsl terminal. Also git if not installed yet, else omit.

$ sudo apt-get install zsh curl git

  1. Install oh-my-zsh. >When prompted to set zsh as your default shell type Yes
#!/bin/sh
# The line above this one basically just indicates that the file is a shell script.
# This script renews all the Let's Encrypt certificates with a validity < 30 days
# This first line is a conditional block it tries to run the program at
# `/opt/letsencrypt/letsencrypt-auto` with the command `renew`
# Earlier in the guide the letsencrypt binaries were installed to opt
# `sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt`
# The `!` at the beginning is a boolean conditional negation operator and in this