Skip to content

Commit 00a1573

Browse files
committed
improved debug_info
1 parent 1a51999 commit 00a1573

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bash.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,6 @@ debug_info() {
706706
is_zsh/is_zsh_t1: $(is_zsh && echo Y || echo '.') / $(is_zsh_t1 && echo Y || echo '.') # $(is_zsh && echo "ZSH_EVAL_CONTEXT = $ZSH_EVAL_CONTEXT, ZSH_NAME/VERSION = $ZSH_NAME v$ZSH_VERSION" || :)
707707
is_fish: $(is_fish && echo Y || echo '.') # FISH_VERSION = $FISH_VERSION
708708
in_sourcing: $(in_sourcing && echo Y || echo '.')
709-
if_vagrant/in_vm: $(if_vagrant && echo Y || echo '.') / $(in_vm && echo Y || echo '.')
710709
in_vscode: $(in_vscode && echo Y || echo '.')
711710
in_jetbrains: $(in_jetbrains && echo Y || echo '.')
712711
in_vim/neovim: $(in_vim && echo Y || echo '.') / $(in_neovim && echo Y || echo '.')
@@ -722,6 +721,7 @@ debug_info() {
722721
EOF
723722
fn_exists pmid && cat <<-EOF
724723
724+
VM tests: in_vm='$(in_vm && echo Y || echo .)' in_orb='$(in_orb && echo Y || echo .)' in_vagrant='$(in_vagrant && echo Y || echo .)' in_vmware='$(in_vmware && echo Y || echo .)'
725725
OS tests: pmid='$(pmid)' osid='$(osid)' osidlike='$(osidlike)'
726726
oscodename='$(oscodename)' versionid='$(versionid)' variantid='$(variantid)'
727727
if_nix_typ='$(if_nix_typ)' (\$OSTYPE='$OSTYPE')
@@ -744,7 +744,7 @@ debug_info() {
744744
colortabletruecolor
745745
printf "## Welcome to bash.sh %s ##\n" "$BASH_SH_VERSION"
746746
}
747-
function ii() {
747+
ii() {
748748
local c_green="\e[0;32m"
749749
local c_red="\e[0;31m"
750750
local c_lblue="\e[1;34m"

0 commit comments

Comments
 (0)