This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: skel ~/.bashrc (was RE: HOME)


John,

Should there be a skel ~/.inputrc as well?  Mine's below, and there was
one included in Hannu E. K. Nevalainen's message
(<http://cygwin.com/ml/cygwin/2003-05/msg00157.html>) 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

# <F1>,<F2>,<F3>,<F4> (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
# <F11>
"\e[23~": dump-variables
# <F12>
"\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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]