Some modifications

Style default to slim theme
config updated to include bashrc
dcup, dcdown to work in parallel (supported by dco)
This commit is contained in:
lksz 2021-02-22 14:58:49 -05:00
parent c8869ae393
commit 4da3726760
8 changed files with 64 additions and 41 deletions

View file

@ -1,6 +1,6 @@
Get-Command Set-PSReadLineKeyHandler | ForEach-Object { Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete }
if( Get-Command Set-PoshPrompt -ErrorAction SilentlyContinue ) {
$local:poshPrompt = Join-Path $HOME ".oh-my-posh.omp.json"
if( -not (Test-Path $poshPrompt) ) { $poshPrompt = "powerlevel10k_classic" }
if( -not (Test-Path $poshPrompt) ) { $poshPrompt = "slim" }
Set-PoshPrompt -Theme $poshPrompt
} elseif( Get-Command Set-Theme -ErrorAction SilentlyContinue ) { Set-Theme Paradox }

View file

@ -7,6 +7,12 @@
],
"vi": "~/.virc",
"omp": "~/.oh-my-posh.omp.json",
"profile": [
"~/.profile",
"/etc/profile",
"/etc/profile.d/"
],
"bashrc": "~/.bashrc",
"zshrc": "~/.zshrc",
"zsys": "/etc/zsys.conf",
"shrc": "~/.shrc",
@ -17,6 +23,11 @@
"@shell-loading-snippets/bash",
"@shell-loading-snippets/sh"
],
"sz-bashrc": [
"~/.sz.bashrc.sh",
"#bashrc",
"@shell-loading-snippets/bash"
],
"sz-zshrc": [
"~/.sz.zshrc.sh",
"#zshrc",