Skip to content

Commit

Permalink
Merge pull request #16 from theredguild/os-pipx-path-and-shell-prompt
Browse files Browse the repository at this point in the history
Added pipx ensurepath and fixed a bug in zsh prompt
  • Loading branch information
mattaereal authored Oct 4, 2024
2 parents 3456421 + 7c944ca commit db34d22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"makefile.configureOnOpen": false
}
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ SHELL ["/usr/bin/zsh", "-c"]

# Set the prompt
RUN echo "autoload -U colors && colors" >> $HOME/.zshrc
RUN echo 'export "PS1=%F{green}%n@%m %F{blue}%1~ %F{yellow}%f "' >> $HOME/.zshrc
RUN echo 'export PS1="%F{green}%n@%m %F{blue}%1~ %F{yellow}$%f "' >> $HOME/.zshrc

# Building everything inside /src
WORKDIR /src
Expand Down Expand Up @@ -117,6 +117,9 @@ RUN pipx install gitxray
# Install semgrep
RUN pipx install semgrep

# pipx environment path set
RUN pipx ensurepath

# Install git-secrets
RUN git clone https://github.com/awslabs/git-secrets.git git-secrets \
&& cd git-secrets \
Expand Down

0 comments on commit db34d22

Please sign in to comment.