https://github.com/jonnitto/zsh
Functions for ZSH
https://github.com/jonnitto/zsh
Last synced: 7 months ago
JSON representation
Functions for ZSH
- Host: GitHub
- URL: https://github.com/jonnitto/zsh
- Owner: jonnitto
- Created: 2020-05-12T15:22:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-28T07:42:37.000Z (over 4 years ago)
- Last Synced: 2025-02-17T03:42:58.654Z (over 1 year ago)
- Language: Shell
- Size: 44.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ZSH scripts
## Enable ZSH on server
Make sure your bash is zsh
### Install packages
```bash
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
sh -c "curl https://raw.githubusercontent.com/mrowa44/emojify/master/emojify -o ~/bin/emojify && chmod +x ~/bin/emojify"
```
Add this to you `~/.zshrc`:
```bash
export ZPLUG_HOME=~/.zplug
# Check if zplug is installed
if [[ ! -d $ZPLUG_HOME ]]; then
git clone https://github.com/zplug/zplug $ZPLUG_HOME
source $ZPLUG_HOME/init.zsh && zplug update --self
fi
source $ZPLUG_HOME/init.zsh
export ZSH_PLUGINS_ALIAS_TIPS_TEXT='💡 '
# zplug plugins
zplug "djui/alias-tips"
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-autosuggestions"
zplug "supercrabtree/k"
zplug "jonnitto/zsh", from:github, defer:3
zplug "mafredri/zsh-async", from:github
zplug "sindresorhus/pure", use:pure.zsh, from:github, as:theme
# zplug check returns true if all packages are installed
# Therefore, when it returns false, run zplug install
zplug check || zplug install
zplug load
```