Skip to content

Commit ff4ada9

Browse files
committed
added vim
1 parent 9a6f73b commit ff4ada9

File tree

2 files changed

+22
-18
lines changed

2 files changed

+22
-18
lines changed

.devcontainer/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,14 @@ sandbox = false
3434
max-jobs = auto
3535
EOF
3636

37-
# Install direnv & starship
37+
# Install packages
3838
RUN nix profile add \
3939
nixpkgs#direnv \
40-
nixpkgs#starship
40+
nixpkgs#starship \
41+
nixpkgs#vim \
42+
nixpkgs#neovim
43+
44+
# Configure shell
4145
RUN cat >> ${HOME}/.bashrc <<'EOF'
4246
eval "$(direnv hook bash)"
4347
eval "$(starship init bash)"

.devcontainer/starship.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ $time\
2020
\n$character"""
2121

2222
[directory]
23-
style = "fg:#e3e5e5 bg:#769ff0"
2423
format = "[ $path ]($style)"
24+
style = "fg:#e3e5e5 bg:#769ff0"
2525
truncation_length = 3
2626
truncation_symbol = "…/"
2727

@@ -32,50 +32,50 @@ truncation_symbol = "…/"
3232
"Pictures" = ""
3333

3434
[git_branch]
35-
symbol = ""
36-
style = "bg:#394260"
3735
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
36+
style = "bg:#394260"
37+
symbol = ""
3838

3939
[git_status]
40-
style = "bg:#394260"
4140
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
41+
style = "bg:#394260"
4242

4343
[nodejs]
44-
symbol = ""
45-
style = "bg:#212736"
4644
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
45+
style = "bg:#212736"
46+
symbol = ""
4747

4848
[rust]
49-
symbol = ""
50-
style = "bg:#212736"
5149
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
50+
style = "bg:#212736"
51+
symbol = ""
5252

5353
[golang]
54-
symbol = ""
55-
style = "bg:#212736"
5654
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
55+
style = "bg:#212736"
56+
symbol = ""
5757

5858
[php]
59-
symbol = ""
60-
style = "bg:#212736"
6159
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
60+
style = "bg:#212736"
61+
symbol = ""
6262

6363
[time]
6464
disabled = false
65-
time_format = "%R" # Hour:Minute Format
66-
style = "bg:#1d2230"
6765
format = '[[  $time ](fg:#a0a9cb bg:#1d2230)]($style)'
66+
style = "bg:#1d2230"
67+
time_format = "%R" # Hour:Minute Format
6868

6969
[os]
7070
disabled = false
71-
style = "bg:#a3aed2 fg:#090c0c"
7271
format = '[ $symbol ]($style)'
72+
style = "bg:#a3aed2 fg:#090c0c"
7373

7474
[os.symbols]
7575
Macos = ""
7676
Ubuntu = ""
7777

7878
[hostname]
79+
format = '[$hostname]($style)'
7980
ssh_only = true
8081
style = "bg:#a3aed2 fg:#090c0c"
81-
format = '[$hostname]($style)'

0 commit comments

Comments
 (0)