Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

history suggestion in terminal

# 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: #history #suggestion #terminal
ADD COMMENT
Topic
Name
8+3 =