mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-27 00:38:52 +01: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 |