Skip to content

Commit

Permalink
Removing bacon from my ~life~ PS1
Browse files Browse the repository at this point in the history
  • Loading branch information
kassio committed Aug 14, 2017
1 parent 15fb871 commit 0e3ca8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions rcfiles/bashrc
Expand Up @@ -12,7 +12,6 @@ export DOTFILES=$HOME/.dotfiles
source "$(brew --prefix)/etc/bash_completion"

__ps1() {
local emoji="🥓 "
local last_status="$?"
local blue='\[\e[0;34m\]'
local red='\[\e[0;31m\]'
Expand All @@ -26,7 +25,7 @@ __ps1() {
local prompt_color=${red}
fi

__git_ps1 "${emoji} ${blue}\w${reset}" "
__git_ps1 "${blue}\w${reset}" "
${prompt_color}\$${reset} "
}

Expand Down
3 changes: 1 addition & 2 deletions rcfiles/zshrc
Expand Up @@ -89,7 +89,6 @@ setopt interactive_comments
fpath=(/usr/local/share/zsh-completions ${fpath})

function __ps1() {
local emoji="🥓 "
local last_status="$?"
local blue="$FG[004]"
local red="$FG[001]"
Expand All @@ -103,7 +102,7 @@ function __ps1() {
local prompt_color=${red}
fi

__git_ps1 "${emoji} ${blue}%~%f" "
__git_ps1 "${blue}%~%f" "
${prompt_color}$%f %{${reset}%}"
}

Expand Down

0 comments on commit 0e3ca8f

Please sign in to comment.