Skip to content

Commit

Permalink
Add a gendocandopen alias
Browse files Browse the repository at this point in the history
  • Loading branch information
tualatrix committed Jan 24, 2011
1 parent 8149d96 commit ecb00f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .bashrc_extra
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ KERNEL=`uname -s`

PS1='`a=$?;if [ $a -ne 0 ]; then echo -n -e "\[\e[01;32;41m\]{$a}"; fi`\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\W`B=$(git branch 2>/dev/null | sed -e "/^ /d" -e "s/* \(.*\)/\1/"); if [ "$B" != "" ]; then S="git"; elif [ -e .bzr ]; then S=bzr; elif [ -e .hg ]; then S="hg"; elif [ -e .svn ]; then S="svn"; else S=""; fi; if [ "$S" != "" ]; then if [ "$B" != "" ]; then M=$S:$B; else M=$S; fi; fi; [[ "$M" != "" ]] && echo -n -e "\[\e[33;40m\]($M)\[\033[01;32m\]\[\e[00m\]"`\[\033[01;34m\] $ \[\e[00m\]'

alias pycscope="find -name '*.py' > cscope.files && cscope -R"

if [ $KERNEL == "Darwin" ]; then
export LS=gls
export SED=gsed
Expand Down Expand Up @@ -33,3 +31,6 @@ alias l='ls -CF'
if [ -f $BASHCOMPLETION ] && ! shopt -oq posix; then
. $BASHCOMPLETION
fi

alias pycscope="find -name '*.py' > cscope.files && cscope -R"
alias gendocandopen="epydoc --config epydoc.config && xdg-open apidocs/index.html"

0 comments on commit ecb00f0

Please sign in to comment.