Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 5 May 2003 12:29:30 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: John Morrison cc: cygwin AT cygwin DOT com Subject: Re: skel ~/.bashrc (was RE: HOME) In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII John, Should there be a skel ~/.inputrc as well? Mine's below, and there was one included in Hannu E. K. Nevalainen's message () that mine heavily borrows from. ============================================================================== # Allow 8-bit stuff set meta-flag on set convert-meta off set input-meta on set output-meta on # Don't ring bell on completion # or, as Hannu E. K. Nevalainen puts it, ## DON'T EVER *BEEP* AT ME! set bell-style none # Filename completion/expansion #set completion-ignore-case on #set show-all-if-ambiguous on # Expand homedir name #set expand-tilde on # Append "/" to all dirnames set mark-directories on set mark-symlinked-directories on # Match all files #set match-hidden-files on # ,,, (to fix a bash bug, probably not needed anymore) "\eOP": tty-status "\eOQ": tty-status "\eOR": tty-status "\eOS": tty-status "\e[[A": tty-status "\e[[B": tty-status "\e[[C": tty-status "\e[[D": tty-status # "\e[23~": dump-variables # "\e[24~": dump-functions # Delete "\e[3~": delete-char # Home #"\e[1~": beginning-of-line # End #"\e[4~": end-of-line # Home (VT220) "\eOH": beginning-of-line # End (VT220) "\eOF": end-of-line # Home #"\e[7~": beginning-of-line # End #"\e[8~": end-of-line ============================================================================== On Mon, 5 May 2003, John Morrison wrote: > Proposed skel .bashrc > > J. > > # User dependent .bashrc file > > # See man bash for more options... > # Don't wait for job termination notification > # set -o notify > > # Don't use ^D to exit > # set -o ignoreeof > > # Don't put duplicate lines in the history. > # export HISTCONTROL=ignoredups > > # Some example alias instructions > # alias less='less -r' > # alias rm='rm -i' > # alias whence='type -a' > # alias ls='ls -F --color=tty' > # alias dir='ls --color=auto --format=vertical' > # alias vdir='ls --color=auto --format=long' > # alias ll='ls -l' > # alias la='ls -A' > # alias l='ls -CF' > > # Some example functions > # function settitle() { echo -n "^[]2;$@^G^[]1;$@^G"; } -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/