# aptitude install zsh # exit $ which zsh /usr/bin/zsh $chsh -s /usr/bin/zsh パスワード:



This is the Z Shell configuration function for new users, zsh-newuser-install. You are seeing this message because you have no zsh startup files (the files .zshenv, .zprofile, .zshrc, .zlogin in the directory ~). This function can help you with a few settings that should make your use of the shell easier. You can: (q) Quit and do nothing. The function will be run again next time. (0) Exit, creating the file ~/.zshrc containing just a comment. That will prevent this function being run again. (1) Continue to the main menu. (2) Populate your ~/.zshrc with the configuration recommended by the system administrator and exit (you will need to edit the file by hand, if so desired). --- Type one of the keys in parentheses ---


export LANG=ja_JP.UTF-8 HISTFILE=$HOME/.zsh-history HISTSIZE=100000 SAVEHIST=100000 limit coredumpsize 102400 unsetopt promptcr bindkey -e setopt prompt_subst setopt nobeep setopt long_list_jobs setopt list_types setopt auto_resume setopt auto_list setopt hist_ignore_dups setopt auto_pushd setopt pushd_ignore_dups setopt auto_menu setopt extended_history autoload -U compinit compinit PROMPT="%n@%m: %~$ " PROMPT2="%_%% " SPROMPT="%r is correct? [n,y,a,e]: " setopt magic_equal_subst setopt hist_verify setopt numeric_glob_sort setopt print_eight_bit setopt share_history setopt correct setopt brace_ccl alias ls='ls --color=auto' compctl -f vim compctl -/ cd compctl -F man