Skip to content

Commit 0457514

Browse files
committed
starship
1 parent 4dfaa3d commit 0457514

File tree

8 files changed

+31
-1
lines changed

8 files changed

+31
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: pimp-my-shell
22
repository: .
33
version: ""
4-
install_date: "2024-03-25T12:39:37-03:00"
4+
install_date: "2024-03-25T12:43:17-03:00"
55
project_files:
66
- web-build/Dockerfile.pimp-my-shell
77
- homeadditions/.bashrc.d/pimp-my-shell
88
- config.pimp-my-shell.yaml
99
- commands/web/ahoy
1010
- homeadditions/.local/share/bash-completion/completions/ahoy
11+
- homeadditions/.config/starship.toml
1112
global_files: []
1213
removal_actions: []

.ddev/homeadditions/.bashrc.d/pimp-my-shell

+3
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ export _ZL_DATA
1818
if [[ "$BASHOPTS" =~ login_shell ]]; then
1919
eval "$(lua /opt/z.lua/z.lua --init bash enhanced once fzf)"
2020
fi
21+
22+
# starship prompt
23+
eval "$(starship init bash)"
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#ddev-generated
2+
[git_status]
3+
# Disabling git_status to make it faster and likely not very useful on ddev
4+
# You can edit this file and remove #ddev-generated from the first line OR you
5+
# can add STARSHIP_CONFIG with reference to a different file.
6+
disabled=true
7+
8+
[directory]
9+
# 3 it's a bit small for most projects
10+
truncation_length=6

.ddev/web-build/Dockerfile.pimp-my-shell

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ RUN mkdir -p /opt/fzf && cd /opt/fzf && git init && git remote add origin https:
44
RUN mkdir -p /opt/fzf-git.sh && cd /opt/fzf-git.sh && git init && git remote add origin https://github.com/junegunn/fzf-git.sh.git && git fetch --depth 1 origin 0f1e52079ffd9741eec723f8fd92aa09f376602f && git checkout FETCH_HEAD
55
RUN wget -q https://github.com/sharkdp/bat/releases/download/v0.24.0/bat_0.24.0_`dpkg --print-architecture`.deb -O bat.deb && dpkg -i bat.deb && rm bat.deb
66
RUN mkdir -p /opt/z.lua && wget https://github.com/skywind3000/z.lua/archive/refs/tags/1.8.18.zip -qO- | bsdtar xf - --strip-components=1 -C /opt/z.lua
7+
RUN curl -sS https://starship.rs/install.sh | sh -s -- -y -v v1.18.1

homeadditions/.bashrc.d/pimp-my-shell

+3
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ export _ZL_DATA
1818
if [[ "$BASHOPTS" =~ login_shell ]]; then
1919
eval "$(lua /opt/z.lua/z.lua --init bash enhanced once fzf)"
2020
fi
21+
22+
# starship prompt
23+
eval "$(starship init bash)"

homeadditions/.config/starship.toml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#ddev-generated
2+
[git_status]
3+
# Disabling git_status to make it faster and likely not very useful on ddev
4+
# You can edit this file and remove #ddev-generated from the first line OR you
5+
# can add STARSHIP_CONFIG with reference to a different file.
6+
disabled=true
7+
8+
[directory]
9+
# 3 it's a bit small for most projects
10+
truncation_length=6

install.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ project_files:
55
- config.pimp-my-shell.yaml
66
- commands/web/ahoy
77
- homeadditions/.local/share/bash-completion/completions/ahoy
8+
- homeadditions/.config/starship.toml

web-build/Dockerfile.pimp-my-shell

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ RUN mkdir -p /opt/fzf && cd /opt/fzf && git init && git remote add origin https:
44
RUN mkdir -p /opt/fzf-git.sh && cd /opt/fzf-git.sh && git init && git remote add origin https://github.com/junegunn/fzf-git.sh.git && git fetch --depth 1 origin 0f1e52079ffd9741eec723f8fd92aa09f376602f && git checkout FETCH_HEAD
55
RUN wget -q https://github.com/sharkdp/bat/releases/download/v0.24.0/bat_0.24.0_`dpkg --print-architecture`.deb -O bat.deb && dpkg -i bat.deb && rm bat.deb
66
RUN mkdir -p /opt/z.lua && wget https://github.com/skywind3000/z.lua/archive/refs/tags/1.8.18.zip -qO- | bsdtar xf - --strip-components=1 -C /opt/z.lua
7+
RUN curl -sS https://starship.rs/install.sh | sh -s -- -y -v v1.18.1

0 commit comments

Comments
 (0)