💁♂️
This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.
Description | Syntax |
---|---|
Get the length of a string | ${#VARNAME} |
Get a single character | ${VARNAME[index]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Extensions.Hosting; | |
public sealed class TestWorkerService : IDisposable | |
{ | |
internal readonly IHost Host; | |
internal TestWorkerService( | |
HostApplicationBuilder builder, | |
Action<IHostApplicationBuilder> configure | |
) |