Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fpopic/zsh-setup
https://github.com/fpopic/zsh-setup
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fpopic/zsh-setup
- Owner: fpopic
- Created: 2021-12-08T02:39:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T20:28:10.000Z (10 months ago)
- Last Synced: 2024-02-26T21:50:29.373Z (10 months ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zsh-setup
- install `iterm2` https://iterm2.com/
- install `brew` https://brew.sh/
- install `oh-my-zsh` https://ohmyz.sh/#install
- change theme to `half-life-fpopic`
- https://www.linkedin.com/pulse/making-custom-zsh-theme-fun-aesthetic-md-mohibur-rahman/
- install plugins
- how to enable fish-like features in zsh
```shell
1. Install oh-my-zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
2. Clone necessary plugins.
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting2. Add other plugins
git clone https://github.com/tom-auger/cmdtime ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/cmdtime
3. Add plugins to ~/.zshrc as
plugins = ( [plugins...] zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting)
Note: make sure zsh-syntax-highlighting is the last one in the above list.
4. Fix background theme issues (Not necessary depends on your theme)
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=white'
5. Restart zsh
source ~/.zshrc
```
- https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins
- https://jonas.verhoelen.de/productivity/migrate-fish-to-zsh/