Skip to content

@davehunt
davehunt / .bashrc
Created April 18, 2016 12:46
Custom command prompt with venv, hg, and git
RED='\[\033[31m\]'
GREEN='\[\033[32m\]'
YELLOW='\[\033[33m\]'
BLUE='\[\033[34m\]'
MAGENTA='\[\033[35m\]'
CYAN='\[\033[36m\]'
WHITE='\[\033[37m\]'
RESET='\[\033[00m\]'
hg_ps1() {
# This is my .bashrc for my mac book pro at work.
# I'm no expert at bash or mac (actually fairly new to macs)
# Feel free to use, alter and fork.
# I took several things from this guy's bash profile: https://natelandau.com/my-mac-osx-bash_profile/
# First, colors. Taste the rainbow.
# ----------------------------------------------------------
# Colors
BLUE="\033[0;34m"
@ambertx
ambertx / .bashrc
Created April 13, 2016 16:01
Set fish to start as default shell
ssh-agent fish
exit
alias brc="vim ~/.bashrc; . ~/.bashrc"
@NAlexPear
NAlexPear / .bashrc
Last active January 26, 2017 23:42
My standard .bashrc for Xubuntu environments
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@BlazOrazem
BlazOrazem / .bashrc
Last active May 8, 2016 09:44
BashRC for Git use
# SSH Environment
# SSH_ENV=$HOME/.ssh/environment
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# Don't put duplicate lines in the history. See bash(1) for more options
@lmr3796
lmr3796 / .bashrc
Created March 23, 2016 07:33
To show some branch info
export EDITOR=vim
source $HOME/.git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
export GIT_PS1_SHOWUPSTREAM="auto"
export GIT_PS1_SHOWCOLORHINTS="auto"
export GIT_PS1_SHOWSTASHSTATE="true"
export PS1=$PS1'\[\033[1;37m\]\w\[\033[0;33m\]$(__git_ps1 " (%s)") \[\033[0;37m\]\$\[\033[00m\] '
@t0rr3sp3dr0
t0rr3sp3dr0 / .bashrc
Last active September 14, 2016 15:22
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# bashrc for c9 workspaces
# by Yerko Palma
. /etc/apache2/envvars
# If not running interactively, don't do anything else
[ -z "$PS1" ] && return
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
function t2conda () {
ssh -t t2a006170 "export https_proxy=proxy.noc.titech.ac.jp:3128;conda $@"
}