Is there a way to expand aliases inline in bash?
$bash>alias ll='ls -l '
$bash>ll<tab>
$bash>ls -l
|
feedback
|
|
You can press Ctrl-Alt-e to perform the readline function The functions
which would make Ctrl-Alt-l (lower case "ell") perform only alias expansion. | |||||
feedback
|
|
This does not work. But I'm guessing/hoping something like this can be done to do what you want to do. You would have to use your own completion script. This is how you make one:
Now source the full bash_completion file(http://caliban.org/bash) and put the above mentioned script in a file inside bash_completion.d directory that the script you get from the url references. Let me know if it doesn't work. Thanks. | ||||
|
feedback
|