Skip to content

Commit

Permalink
Update .zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
thapabishwa committed Feb 2, 2020
1 parent 72f7e04 commit db0635a
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .zshrc
Expand Up @@ -2,7 +2,12 @@
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="/home/bishwa/.oh-my-zsh"

if [[ "$OSTYPE" == "linux-gnu" ]]; then
export ZSH="/home/bishwa/.oh-my-zsh"
elif [[ "$OSTYPE" == "darwin"* ]]; then
export ZSH="/Users/bishwa/.oh-my-zsh"
fi

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
Expand Down Expand Up @@ -68,7 +73,7 @@ ZSH_THEME="robbyrussell"
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git kubectl docker ansible cp golang helm sudo vscode web-search systemd last-working-dir git-extras extract encode64 copyfile compleat)
plugins=(git kubectl docker ansible cp golang helm sudo vscode web-search systemd git-extras extract encode64 copyfile compleat)

source $ZSH/oh-my-zsh.sh
source ~/.zsh_profile
Expand Down Expand Up @@ -97,6 +102,11 @@ source ~/.zsh_profile
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
source '/opt/kube-ps1/kube-ps1.sh'
PROMPT='$(kube_ps1)'$PROMPT

if [[ "$OSTYPE" == "linux-gnu" ]]; then
source '/opt/kube-ps1/kube-ps1.sh'
PROMPT='$(kube_ps1)'$PROMPT
elif [[ "$OSTYPE" == "darwin"* ]]; then
source "/usr/local/opt/kube-ps1/share/kube-ps1.sh"
PS1='$(kube_ps1)'$PS1
fi

0 comments on commit db0635a

Please sign in to comment.