Skip to content

Commit

Permalink
Append custom config to zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry committed May 5, 2020
1 parent 21d2f9b commit 1e22dd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ cp config.json ~/.docker
# Install oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# Append custom config to zsh
cat zshrc-append.txt >> ~/.zshrc

if [ ! -f ~/.ssh/id_rsa ]; then
ssh-keygen -t rsa -b 4096 -N "" -f ~/.ssh/id_rsa
fi
Expand Down
3 changes: 3 additions & 0 deletions zshrc-append.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
alias up="docker-compose up --build --force-recreate"

export PROMPT='${ret_status} $fg[red]%}$USER$fg[yellow]%}@$fg[cyan]%}%m %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'

0 comments on commit 1e22dd6

Please sign in to comment.