Created envision theme and template. The enision theme is a modified copy of the pete theme.

pull/167/head^2
William Jamieson 2012-11-08 09:21:46 +11:00
parent 5c0e1437d4
commit 065894cc49
2 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,43 @@
#!/usr/bin/env bash
# Load RVM, if you are using it
#[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
# Add rvm gems and nginx to the path
#export PATH=$PATH:~/.gem/ruby/1.8/bin:/opt/nginx/sbin
# Path to the bash it configuration
export BASH_IT=$HOME/.bash_it
# Lock and Load a custom theme file
# location /.bash_it/themes/
export BASH_IT_THEME='envision'
# Your place for hosting Git repos. I use this for private repos.
export GIT_HOSTING='wwjamieson3@github.com'
# Set my editor and git editor
export EDITOR="/usr/bin/mate -w"
export GIT_EDITOR='/usr/bin/mate -w'
# Set the path nginx
export NGINX_PATH='/opt/nginx'
# Don't check mail when opening terminal.
unset MAILCHECK
# Change this to your console based IRC client of choice.
export IRC_CLIENT='irssi'
# Set this to the command you use for todo.txt-cli
export TODO="t"
# Set vcprompt executable path for scm advance info in prompt (demula theme)
# https://github.com/xvzf/vcprompt
#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt
# Load Bash It
source $BASH_IT/bash_it.sh

View File

@ -0,0 +1,18 @@
#!/usr/bin/env bash
prompt_setter() {
# Save history
history -a
history -c
history -r
PS1="$yellow(\t)$reset_color $(scm_char) [$blue\u$reset_color@$green\H$reset_color] $blue\w${reset_color}$red$(scm_prompt_info) $reset_color "
PS2='> '
PS4='+ '
}
PROMPT_COMMAND=prompt_setter
SCM_THEME_PROMPT_DIRTY=" ✗"
SCM_THEME_PROMPT_CLEAN=" ✓"
SCM_THEME_PROMPT_PREFIX=" ("
SCM_THEME_PROMPT_SUFFIX=")"