[HOME]: [Mac OS X]: [MacPython]: [Emacs]: [生存報告記]: [MacEmacs JP Project]: [NTEmacs JP Project]:

概要

究極のShell それこそがZsh

Zsh以外のShellはsh以外は存在意義すらない(wとか時々いわれている。。。がZshは使いこなすのかなり大変です。

ぼくな使いこなしてるとはいえません。。利用歴それほど長くないですし。勉強中

公式サイト

設定

Zshrc

https://github.com/zsh-users/zsh-completions

rm -f ~/.zcompdump; compinit

sorin-ionescu/prezto · GitHub

設定関連

brew install sheldon
sheldon init --shell zsh

設定ファイルは以下に配置

~/.config/sheldon/plugins.toml

pluginの追加、更新をする場合は以下

sheldon lock --update

Tips

技術メモ帳 - 拡張子ごとにコマンドを対応づける

技術メモ帳 - zshのzptyを使って端末が必要な処理を自動化する

技術メモ帳 - zshで出来ている新感覚エディタzed

技術メモ帳 - 漢のzshに乗り換えた時にアッーってなるコト

プラグイン

テトリスをする

2chより

zsh
autoload -U tetris
zle -N tetris
bindkey '^T' tetris

Control-T を押せばゲーム開始。zsh最強。


ShellScript CategoryMac CategoryUnix

紹介マニアMoinMoin: Zsh (last edited 2023-02-26 02:35:39 by sakito)