Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

zsh suggestion from history

# Step 1: clone repo for auto-suggestion
## for oh-my-zsh
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
## or, for zsh
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions

# Step 2: open config file 
nano ~/.zshrc

# Step 3: 
## for oh-my-zsh, add "zsh-autosuggestions" in plugins section
## or, for zsh, add "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh"
 
PREVIOUS NEXT
Tagged: #zsh #suggestion #history
ADD COMMENT
Topic
Name
9+7 =