Return to Snippet

Revision: 26802
at May 11, 2010 08:46 by gripnrip


Initial Code
# .profile

# Define some colors first:
red='\e[0;31m'
RED='\e[1;31m'
green='\e[0;32m'
GREEN='\e[1;32m'
yellow='\e[0;33m'
YELLOW='\e[1;33m'
blue='\e[0;34m'
BLUE='\e[1;34m'
pink='\e[0;35m'
PINK='\e[1;35m'
cyan='\e[0;36m'
CYAN='\e[1;36m'
NC='\e[0m'

# Colors and Prompt
export PS1="\[\e]2;\u@\h:\w\007$yellow\]\u\[$green\]@\[$yellow\]\h:\[$pink\]\w\n\[$GREEN\]>"

set -o vi
export EDITOR=vi

# History
export HISTSIZE=1000
export HISTFILE=~/.bash_history
export HISTFILESIZE=1000

# Alias
alias ls='ls -FG'
alias ll='ls -l'
alias cd..='cd ..'

# Working directory
cd c:

Initial URL


Initial Description
Sample BASH .profile for use in cygwin for windows.

Initial Title
Bash Cygwin Profile

Initial Tags
Bash

Initial Language
Bash