Commit Graph

18 Commits

Author SHA1 Message Date
VeryTastyTomato 973ea984c8 fix: warnings of ShellCheck
SC2155: Declare and assign separately to avoid masking return values.
SC2164: Use cd ... || exit in case cd fails.
SC2230: which is non-standard. Use builtin 'command -v' instead.
2020-12-21 09:08:54 +01:00
sharkdp f5d606c4fc Always use 'batcat' in info.sh, if needed 2020-07-25 22:28:22 +02:00
sharkdp d84ac09abd Update .gitattributes 2020-05-26 12:14:27 +02:00
Ethan P dcfdbf82dd Do not warn if both 'bat' and 'batcat' are available in info.sh 2020-05-02 10:39:58 +02:00
Ethan P 0cb884d501 Prevent batcat warning from being in output of info.sh 2020-05-02 10:39:58 +02:00
Ethan P 7bc4020a92 Check for 'batcat' in info.sh 2020-05-02 10:39:58 +02:00
Ethan P 96aedf6240
Add cat alias detection to info.sh (#911) 2020-04-21 08:33:44 +02:00
sharkdp 496dd29cb9 Add -i option for bash/zsh to output wrapper function 2020-04-09 09:20:03 +02:00
Ethan P 116d76a00f Reformat info.sh 2020-04-09 09:20:03 +02:00
Ethan P dd336e6fb2 Fix wrapper detection failing on non-English LANG in info.sh 2020-04-09 09:20:03 +02:00
Ethan P c33af3581a Fix missing shell '-i' option when checking for wrapper in info.sh 2020-04-09 09:20:03 +02:00
Ethan P 2f4ecf8fc5 Add zsh wrapper detection to info.sh 2020-04-09 09:20:03 +02:00
Ethan P e037afeaca Add custom theme/syntax detection to info.sh 2020-04-09 09:02:23 +02:00
Ethan P 2b2743b120 Change output format of info.sh to markdown 2020-02-28 08:03:13 +01:00
Ethan P f01263bcff Fix typo causing missing command warning in info.sh 2020-02-28 08:03:13 +01:00
Ethan P 8648b86a73 Add detection of a wrapper function to info.sh 2020-02-28 08:03:13 +01:00
Ethan P ebe475247c Change consent banner (and fix tput) in info.sh 2020-02-28 08:03:13 +01:00
Ethan P ad42b275a9 Add script to use for diagnosing issues 2020-02-28 08:03:13 +01:00