Skip to content

Instantly share code, notes, and snippets.

@kakakikikeke
Last active March 22, 2023 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kakakikikeke/f735b549ced9da8638735d2dffc0baa2 to your computer and use it in GitHub Desktop.
Save kakakikikeke/f735b549ced9da8638735d2dffc0baa2 to your computer and use it in GitHub Desktop.
Cygwin 設定メモ

インストーラ

  • Packge Install
  • Options -> Text -> 12pt
  • Options -> Looks -> Cursor -> Block
  • Options -> Terminal -> Bell -> no beep

ssh

  • cd
  • mkdir .ssh
  • touch .ssh/config
  • ssh-keygen -t rsa

.bashrc

  • cd
  • vim .bashrc
alias ls='ls --show-control-chars --color'
alias ifconfig='ipconfig | nkf -w'
alias tailf='tail -f'
alias ps='ps -efW'
alias home='cd /cygdrive/c/Users/username/'
export http_proxy=http://your.proxy.server.local:8080/
export https_proxy=http://your.proxy.server.local:8080/
cd /cygdrive/c/Users/username

inputrc

  • cd
  • vim .inpurtrc
set completion-ignore-case on

wgetrc

  • cd
  • vim /etc/wgetrc
https_proxy = http://your.proxy.server.local:8080/
http_proxy = http://your.proxy.server.local:8080/
ftp_proxy = http://your.proxy.server.local:8080/

work directory

  • home
  • mkdir -p data/repo
  • mkdir -p Documents/work

apt-cyg

git

  • git config --global color.ui true
  • git config --global credential.helper store

(nkf)

(emacs)

Install helm, auto-complete, yasnipet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment