Last active
June 3, 2022 01:50
-
-
Save kevinfiol/5b42e9507f25f0f9d7bf8706ae21abce to your computer and use it in GitHub Desktop.
alacritty conf (put in C:\Users\<username>\AppData\Roaming\alacritty) PS Profile in (C:\Users\<username>\Documents\WindowsPowerShell)
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
working_directory: "C:/Users/kevin" | |
selection: | |
# When set to `true`, selected text will be copied to the primary clipboard. | |
save_to_clipboard: true | |
shell: | |
program: powershell | |
args: | |
- -nologo | |
window: | |
position: | |
x: 584 | |
y: 294 | |
padding: | |
x: 8 | |
y: 4 | |
dimensions: | |
columns: 90 | |
lines: 26 | |
title: Terminal | |
dynamic_title: false | |
font: | |
size: 10.0 | |
normal: | |
family: 'FiraCode Nerd Font' | |
cursor: | |
style: | |
shape: Block | |
blinking: On | |
blink_interval: 600 | |
# Colors (Konsole's Dark Pastels) | |
colors: | |
# Default colors | |
primary: | |
background: '0x191919' | |
foreground: '0xDCDCCC' | |
# Normal colors | |
normal: | |
black: '0x3F3F3F' | |
red: '0x705050' | |
green: '0x1D8B17' | |
yellow: '0xDFAF8F' | |
blue: '0x9AB8D7' | |
magenta: '0xDC8CC3' | |
cyan: '0x8CD0D3' | |
white: '0xDCDCCC' | |
# Bright colors | |
bright: | |
black: '0x709080' | |
red: '0xDCA3A3' | |
green: '0x72D5A3' | |
yellow: '0xF0DFAF' | |
blue: '0x94BFF3' | |
magenta: '0xEC93D3' | |
cyan: '0x93E0E3' | |
white: '0xFFFFFF' | |
key_bindings: | |
- { key: PageUp, mode: ~Alt, action: ScrollPageUp } | |
- { key: PageDown, mode: ~Alt, action: ScrollPageDown } |
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
try { $null = gcm pshazz -ea stop; pshazz init } catch { } | |
Import-Module posh-git | |
# install with: Install-Module PSColor | |
Import-Module PSColor | |
# install oh-my-posh with: Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1')) | |
# https://ohmyposh.dev/docs/installation/windows | |
oh-my-posh init pwsh --config C:\Users\kevin\apps\alacritty\pure-mod.omp.json | Invoke-Expression | |
$DefaultUser = $Env:UserName | |
# bash like completion | |
Set-PSReadlineOption -BellStyle None | |
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete | |
function touch {if((Test-Path -Path ($args[0])) -eq $false) {Set-Content -Path ($args[0]) -Value ($null)} else {(Get-Item ($args[0])).LastWriteTime = Get-Date } } | |
function source { gcm $args[0] | Select-Object Source } | |
function wsl:list { wsl -l -v } | |
function wsl:stop { wsl --shutdown } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment