Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
# Exact Solarized Dark color theme for the color GNU ls utility. | |
# Designed for dircolors (GNU coreutils) 5.97 | |
# | |
# This simple theme was simultaneously designed for these terminal color schemes: | |
# - Solarized dark (best) | |
# - Solarized light | |
# - default dark | |
# - default light | |
# with a slight optimization for Solarized Dark. | |
# |
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
<Title>CreateMediatRCommand</Title> | |
<Author>Rob Prouse</Author> | |
<Description>Create MediatR Command and Handler with no return type</Description> |
# Set the code page to the one used by PostGres | |
chcp 1252 | |
Import-Module posh-git # https://github.com/dahlbyk/posh-git | |
Import-Module oh-my-posh # https://github.com/JanDeDobbeleer/oh-my-posh | |
Import-Module PsGoogle # https://github.com/gfody/PsGoogle | |
Import-Module PSSudo # https://github.com/ecsousa/PSSudo | |
Import-Module DockerCompletion # https://github.com/matt9ucci/DockerCompletion | |
Import-Module Get-ChildItemColor # https://github.com/joonro/Get-ChildItemColor |
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "executiontime", | |
"style": "diamond", |
# Set the code page to the one used by PostGres | |
chcp 1252 | |
Import-Module posh-git | |
Import-Module oh-my-posh | |
Import-Module PsGoogle | |
Import-Module PSSudo | |
$ThemeSettings.MyThemesLocation = [environment]::getfolderpath("mydocuments")+ '\PowerShell\PoshThemes' |
#requires -Version 2 -Modules posh-git | |
function Write-Theme { | |
param( | |
[bool] | |
$lastCommandFailed, | |
[string] | |
$with | |
) |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.acceptSuggestionOnEnter": false, | |
"editor.cursorBlinking": "phase", | |
"editor.cursorStyle": "line", | |
"editor.fontFamily": "Fira Code, Hack, Consolas, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 16, | |
"editor.formatOnSave": false, | |
"editor.glyphMargin": true, |
# EditorConfig helps developers define and | |
# maintain consistent coding styles between | |
# different editors and IDEs | |
# http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Don't use tabs for indentation. |