瀏覽代碼
Initial commit
master
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: BC6F3C345B7D33B0
共有
2 個檔案被更改,包括
40 行新增 和
0 行删除
-
README.md
-
starship.toml
|
|
@@ -0,0 +1,13 @@ |
|
|
|
# Starship configuration |
|
|
|
|
|
|
|
My personal configuration of [Starship](https://starship.rs). |
|
|
|
|
|
|
|
## Installation step |
|
|
|
|
|
|
|
Install Starship, then: |
|
|
|
|
|
|
|
```console |
|
|
|
$ git clone https://git.deuchnord.fr/Deuchnord/Starshipconf.git |
|
|
|
$ ln starship.toml ~/.config/starship.toml |
|
|
|
``` |
|
|
|
|
|
|
@@ -0,0 +1,27 @@ |
|
|
|
# Don't print a new line at the start of the prompt |
|
|
|
add_newline = true |
|
|
|
|
|
|
|
# Replace the "❯" symbol in the prompt with "➜" |
|
|
|
[character] # The name of the module we are configuring is "character" |
|
|
|
symbol = "🚀" # The "symbol" segment is being set to "➜" |
|
|
|
|
|
|
|
[memory_usage] |
|
|
|
disabled = false |
|
|
|
threshold = 10 |
|
|
|
|
|
|
|
[cmd_duration] |
|
|
|
min_time = 1 |
|
|
|
|
|
|
|
[git_status] |
|
|
|
conflicted = "🏳" |
|
|
|
ahead = "🏎💨" |
|
|
|
behind = "😰" |
|
|
|
diverged = "😵" |
|
|
|
untracked = "🤷" |
|
|
|
stashed = "📦" |
|
|
|
modified = "📝" |
|
|
|
staged = "➕" |
|
|
|
renamed = "👅" |
|
|
|
deleted = "🗑" |
|
|
|
show_sync_count = true |
|
|
|
|