Cygwin setup (note)

Pathes

`./.bashrc' -> `~/.bashrc'
`./.bash_profile' -> `~/.bash_profile'
`./.inputrc' -> `~/.inputrc'
/etc/profile (prompt colors)

Example for default PS1 in ‘/etc/profile’

(directly after ‘export HOSTNAME’)

PS1='\u@\h: \w/ $> '

Aliases defined in /etc/profile.d/alias.sh:

#!/bin/bash
############################################################
# alias
for drive in a b c d e f g h i j k l m n o p q r s t u v w x y z
do
  alias ${drive}:="cd /cygdrive/${drive}"
done
alias ll="ls -l"
alias la="ls -la"
alias q="exit"
alias ct="cleartool"

See also http://www.pl-berichte.de/t_system/cygwin.html (in german).

  1. Keine Kommentare