Skip to content

Commit

Permalink
conda env stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 committed Feb 9, 2017
1 parent d29db52 commit 44c31ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .bash_local
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ alias gst='git status'
alias gbr='for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r'
alias gb='for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort'

## Conda
alias cenv='conda env list | grep \* | cut -d" " -f1'

notrailing() {
echo "Removing white spaces at end of lines for: $1"
find . -name $1 -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
Expand Down Expand Up @@ -168,6 +171,7 @@ setpy() {
fi
}


iPuvcdat() {
if [ $# == 0 ]; then
PKG=vcs
Expand Down Expand Up @@ -240,7 +244,7 @@ alias lcu='export LC_CTYPE=en_US.UTF-8'
PROMPT_ADDRESS_COLOR=${_BLUE}
PROMPT_COMMAND_HIST_INDEX_COLOR=${_GOLD}

PS1=${PS1//\W/\w}
export PS1=${PS1//\W/\w}

export HISTCONTROL=erasedups
export HISTSIZE=1000000
Expand Down

0 comments on commit 44c31ae

Please sign in to comment.