# ZSH #typ/Liste #tool/macos #tool/linux Install: OMZ ^nvtmyf ```bash sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ``` Set default `chsh -s $(which zsh)` ## Tricks ### use bash autocomplete → https://stackoverflow.com/questions/3249432/can-a-bash-tab-completion-script-be-used-in-zsh ```sh autoload bashcompinit bashcompinit source /path/to/your/bash_completion_file ``` ### use zsh in ish on iOS 1. Install git `sudo apk add git` 2. Install zsh `sudo apk add zsh` 3. Install curl `sudo apk add curl` 4. Edit `~/.profile` and add `zsh` to the first line ## Neat Themes - bureau (root) ![](https://user-images.githubusercontent.com/49100982/108254768-7b103b00-716c-11eb-92e1-ebd7486d6f13.jpg) - intheloop (remote) ![](https://user-images.githubusercontent.com/49100982/108254849-89f6ed80-716c-11eb-8e92-dcf5e576df64.jpg) - neat, minimal - refined (user) ![](https://user-images.githubusercontent.com/49100982/108255729-b2cbb280-716d-11eb-8869-d612e2344ef5.jpg) - super clean, close to pure - external: [Pure – Pretty, minimal and fast ZSH prompt](https://github.com/sindresorhus/pure?tab=readme-ov-file#getting-started) ![](https://github.com/sindresorhus/pure/raw/main/screenshot.png) - my personal choice. clean, no frills, informative. - external: [Starship – minimal, blazing-fast, and infinitely customizable prompt for any shell!](https://starship.rs) ![](https://starship.rs/presets/img/nerd-font-symbols.png) - some presets: https://starship.rs/presets/ ## Delightful Plugins - [zsh-autosuggestions: Fish-like autosuggestions for zsh](https://githuzsh-autosuggestions) - [zsh-syntax-highlighting: Fish shell like syntax highlighting for Zsh.](https://github.com/zsh-users/zsh-syntax-highlighting) - [fast-syntax-highlighting: Feature-rich syntax highlighting for ZSH](https://github.com/zdharma-continuum/fast-syntax-highlighting) - [zsh-autocomplete: 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.](https://github.com/marlonrichert/zsh-autocomplete) ``` git clone https://github.com/zsh-users/zsh-autosuggestions.git ./zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ./zsh-syntax-highlighting git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ./fast-syntax-highlighting git clone https://github.com/marlonrichert/zsh-autocomplete.git ./zsh-autocomplete ``` ``` zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting zsh-autocomplete ``` ## CLI Additions - [fzf](https://junegunn.github.io/fzf/) - `brew install fzf` - interactive version of “grep” with crazy good zsh integration - ALT-C = cd into the selected directory - CTRL-T = complete command ### [Micro](https://micro-editor.github.io) Editor - [palettero: Command palette for Micro editor](https://github.com/terokarvinen/palettero) - [filemanager: A file manager plugin for the editor "Micro"](https://github.com/NicolaiSoeborg/filemanager-plugin)