source: dab-utils/.bashrc @ 3

Revision 2, 4.3 KB checked in by dabbler, 9 years ago (diff)

Initial files

  • Property svn:executable set to *
Line 
1# base-files version 3.7-1
2
3# To pick up the latest recommended .bashrc content,
4# look in /etc/defaults/etc/skel/.bashrc
5
6# Modifying /etc/skel/.bashrc directly will prevent
7# setup from updating it.
8
9# The copy in your home directory (~/.bashrc) is yours, please
10# feel free to customise it to create a shell
11# environment to your liking.  If you feel a change
12# would be benificial to all, please feel free to send
13# a patch to the cygwin mailing list.
14
15# User dependent .bashrc file
16
17echo ~/.bashrc in C:/dab/.bashrc
18
19export PATH="/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:$PATH"
20
21mount --change-cygdrive-prefix /
22
23# Shell Options
24# #############
25
26# See man bash for more options...
27
28# Don't wait for job termination notification
29set -o notify
30
31# Don't use ^D to exit
32set -o ignoreeof
33
34# Use case-insensitive filename globbing
35shopt -s nocaseglob
36
37# Make bash append rather than overwrite the history on disk
38shopt -s histappend
39
40# When changing directory small typos can be ignored by bash
41# for example, cd /vr/lgo/apaache would find /var/log/apache
42shopt -s cdspell
43
44
45# Completion options
46# ##################
47
48# These completion tuning parameters change the default behavior of bash_completion:
49
50# Define to access remotely checked-out files over passwordless ssh for CVS
51# COMP_CVS_REMOTE=1
52
53# Define to avoid stripping description in --option=description of './configure --help'
54# COMP_CONFIGURE_HINTS=1
55
56# Define to avoid flattening internal contents of tar files
57# COMP_TAR_INTERNAL_PATHS=1
58
59# If this shell is interactive, turn on programmable completion enhancements.
60# Any completions you add in ~/.bash_completion are sourced last.
61# case $- in
62#   *i*) [[ -f /etc/bash_completion ]] && . /etc/bash_completion ;;
63# esac
64
65
66# History Options
67# ###############
68
69# Don't put duplicate lines in the history.
70# export HISTCONTROL="ignoredups"
71
72# Ignore some controlling instructions
73export HISTIGNORE="[   ]*:&:bg:fg:exit"
74
75# Whenever displaying the prompt, write the previous line to disk
76# export PROMPT_COMMAND="history -a"
77
78#### Borland C Compiler
79###export PATH="/c/BCC55/Bin:$PATH"
80###export PATH="/c/wxWidgets-2.8.9:$PATH"
81###export INCLUDE="C:/wxWidgets-2.8.9/lib/bcc_lib/mswd/wxWidgets-2.8.9/;C:/BCC55/Include;C:/wxWidgets-2.8.9;$INCLUDE"
82###export INCLUDE="C:/wxWidgets-2.8.9/include/;$INCLUDE"
83###export INCLUDE="/c/wxWidgets-2.8.9/include/;$INCLUDE"
84###export LIB="C:/BCC55/Lib;$LIB"
85
86###export PATH="/c/mingw/bin:/c/wxWidgets-2.8.9:$PATH"
87###export LIB="/c/MinGW/lib/:$LIB"
88
89
90
91
92# Aliases
93# #######
94
95# Some example alias instructions
96# If these are enabled they will be used instead of any instructions
97# they may mask.  For example, alias rm='rm -i' will mask the rm
98# application.  To override the alias instruction use a \ before, ie
99# \rm will call the real rm not the alias.
100
101# Interactive operation...
102# alias rm='rm -i'
103# alias cp='cp -i'
104# alias mv='mv -i'
105
106# Default to human readable figures
107# alias df='df -h'
108# alias du='du -h'
109
110# Misc :)
111# alias less='less -r'                          # raw control characters
112# alias whence='type -a'                        # where, of a sort
113alias grep='grep --color'                     # show differences in colour
114
115# Some shortcuts for different directory listings
116# alias ls='ls -hF --color=tty'                 # classify files in colour
117# alias dir='ls --color=auto --format=vertical'
118# alias vdir='ls --color=auto --format=long'
119# alias ll='ls -l'                              # long list
120# alias la='ls -A'                              # all but . and ..
121# alias l='ls -CF'                              #
122
123
124# Functions
125# #########
126
127# Some example functions
128# function settitle() { echo -ne "\e]2;$@\a\e]1;$@\a"; }
129
130
131# User specific aliases and functions
132
133alias a=alias
134alias m=less
135alias ccd=pushd
136alias cdd=popd
137
138alias ll='ls -al'
139alias ls='ls --color=tty -F'
140
141alias rm='rm -i'
142alias mv='mv -i'
143alias du='du -h'
144alias df='df -h'
145###alias gvim='/c/Program\ Files/Vim/vim71/gvim.exe'
146
147umask 022
148
149export EDITOR=vim
150
151#export LANG=en_US.cp437
152#export LANG=
153#export LANG=iso8859-2
154
155#export LOGNAME=dab
156
157export PS1='\[\e]0;[Window $WINDOW] \w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
158
159export PATH="/c/qt/2009.03/bin:$PATH"
160export PATH="/c/qt/2009.03/qt/bin:$PATH"
161export PATH="/c/qt/2009.03/mingw/bin/:$PATH"
162export QTDIR="/c/qt/2009.03/qt"
163export QMAKESPEC="C:/qt/2009.03/qt/mkspecs/win32-g++"
164
165
166export SVN_EDITOR='"C:/Program Files/Vim/vim71/gvim.exe"'
167
168cd ~/proj/
169
Note: See TracBrowser for help on using the repository browser.