Cygwin integrated settings

xiaoxiao2021-03-06  41

Add Chinese, modify ~ / .inputrc files in Cygwin, add the following

# Ignore case while completing

SET Completion-ignore-case on

# Make Bash 8bit Clean

SET META-FLAG ON

Set Output-meta on # to show 8-bit characters

SET Convert-Meta Off # to show it as character, not the oscnal representation

Ls display color, modify / etc / profile, add the following:

#set -o vi

Alias ​​less = '/ bin / less -r'

Alias ​​ls = '/ bin / ls -f --color = tty --Show-control-chars'

# Glob Filenames in a Case-Insensitive Manner

Shopt -s nocaseglob

Export SGML_CATALOG_FILES = / Share / catalog.sgml

EXPORT XML_CATALOG_FILES = / Share / Catalog.xml

Export cygwin = "nobinmode nontsec NOSMBNTSEC"

Export Path = $ PATH :.

Modify the main group of login users:

Bash $ VI / ETC / Passwd

The default belongs to 513 groups (for domain controllers is domain users, non-domain controllers NONE), personal preferences are set to 544 (Administrator)

Establish Symbol Link:

Because some scripts default MD5 summary is MD5, not MD5SUM;

Bash $ ln -s / usr / bin / md5sum / usr / bin / md5

Set the DocBook DTD / DSSL path

Bash $ ln -sf / cygdrive / e / home / work / johnson_homepage / worldhello / share / share

Set the usemodwiki path map

MKDIR / RepOS

CD / RepOS /

LN -S / CygDrive / D / D

LN -S / D / Home / Work / Johnson_HomePage / WorldHello / UseMod JohnsonuseModwiki

LN -S / D / Home / Work / Johnson_HomePage / WorldHello / Wiki.

Set the establishment of work path

Bash $ ln -sf / cygdrive / e / home / work / ~ / Work

转载请注明原文地址:https://www.9cbs.com/read-55118.html

New Post(0)