mirror of
https://github.com/sharkdp/bat
synced 2024-11-08 19:10:41 +00:00
2dbc88d3af
`compopt -o filenames` is a cheap way to accomplish mostly wanted behavior. However it is semantically incorrect when we are not actually completing filenames, and has side effects -- for example adds a trailing slash to candidates matching present dirs. bash >= 4.1 can `printf -v` to an array index, use it instead where available. |
||
---|---|---|
.. | ||
_bat.ps1.in | ||
bat.bash.in | ||
bat.fish.in | ||
bat.zsh.in |