Spaceship-prompt: Autocomplete ahead of cursor is not working

Created on 11 Aug 2017  路  3Comments  路  Source: denysdovhan/spaceship-prompt

Issue

The autocomplete feature where commands are displayed ahead of the cursor looks super slick, but unfortunately it is not working for me. I'm probably doing something wrong, would love to know what.

Environment

Operating system: Linux and Mac
Terminal emulator: iTerm
ZSH version: 5.0.5 (Linux), 5.2 (Mac)

Relevant .zshrc

# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH=/Users/olszowy/.oh-my-zsh

# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="spaceship"

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)

source $ZSH/oh-my-zsh.sh

# User configuration

alias mountfs="~/scripts/mount.sh"

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

source "/Users/olszowy/.oh-my-zsh/custom/themes/spaceship.zsh-theme"

question

Most helpful comment

Awesome, thank you :)

I think it may be worth adding a note in the README for people getting started with Zsh, that the autocomplete in the gif is separate from the theme.

All 3 comments

Hey @oldchevy I think you meant zsh-autosuggestions. It's a zsh plugin and it's awesome.

I'm closing this issue now, Feel free to reopen if you've any further questions.

Awesome, thank you :)

I think it may be worth adding a note in the README for people getting started with Zsh, that the autocomplete in the gif is separate from the theme.

Thank you for the suggestion. We'll take a look into it.

See https://github.com/denysdovhan/spaceship-zsh-theme/issues/52#issuecomment-284223729 for author's setup shown in README.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xhaythemx picture xhaythemx  路  3Comments

dguay picture dguay  路  4Comments

conradwt picture conradwt  路  3Comments

vburojevic picture vburojevic  路  3Comments

tbekaert picture tbekaert  路  3Comments