Created
July 28, 2020 14:40
-
-
Save kght6123/eb90652fa7810b1145654f0c1c9a5df5 to your computer and use it in GitHub Desktop.
おれおれ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
# Created by newuser for 5.7.1 | |
PROMPT='%~ %# ' | |
autoload -U compinit && compinit -u | |
git config --global color.ui auto | |
setopt auto_pushd | |
setopt share_history | |
setopt hist_ignore_dups | |
setopt hist_ignore_all_dups | |
setopt hist_ignore_space | |
setopt hist_reduce_blanks | |
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' | |
zstyle ':completion:*:default' menu select=1 | |
setopt correct | |
setopt auto_pushd | |
setopt pushd_ignore_dups | |
setopt extended_glob | |
WORDCHARS='*?_-.[]~=&;!#$%^(){}<>' | |
HISTFILE=~/.zsh_history | |
HISTSIZE=100000 | |
SAVEHIST=100000 | |
setopt auto_cd | |
autoload -Uz colors | |
colors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ubuntuでデフォルトシェルをzshにするとき
apt-get install zsh sudo chsh ${USER}
ユーザ指定がないと、
chsh: PAM: Authentication failure
が表示されて失敗するchshはrootユーザじゃないと、実行できない?