We have moved to a new Sailfish OS Forum. Please start new discussions there.
22

bash completion

asked 2014-01-10 12:56:10 +0300

chemist gravatar image

Full blown bash-completion is desperately needed. On fingerterm it is essential to have no need to know everything by heart + type it right in the first place.

When I apt-get install on my debian I can even bash-complete available install-candidates or modprobe yada... bash-completion for Jolla specific apps need to be done by Jolla not mer so this is a toghether issue.

To have bash-completion in the first place is maybe a mer/nemo thing.

edit retag flag offensive close delete

Comments

1

Please make this optional... I like the BASH completion as it is.

gabriel ( 2014-01-10 13:12:26 +0300 )edit

i need it me too! I tab my surname using bash completion! haha

pizzulicchio ( 2014-01-10 14:04:51 +0300 )edit
1

bash-completion is a tool that needs to be installed... nothing bash comes shipped with hardcoded apart of what you refer to as the part you like - broken implementation makes it unusable - good implementation makes stops you from writing more than 3-4 letters of any additional input

chemist ( 2014-01-10 14:05:18 +0300 )edit
1

No no no, bash-completion is the most annoying thing ever. Please do not make it install by default, at least.

ln ( 2014-01-10 19:32:13 +0300 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2015-02-10 20:23:33 +0300

Nieldk gravatar image

https://openrepos.net/content/nieldk/bash-completion And https://build.merproject.org/package/binary/home:nielnielsen/bash?arch=armv8el&filename=bash-4.3.30.0-10.3.1.jolla.armv7hl.rpm&repository=sailfish_latest_armv7hl

edit flag offensive delete publish link more

Comments

you may provide guidance, neither does it work ootb nor does it work after sourcing it from /etc/profile.de/ and sourcing the /usr/share does crash completion for any directory

chemist ( 2015-02-11 17:56:25 +0300 )edit
0

answered 2014-01-15 01:38:39 +0300

javispedro gravatar image

There are a few (actually, only 4) bash-completion scripts already installed in the device, e.g.

source /etc/bash_completion.d/git
git <TAB>
 pull, push, etc.

Obviously this is not a full solution and more packages may need to be edited to keep their bashcompletion scripts...

edit flag offensive delete publish link more

Comments

Unfortunately systemd-bash-completion.sh requires bash4 and pulseaudio-bash-completion.sh requires bash-completion package. git and dbus-bash-completion.sh works fine.

etam ( 2014-01-31 23:34:49 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2014-01-10 12:56:10 +0300

Seen: 629 times

Last updated: Feb 10 '15