Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: manit123 on January 04, 2014, 07:13:42 AM
-
I have to take care of case while writing file/folder name in terminal.
In ubuntu , I added 'set completion-ignore-case On' to ~/.bashrc . Then on pressing tab , I used to get all suggestions regardless of letter case.
How can I do something similiar in tiny core terminal ?
-
It has nothing to do with aterm :(
-
Hi manit123
What happens if you make that:
bind 'set completion-ignore-case on'
-
In ubuntu , I added 'set completion-ignore-case On' to ~/.bashrc . Then on pressing tab , I used to get all suggestions regardless of letter case.
How can I do something similiar in tiny core terminal ?
Are you referring to use of bash or ash (/bin/sh)?
-
to Rich
Should I add "bind 'set completion-ignore-case on'" in ~/.ashrc ?
to tinypoodle,
The thing I did in ubuntu was for bash in gnome-terminal .
I want something similiar for ash in aterm .
-
to Rich
Should I add "bind 'set completion-ignore-case on'" in ~/.ashrc ?
No, ash doesn't have such a builtin.
to tinypoodle,
The thing I did in ubuntu was for bash in gnome-terminal .
I want something similiar for ash in aterm .
bash has a plethora of features which ash does not have, so you shouldn't just expect any feature of bash to be provided by ash (I wouldn't know about the specific one, but would rather be surprised if ash would provide it).
As has been mentioned before, the terminal is irrelevant here.
-
Be nice people ;)
manit123, you can just install bash, and then configure aterm to use it by adding "export SHELL=/bin/bash" in your .profile.
-
tried following (one by one) in ~/.profile
export SHELL=/bin/bash
export SHELL=/usr/local/bin/bash
Then opened another terminal. Still 'echo $SHELL' says '/bin/sh'
-
You need to log out and back for .profile changes to sync.
-
It is not hat simple.
Please read http://forum.tinycorelinux.net/index.php/topic,16387.msg97921.html#msg97921
-
I added 'export SHELL=/usr/local/bin/bash' in ~/.wmx/SystemTools/Terminal before 'exec aterm' .
Now 'ignore case' works.
Remember , ~/.ashrc is no longer used , instead 'alias' etc. should be set in ~/.bashrc