Created
February 27, 2011 17:22
-
-
Save Maki-Daisuke/846347 to your computer and use it in GitHub Desktop.
Cygwin-zshを使う場合の設定ファイル例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM VisualStudioの環境変数を設定する | |
call "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 | |
REM CygwinコンソールでWindows式のファイルパスを使ったときに警告を出さない | |
set CYGWIN=nodosfilewarning | |
C: | |
chdir C:\cygwin\bin | |
REM ログインシェルを起動 | |
C:\cygwin\bin\sh.exe -c "/usr/bin/mintty - &" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The following lines were added by compinstall | |
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate | |
zstyle ':completion:*' list-colors '' | |
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s | |
zstyle ':completion:*' menu select=2 | |
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s | |
zstyle ':completion:*' verbose true | |
zstyle :compinstall filename '/home/maki/.zshrc' | |
autoload -Uz compinit | |
compinit | |
# End of lines added by compinstall | |
# Lines configured by zsh-newuser-install | |
HISTFILE=~/.histfile | |
HISTSIZE=1000 | |
SAVEHIST=1000 | |
setopt appendhistory extendedglob notify | |
bindkey -e | |
# End of lines configured by zsh-newuser-install | |
autoload colors | |
colors | |
export PROMPT="%B%{${fg[red]}%}[%n@%m] %/ | |
%# %{${reset_color}%}%b" | |
alias ls='ls -G' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function open(){ | |
cscript //Nologo C:/usr/bin/open.js `cygpath -wd $@` | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for ( var i=0; i < WScript.Arguments.Length; i++ ) { | |
shell = WScript.CreateObject("WScript.Shell"); | |
shell.Run(WScript.Arguments(i)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment