Skip to content

Commit 28ca661

Browse files
authored
fix: don't swallow container name
1 parent 1d3f364 commit 28ca661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/.custom.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ alias cat=bat
77

88
eval "$(starship init bash)"
99

10-
export CONTAINER_NAME=$(docker ps -f ID=$(hostname) --format "{{.Names}}" > /dev/null 2>&1 || hostname)
10+
export CONTAINER_NAME=$(docker ps -f ID=$(hostname) --format "{{.Names}}" || hostname)
1111
export PATH=$HOME/.local/bin:$PATH
1212

1313
# SET WINDOW TITLE

0 commit comments

Comments
 (0)