Post #1967493
2026-05-04 14:04 UTC
@imsop @boggin
Really?? A space at the end affects autocomplete? 🤯
Replies (1)
-
@imsop@tech.lgbt 2026-05-04 15:03
@rl_dane @boggin oh, I slightly misremembered - it's not autocomplete that it effects, it's expansion: "If the last character of the alias value is a blank, then the shell checks the next command word following the alias for alias expansion." - https://www.gnu.org/software/bash/manual/html_node/Aliases.html In other words, if you alias sudo='sudo ' and ll='ls -l' then you can run 'sudo ll' and it expands to 'sudo ls -l' I can't think why I didn't remember that, such an obviously intuitive feature 😜