Starship to windows
This commit is contained in:
parent
861bdfc8ca
commit
43840d4354
5 changed files with 51 additions and 33 deletions
|
|
@ -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
1
linux/.config/starship.toml
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
../../starship.toml
|
||||||
33
starship.toml
Normal file
33
starship.toml
Normal 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
|
||||||
|
|
||||||
14
windows/metadata/starship.xml
Normal file
14
windows/metadata/starship.xml
Normal 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>
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
1
windows/starship/starship.toml
Symbolic link
1
windows/starship/starship.toml
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
../../starship.toml
|
||||||
Loading…
Add table
Add a link
Reference in a new issue