Autocomplete, Arrows etc. not working in Ubuntu Install Script Installation #493

Closed
opened 2026-02-04 20:34:08 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @sirup on GitHub (Nov 7, 2017).

For Bug Reports

  • Ubuntu 16.04 Installation Script
Expected Behavior

I want to use Tab for Autocomplete or Arrow Down/Up for Previous command.

Current Behavior

Not working - Tab just makes a tab.
Arrows just print "^[[A"

Steps to Reproduce

I am not really good in Linux - I thought it is a bash issue. Also if I login I don't see the user in the shell just "$".

Tried to install:
sudo apt-get install bash-completion
But was already installed.
Tried to add to bash config:
# enable bash completion in interactive shells if ! shopt -oq posix; then if [ -f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion elif [ -f /etc/bash_completion ]; then . /etc/bash_completion fi fi

Originally created by @sirup on GitHub (Nov 7, 2017). ### For Bug Reports - Ubuntu 16.04 Installation Script ##### Expected Behavior I want to use Tab for Autocomplete or Arrow Down/Up for Previous command. ##### Current Behavior Not working - Tab just makes a tab. Arrows just print "^[[A" ##### Steps to Reproduce I am not really good in Linux - I thought it is a bash issue. Also if I login I don't see the user in the shell just "$". Tried to install: sudo apt-get install bash-completion But was already installed. Tried to add to bash config: `# enable bash completion in interactive shells if ! shopt -oq posix; then if [ -f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion elif [ -f /etc/bash_completion ]; then . /etc/bash_completion fi fi`
OVERLORD added the 🐕 Support label 2026-02-04 20:34:08 +03:00
Author
Owner

@Shackelford-Arden commented on GitHub (Nov 8, 2017):

@sirup This is specific to Bash, not Bookstack.

I'm not sure what your end goal is though in using the tab completion? Can you give an example? You mentioned that you want to use the arrow keys and such but...

The script doesn't ask for anything aside from the domain name you want to have applied to the instance.

@Shackelford-Arden commented on GitHub (Nov 8, 2017): @sirup This is specific to **Bash**, not Bookstack. I'm not sure what your end goal is though in using the tab completion? Can you give an example? You mentioned that you want to use the arrow keys and such but... The script doesn't ask for anything aside from the domain name you want to have applied to the instance.
Author
Owner

@watschi commented on GitHub (Nov 8, 2017):

This has nothing to do with bookstack, but you are probably using sh instead of bash. Type bash into terminal after logging in and you'll get tab completion and the arrow key funtions. To switch to bash permanently type chsh -s /bin/bash.

@watschi commented on GitHub (Nov 8, 2017): This has nothing to do with bookstack, but you are probably using `sh` instead of `bash`. Type `bash` into terminal after logging in and you'll get tab completion and the arrow key funtions. To switch to bash permanently type `chsh -s /bin/bash`.
Author
Owner

@ssddanbrown commented on GitHub (Nov 11, 2017):

Hi @sirup, Since this is not a BookStack issue I will close this issue but I won't lock it so feel free to continue to comment.

There's some good advise above. Try following that; otherwise provide some more details such as how you're logging in to your Ubuntu machine.

@ssddanbrown commented on GitHub (Nov 11, 2017): Hi @sirup, Since this is not a BookStack issue I will close this issue but I won't lock it so feel free to continue to comment. There's some good advise above. Try following that; otherwise provide some more details such as how you're logging in to your Ubuntu machine.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#493