Starship to windows

This commit is contained in:
Luka Jankovic 2025-01-26 05:24:55 +01:00
parent 861bdfc8ca
commit 43840d4354
5 changed files with 51 additions and 33 deletions

View file

@ -1,33 +0,0 @@
format = """
$username\
$hostname\
$directory\
$git_branch\
$time\
$status\
$shell\
$character"""
add_newline = false
[directory.substitutions]
'/home/luka/winhome' = ' ~'
'~/winhome' = ' ~'
[character]
success_symbol = "[](green)"
error_symbol = "[](red)"
[line_break]
disabled = true
[swift]
disabled = true
[git_status]
disabled = true
[os]
format = "[$name](blue)"
disabled = false

1
linux/.config/starship.toml Symbolic link
View file

@ -0,0 +1 @@
../../starship.toml

33
starship.toml Normal file
View file

@ -0,0 +1,33 @@
format = """
$username\
$hostname\
$directory\
$git_branch\
$time\
$status\
$shell\
$character"""
add_newline = false
[directory.substitutions]
'/home/luka/winhome' = ' ~'
'~/winhome' = ' ~'
[character]
success_symbol = "[](green)"
error_symbol = "[](red)"
[line_break]
disabled = true
[swift]
disabled = true
[git_status]
disabled = true
[os]
format = "[$name](blue)"
disabled = false

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Metadata.xsd">
<FriendlyName>Starship</FriendlyName>
<Detection>
<Method>FindInPath</Method>
<FindInPath>starship</FindInPath>
</Detection>
<InstallPath>
<SpecialFolder>Personal</SpecialFolder>
<Destination>..\.config</Destination>
</InstallPath>
</Component>

View file

@ -1,2 +1,4 @@
# TODO: Fix path # TODO: Fix path
$DotFilesPath = "$HOME\Documents\dots2\windows" $DotFilesPath = "$HOME\Documents\dots2\windows"
Invoke-Expression (&starship init powershell)

View file

@ -0,0 +1 @@
../../starship.toml