1つのステップでのLinuxのミント19のzshの設定とキーパッド上にインストール

Linuxのミント19上のzshのインストールとセットアップキーパッド

zshののzshのインストールとデフォルトのシェルとして設定

  1. インストール
    sudo apt install zsh
  2. zshのはなしsudoがあることに注意してください、デフォルトのシェルとして設定されています
    chsh -s /bin/zsh
  3. 設定パスワード認証
    sudo vim /etc/passwd
    に変更/bin/bashします/bin/zsh

インストールOH-MY-zshの簡単な設定のzsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

コンフィギュレーション・キーパッド

尾.zshrcを追加しました

# Fix numeric keypad
# 0 . Enter
bindkey -s "^[Op" "0"
bindkey -s "^[On" "."
bindkey -s "^[OM" "^M"
# 1 2 3
bindkey -s "^[Oq" "1"
bindkey -s "^[Or" "2"
bindkey -s "^[Os" "3"
# 4 5 6
bindkey -s "^[Ot" "4"
bindkey -s "^[Ou" "5"
bindkey -s "^[Ov" "6"
# 7 8 9
bindkey -s "^[Ow" "7"
bindkey -s "^[Ox" "8"
bindkey -s "^[Oy" "9"
# + - * /
bindkey -s "^[Ol" "+"
bindkey -s "^[Om" "-"
bindkey -s "^[Oj" "*"

自動的にプラグインをインストール

git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
.zshrcを編集
プラグインのzsh-autosuggestionsを追加
して戻って一緒に
ソース$ ZSH_CUSTOM /プラグイン/ zsh- autosuggestions / zshの-autosuggestions.zsh

Vimを保存して終了

有効にする設定をしてみましょう source ~/.zshrc

おすすめ

転載: www.cnblogs.com/F4NNIU/p/10987018.html