Compare commits

...

5 Commits

Author SHA1 Message Date
IsaacShoebottom 64048316af sync config 2026-06-29 20:46:34 -03:00
IsaacShoebottom 9c05dd910b update profile 2026-06-29 20:35:49 -03:00
IsaacShoebottom c387b62b5b Update profile 2026-06-29 20:33:49 -03:00
IsaacShoebottom c839333c05 Add starship config 2026-06-29 20:31:13 -03:00
IsaacShoebottom 95304660b6 Update profile 2026-06-29 20:24:06 -03:00
3 changed files with 47 additions and 0 deletions
@@ -1,3 +1,6 @@
# Setup
$PSProfileLoadTimePreference = 'Silent'
### Shell completion ### Shell completion
# Scoop completion # Scoop completion
@@ -27,6 +30,10 @@ if (Get-Command packwiz -ErrorAction SilentlyContinue) {
Invoke-Expression ((&packwiz completion powershell | Out-String)) Invoke-Expression ((&packwiz completion powershell | Out-String))
} }
if (Get-Command cheat -ErrorAction SilentlyContinue) {
Invoke-Expression ((&cheat --completion powershell | Out-String))
}
### Aliases ### Aliases
# Unix like pwd # Unix like pwd
@@ -136,3 +143,8 @@ Function update {
if ((Get-Location) -like "*scoop\apps\windows-terminal*") { if ((Get-Location) -like "*scoop\apps\windows-terminal*") {
Set-Location ~ Set-Location ~
} }
# Use starship prompt if installed
if (Get-Command starship -ErrorAction SilentlyContinue) {
Invoke-Expression (&starship init powershell)
}
+33
View File
@@ -0,0 +1,33 @@
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
add_newline = false
username.show_always = true
username.format = "[$user]($style)"
username.style_user = "white"
hostname.ssh_only = false
hostname.format = "[$hostname$ssh_symbol]($style)"
hostname.style = "white"
hostname.ssh_symbol = " 🌐"
directory.truncate_to_repo = false
directory.format = "[$path]($style)[$read_only]($read_only_style)"
directory.style = "white"
character.success_symbol = "[\\$](green)"
character.error_symbol = "[\\$](red)"
time.disabled = false
time.format = "[$time]($style)"
time.style = "white"
git_branch.always_show_remote = true
git_branch.format = "[$symbol](bright-black)[$branch]($style)"
git_branch.style = "white"
git_commit.only_detached = false
git_commit.tag_disabled = false
git_commit.format = "[$hash$tag]($style)"
git_commit.style = "bright-black"
# A minimal left prompt
format = "[\\[](bright-black)$username[@](bright-black)$hostname $directory[\\]](bright-black)$character"
# move the rest of the prompt to the right
right_format = """$git_branch $git_commit $time"""
+2
View File
@@ -18,3 +18,5 @@
helper = wincred helper = wincred
helper = cache helper = cache
[safe]
directory = *