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
# Warning: This config does not include keys that have an unset value | |
# ~/.config/starship.toml | |
format = '''\[$time\] $status$cmd_duration$username@$hostname \[$directory\] | |
[> ](bold)''' | |
scan_timeout = 30 | |
command_timeout = 500 | |
add_newline = false | |
[aws] |
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
#requires -Version 2 -Modules posh-git | |
function Write-Theme { | |
param( | |
[bool] | |
$lastCommandFailed, | |
[string] | |
$with | |
) |