Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oh my bash fails to start when start new terminal session #395

Closed
EsDmitrii opened this issue Feb 9, 2023 · 37 comments
Closed

oh my bash fails to start when start new terminal session #395

EsDmitrii opened this issue Feb 9, 2023 · 37 comments

Comments

@EsDmitrii
Copy link

EsDmitrii commented Feb 9, 2023

Hi!
I installed https://ohmybash.nntoan.com/ using command from the website.
I modified by bash_profile as it described in manual.
my sys parameters
Screenshot 2023-02-09 at 17 13 42
I also use iTerm2
error is

a1b003d60e4b211e4f-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
@akinomyoga
Copy link
Contributor

How does it fail? Could you provide a description? Or a screen capture might be helpful.

@EsDmitrii
Copy link
Author

@akinomyoga hi! I updated the issue, missclicked and created an issue instead of describe something:)

@EsDmitrii
Copy link
Author

When I installed it, it worked until I restarted my terminal.
when I run bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" first time, it start oh-my-bash session. When I restart terminal (changed theme or something else), it starts send this error -bash: fork: retry: Resource temporarily unavailable

@akinomyoga
Copy link
Contributor

Thanks for the description. I don't have an idea how this could happen.

One possibility is that there is an infinite loop somewhere in the Bash configuration, so the chain of Bash processes eats up the computational resource. Could you give us the full content of your .bash_profile?

@EsDmitrii
Copy link
Author

EsDmitrii commented Feb 9, 2023

yep, sure

# Set PATH, MANPATH, etc., for Homebrew.
eval "$(/opt/homebrew/bin/brew shellenv)"
[[ -r "$(brew --prefix)/etc/profile.d/bash_completion.sh" ]] && . "$(brew --prefix)/etc/profile.d/bash_completion.sh"
PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
complete -C /opt/homebrew/Cellar/tfenv/3.0.0/versions/1.3.7/terraform terraform

if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi

@akinomyoga
Copy link
Contributor

OK. I don't see the problem here. Next question:

  • Q2: Have you edited your ~/.bashrc after the installation of oh-my-bash (other than the mentioned theme change)? For example, did you add some source <another-file> or . <another-file>? What did you exactly added to your .bashrc?

@akinomyoga
Copy link
Contributor

If it doesn't matter, maybe you can also paste the full contents of your .bashrc.

@EsDmitrii
Copy link
Author

EsDmitrii commented Feb 9, 2023

Yep, I just changed OSH_THEME to "agnoster".
Nothing that could break something :)

# Enable the subsequent settings only in interactive sessions
case $- in
  *i*) ;;
    *) return;;
esac

# Path to your oh-my-bash installation.
export OSH='/Users/dmitriiesin/.oh-my-bash'

# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-bash is loaded.
OSH_THEME="agnoster"

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_OSH_DAYS=13

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.  One of the following values can
# be used to specify the timestamp format.
# * 'mm/dd/yyyy'     # mm/dd/yyyy + time
# * 'dd.mm.yyyy'     # dd.mm.yyyy + time
# * 'yyyy-mm-dd'     # yyyy-mm-dd + time
# * '[mm/dd/yyyy]'   # [mm/dd/yyyy] + [time] with colors
# * '[dd.mm.yyyy]'   # [dd.mm.yyyy] + [time] with colors
# * '[yyyy-mm-dd]'   # [yyyy-mm-dd] + [time] with colors
# If not set, the default value is 'yyyy-mm-dd'.
# HIST_STAMPS='yyyy-mm-dd'

# Uncomment the following line if you do not want OMB to overwrite the existing
# aliases by the default OMB aliases defined in lib/*.sh
# OMB_DEFAULT_ALIASES="check"

# Would you like to use another custom folder than $OSH/custom?
# OSH_CUSTOM=/path/to/new-custom-folder

# To disable the uses of "sudo" by oh-my-bash, please set "false" to
# this variable.  The default behavior for the empty value is "true".
OMB_USE_SUDO=true

# Which completions would you like to load? (completions can be found in ~/.oh-my-bash/completions/*)
# Custom completions may be added to ~/.oh-my-bash/custom/completions/
# Example format: completions=(ssh git bundler gem pip pip3)
# Add wisely, as too many completions slow down shell startup.
completions=(
  git
  composer
  ssh
)

# Which aliases would you like to load? (aliases can be found in ~/.oh-my-bash/aliases/*)
# Custom aliases may be added to ~/.oh-my-bash/custom/aliases/
# Example format: aliases=(vagrant composer git-avh)
# Add wisely, as too many aliases slow down shell startup.
aliases=(
  general
)

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-bash/plugins/*)
# Custom plugins may be added to ~/.oh-my-bash/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
  git
  bashmarks
)

# Which plugins would you like to conditionally load? (plugins can be found in ~/.oh-my-bash/plugins/*)
# Custom plugins may be added to ~/.oh-my-bash/custom/plugins/
# Example format:
#  if [ "$DISPLAY" ] || [ "$SSH" ]; then
#      plugins+=(tmux-autoattach)
#  fi

source "$OSH"/oh-my-bash.sh

# User configuration
# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"

# Set personal aliases, overriding those provided by oh-my-bash libs,
# plugins, and themes. Aliases can be placed here, though oh-my-bash
# users are encouraged to define aliases within the OSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias bashconfig="mate ~/.bashrc"
# alias ohmybash="mate ~/.oh-my-bash"

@EsDmitrii
Copy link
Author

oh-my-bash created .bashrc itself, I used .bash_profile all the time

@akinomyoga
Copy link
Contributor

akinomyoga commented Feb 9, 2023

OK, your .bashrc seems to be OK. Maybe it is related to some submodule.

  • Q3: As an experiment, could you comment out the arrays completions, aliases, and plugins in .bashrc to see if anything changes? edit: I mean, e.g,
--- a.bashrc^I2023-02-09 23:35:21.763047687 +0900
+++ b.bashrc^I2023-02-09 23:35:43.674059793 +0900
@@ -69,9 +69,9 @@
 # Example format: completions=(ssh git bundler gem pip pip3)
 # Add wisely, as too many completions slow down shell startup.
 completions=(
-  git
-  composer
-  ssh
+  # git
+  # composer
+  # ssh
 )

 # Which aliases would you like to load? (aliases can be found in ~/.oh-my-bash/aliases/*)
@@ -79,7 +79,7 @@
 # Example format: aliases=(vagrant composer git-avh)
 # Add wisely, as too many aliases slow down shell startup.
 aliases=(
-  general
+  # general
 )

 # Which plugins would you like to load? (plugins can be found in ~/.oh-my-bash/plugins/*)
@@ -87,8 +87,8 @@
 # Example format: plugins=(rails git textmate ruby lighthouse)
 # Add wisely, as too many plugins slow down shell startup.
 plugins=(
-  git
-  bashmarks
+  # git
+  # bashmarks
 )

 # Which plugins would you like to conditionally load? (plugins can be found in ~/.oh-my-bash/plugins/*)

@EsDmitrii
Copy link
Author

nah, the same

# Enable the subsequent settings only in interactive sessions
case $- in
  *i*) ;;
    *) return;;
esac

# Path to your oh-my-bash installation.
export OSH='/Users/dmitriiesin/.oh-my-bash'

# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-bash is loaded.
OSH_THEME="agnoster"

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_OSH_DAYS=13

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.  One of the following values can
# be used to specify the timestamp format.
# * 'mm/dd/yyyy'     # mm/dd/yyyy + time
# * 'dd.mm.yyyy'     # dd.mm.yyyy + time
# * 'yyyy-mm-dd'     # yyyy-mm-dd + time
# * '[mm/dd/yyyy]'   # [mm/dd/yyyy] + [time] with colors
# * '[dd.mm.yyyy]'   # [dd.mm.yyyy] + [time] with colors
# * '[yyyy-mm-dd]'   # [yyyy-mm-dd] + [time] with colors
# If not set, the default value is 'yyyy-mm-dd'.
# HIST_STAMPS='yyyy-mm-dd'

# Uncomment the following line if you do not want OMB to overwrite the existing
# aliases by the default OMB aliases defined in lib/*.sh
# OMB_DEFAULT_ALIASES="check"

# Would you like to use another custom folder than $OSH/custom?
# OSH_CUSTOM=/path/to/new-custom-folder

# To disable the uses of "sudo" by oh-my-bash, please set "false" to
# this variable.  The default behavior for the empty value is "true".
OMB_USE_SUDO=true

# Which completions would you like to load? (completions can be found in ~/.oh-my-bash/completions/*)
# Custom completions may be added to ~/.oh-my-bash/custom/completions/
# Example format: completions=(ssh git bundler gem pip pip3)
# Add wisely, as too many completions slow down shell startup.
#completions=(
#  git
#  composer
#  ssh
#)

# Which aliases would you like to load? (aliases can be found in ~/.oh-my-bash/aliases/*)
# Custom aliases may be added to ~/.oh-my-bash/custom/aliases/
# Example format: aliases=(vagrant composer git-avh)
# Add wisely, as too many aliases slow down shell startup.
#aliases=(
#  general
#)

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-bash/plugins/*)
# Custom plugins may be added to ~/.oh-my-bash/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
#plugins=(
#  git
#  bashmarks
#)

# Which plugins would you like to conditionally load? (plugins can be found in ~/.oh-my-bash/plugins/*)
# Custom plugins may be added to ~/.oh-my-bash/custom/plugins/
# Example format:
#  if [ "$DISPLAY" ] || [ "$SSH" ]; then
#      plugins+=(tmux-autoattach)
#  fi

source "$OSH"/oh-my-bash.sh

# User configuration
# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"

# Set personal aliases, overriding those provided by oh-my-bash libs,
# plugins, and themes. Aliases can be placed here, though oh-my-bash
# users are encouraged to define aliases within the OSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias bashconfig="mate ~/.bashrc"
# alias ohmybash="mate ~/.oh-my-bash"

@akinomyoga
Copy link
Contributor

Thanks for checking. Then, the agnoster theme might be related.

  • Q4: Could you also comment out the line OSH_THEME="agnoster" and see if it changes?

@EsDmitrii
Copy link
Author

nope the same
now all stuff commented

@akinomyoga
Copy link
Contributor

now all stuff commented

Does it mean you also commented out source "$OSH"/oh-my-bash.sh? I actually wanted to ask that next:

  • Q5: Just to confirm, could you next comment out the line source "$OSH"/oh-my-bash.sh and try again?

@EsDmitrii
Copy link
Author

yep, this command cause the issue
capture

@akinomyoga
Copy link
Contributor

akinomyoga commented Feb 9, 2023

OK! There seems to be an infinite loop somewhere.

  • Q6: Could you try the following command and see what are output?
$ PS4='+${FUNCNAME-(global)}: '; set -x
$ source "$OSH"/oh-my-bash.sh

@EsDmitrii
Copy link
Author

capture

@akinomyoga
Copy link
Contributor

Wow...

  • Q6': Could you instead try this?
$ PS4='+${FUNCNAME-(global)}: '; set -x
$ source "$OSH"/oh-my-bash.sh |& cat -v

@EsDmitrii
Copy link
Author

EsDmitrii commented Feb 9, 2023

Q5

dmitriiesin@Dmitriis-MacBook-Pro:~$ source "$OSH"/oh-my-bash.sh
+sourcesource /Users/dmitriiesin/.oh-my-bash/oh-my-bash.sh
++sourcecase $- in
++source'[' '!' -n '5.2.15(1)-release' ']'
++source_omb_bash_version=50215
++source(( _omb_bash_version < 30200 ))
++sourceOMB_VERSINFO=(1 0 0 0 master noarch)
++sourceOMB_VERSION='1.0.0(0)-master (noarch)'
++source_omb_version=10000
++source[[ '' != true ]]
++sourcesource /Users/dmitriiesin/.oh-my-bash/tools/check_for_upgrade.sh
+++source[[ -w /Users/dmitriiesin/.oh-my-bash ]]
+++sourcetype -P git
+++sourcecommand mkdir /Users/dmitriiesin/.oh-my-bash/log/update.lock
++source[[ ! -n /Users/dmitriiesin/.oh-my-bash/custom ]]
++source[[ ! -n /Users/dmitriiesin/.oh-my-bash/cache ]]
++source_omb_module_loaded=
++source_omb_module_require_lib utils
++_omb_module_require_lib_omb_module_require lib:utils
++_omb_module_requirelocal status=0
++_omb_module_requirefiles=()
++_omb_module_requirelocal -a files
++_omb_module_require(( 1 ))
++_omb_module_requirelocal type=lib name=lib:utils
++_omb_module_requireshift
++_omb_module_require[[ lib:utils == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=utils
++_omb_module_requirename=utils
++_omb_module_requirename=utils
++_omb_module_require[[    == *\ \l\i\b\:\u\t\i\l\s\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/utils.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/utils.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/utils.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/utils.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 0 ))
++_omb_module_require(( status==0 ))
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${files[@]}"
++_omb_module_requiresource /Users/dmitriiesin/.oh-my-bash/lib/utils.sh
+++source(( _omb_bash_version >= 40000 ))
+++source_omb_term_color_initialize
+++_omb_term_color_initializelocal name
+++_omb_term_color_initializenormal_colors=('black' 'brown' 'green' 'olive' 'navy' 'purple' 'teal' 'silver')
+++_omb_term_color_initializelocal -a normal_colors
+++_omb_term_color_initializebright_colors=('gray' 'red' 'lime' 'yellow' 'blue' 'magenta' 'cyan' 'white')
+++_omb_term_color_initializelocal -a bright_colors
+++_omb_term_color_initialize[[ ! -t 1 ]]
+++_omb_term_color_initialize_omb_util_binary_exists tput
+++_omb_util_binary_existstype -P -- tput
++++_omb_term_color_initializetput colors
+++_omb_term_color_initialize_omb_term_colors=256
++++_omb_term_color_initializetput bold
+++_omb_term_color_initialize_omb_term_bold=''
++++_omb_term_color_initializetput smul
+++_omb_term_color_initialize_omb_term_underline=''
++++_omb_term_color_initializetput sgr0
+++_omb_term_color_initialize_omb_term_reset=''
+++_omb_term_color_initialize_omb_term_normal=''
+++_omb_term_color_initialize_omb_term_reset_color=''
+++_omb_term_color_initialize(( _omb_term_colors >= 8 ))
+++_omb_term_color_initializelocal index
+++_omb_term_color_initialize(( index = 0 ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 0
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializeprintf -v _omb_term_black %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_black '\e[4%sm' 0
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 1
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializeprintf -v _omb_term_brown %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_brown '\e[4%sm' 1
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 2
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializeprintf -v _omb_term_green %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_green '\e[4%sm' 2
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 3
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializeprintf -v _omb_term_olive %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_olive '\e[4%sm' 3
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 4
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializeprintf -v _omb_term_navy %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_navy '\e[4%sm' 4
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 5
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializeprintf -v _omb_term_purple %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_purple '\e[4%sm' 5
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 6
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializeprintf -v _omb_term_teal %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_teal '\e[4%sm' 6
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 7
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializeprintf -v _omb_term_silver %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_silver '\e[4%sm' 7
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
+++_omb_term_color_initialize(( _omb_term_colors >= 16 ))
+++_omb_term_color_initializelocal index
+++_omb_term_color_initialize(( index = 0 ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 8
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializelocal refbg=_omb_term_background_black
+++_omb_term_color_initializelocal 'bg='
+++_omb_term_color_initializeprintf -v _omb_term_gray %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_gray %s ''
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 9
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializelocal refbg=_omb_term_background_brown
+++_omb_term_color_initializelocal 'bg='
+++_omb_term_color_initializeprintf -v _omb_term_red %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_red %s ''
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 10
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializelocal refbg=_omb_term_background_green
+++_omb_term_color_initializelocal 'bg='
+++_omb_term_color_initializeprintf -v _omb_term_lime %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_lime %s ''
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 11
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializelocal refbg=_omb_term_background_olive
+++_omb_term_color_initializelocal 'bg='
+++_omb_term_color_initializeprintf -v _omb_term_yellow %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_yellow %s ''
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 12
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializelocal refbg=_omb_term_background_navy
+++_omb_term_color_initializelocal 'bg='
+++_omb_term_color_initializeprintf -v _omb_term_blue %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_blue %s ''
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 13
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializelocal refbg=_omb_term_background_purple
+++_omb_term_color_initializelocal 'bg='
+++_omb_term_color_initializeprintf -v _omb_term_magenta %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_magenta %s ''
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 14
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializelocal refbg=_omb_term_background_teal
+++_omb_term_color_initializelocal 'bg='
+++_omb_term_color_initializeprintf -v _omb_term_cyan %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_cyan %s ''
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
++++_omb_term_color_initializetput setaf 15
+++_omb_term_color_initializelocal 'fg='
+++_omb_term_color_initialize[[ -n  ]]
+++_omb_term_color_initializelocal refbg=_omb_term_background_silver
+++_omb_term_color_initializelocal 'bg='
+++_omb_term_color_initializeprintf -v _omb_term_white %s ''
+++_omb_term_color_initializeprintf -v _omb_term_background_white %s ''
+++_omb_term_color_initialize(( index++ ))
+++_omb_term_color_initialize(( index < 8 ))
+++_omb_term_color_initialize(( _omb_term_colors == 256 ))
+++_omb_term_color_initialize_omb_term_violet=''
+++_omb_term_color_initialize_omb_term_background_violet=''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_black
+++_omb_term_color_initializeprintf -v _omb_term_bold_black %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_black %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_brown
+++_omb_term_color_initializeprintf -v _omb_term_bold_brown %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_brown %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_green
+++_omb_term_color_initializeprintf -v _omb_term_bold_green %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_green %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_olive
+++_omb_term_color_initializeprintf -v _omb_term_bold_olive %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_olive %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_navy
+++_omb_term_color_initializeprintf -v _omb_term_bold_navy %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_navy %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_purple
+++_omb_term_color_initializeprintf -v _omb_term_bold_purple %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_purple %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_teal
+++_omb_term_color_initializeprintf -v _omb_term_bold_teal %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_teal %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_silver
+++_omb_term_color_initializeprintf -v _omb_term_bold_silver %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_silver %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_gray
+++_omb_term_color_initializeprintf -v _omb_term_bold_gray %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_gray %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_red
+++_omb_term_color_initializeprintf -v _omb_term_bold_red %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_red %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_lime
+++_omb_term_color_initializeprintf -v _omb_term_bold_lime %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_lime %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_yellow
+++_omb_term_color_initializeprintf -v _omb_term_bold_yellow %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_yellow %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_blue
+++_omb_term_color_initializeprintf -v _omb_term_bold_blue %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_blue %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_magenta
+++_omb_term_color_initializeprintf -v _omb_term_bold_magenta %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_magenta %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_cyan
+++_omb_term_color_initializeprintf -v _omb_term_bold_cyan %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_cyan %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_white
+++_omb_term_color_initializeprintf -v _omb_term_bold_white %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_white %s ''
+++_omb_term_color_initializefor name in "${normal_colors[@]}" "${bright_colors[@]}" violet
+++_omb_term_color_initializelocal ref=_omb_term_violet
+++_omb_term_color_initializeprintf -v _omb_term_bold_violet %s ''
+++_omb_term_color_initializeprintf -v _omb_term_underline_violet %s ''
+++source(( _omb_bash_version >= 40100 ))
+++source_omb_util_unload_hook=()
+++source_omb_util_original_PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
+++source_omb_util_unload_hook+=('PS1=$_omb_util_original_PS1')
+++source_omb_util_prompt_command=()
+++source_omb_util_unload_hook+=('_omb_util_prompt_command=()')
+++source: ''
++_omb_module_requirereturn 0
++(global)_omb_util_glob_expand _omb_init_files '{"$OSH","$OSH_CUSTOM"}/lib/*.{bash,sh}'
++_omb_util_glob_expandlocal set=himxBHs shopt gignore=
++_omb_util_glob_expand_omb_util_get_shopt failglob nullglob extglob
++_omb_util_get_shoptshopt=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extglob:extquote:force_fignore:globasciiranges:globskipdots:interactive_comments:login_shell:patsub_replacement:progcomp:promptvars:sourcepath
++_omb_util_glob_expandshopt -u failglob
++_omb_util_glob_expandshopt -s nullglob
++_omb_util_glob_expandshopt -s extglob
++_omb_util_glob_expandset +f
++_omb_util_glob_expandGLOBIGNORE=
++_omb_util_glob_expandeval -- '_omb_init_files=({"$OSH","$OSH_CUSTOM"}/lib/*.{bash,sh})'
+++_omb_util_glob_expand_omb_init_files=({"$OSH","$OSH_CUSTOM"}/lib/*.{bash,sh})
++_omb_util_glob_expandGLOBIGNORE=
++_omb_util_glob_expand[[ :checkwinsize:cmdhist:complete_fullquote:expand_aliases:extglob:extquote:force_fignore:globasciiranges:globskipdots:interactive_comments:login_shell:patsub_replacement:progcomp:promptvars:sourcepath: == *:dotglob:* ]]
++_omb_util_glob_expandshopt -u dotglob
++_omb_util_glob_expand[[ himxBHs == *f* ]]
++_omb_util_glob_expand[[ :checkwinsize:cmdhist:complete_fullquote:expand_aliases:extglob:extquote:force_fignore:globasciiranges:globskipdots:interactive_comments:login_shell:patsub_replacement:progcomp:promptvars:sourcepath: != *:extglob:* ]]
++_omb_util_glob_expand[[ :checkwinsize:cmdhist:complete_fullquote:expand_aliases:extglob:extquote:force_fignore:globasciiranges:globskipdots:interactive_comments:login_shell:patsub_replacement:progcomp:promptvars:sourcepath: != *:nullglob:* ]]
++_omb_util_glob_expandshopt -u nullglob
++_omb_util_glob_expand[[ :checkwinsize:cmdhist:complete_fullquote:expand_aliases:extglob:extquote:force_fignore:globasciiranges:globskipdots:interactive_comments:login_shell:patsub_replacement:progcomp:promptvars:sourcepath: == *:failglob:* ]]
++_omb_util_glob_expandreturn 0
++(global)_omb_init_files=("${_omb_init_files[@]##*/}")
++(global)_omb_init_files=("${_omb_init_files[@]%.bash}")
++(global)_omb_init_files=("${_omb_init_files[@]%.sh}")
++(global)_omb_module_require_lib base bourne-shell directories functions git grep history misc mo nvm omb-deprecate omb-prompt-base omb-prompt-colors readlink shopt spectrum spinner theme-and-appearance utils
++_omb_module_require_lib_omb_module_require lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink lib:shopt lib:spectrum lib:spinner lib:theme-and-appearance lib:utils
++_omb_module_requirelocal status=0
++_omb_module_requirefiles=()
++_omb_module_requirelocal -a files
++_omb_module_require(( 19 ))
++_omb_module_requirelocal type=lib name=lib:base
++_omb_module_requireshift
++_omb_module_require[[ lib:base == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=base
++_omb_module_requirename=base
++_omb_module_requirename=base
++_omb_module_require[[   lib:utils  == *\ \l\i\b\:\b\a\s\e\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/base.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/base.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/base.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/base.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 18 ))
++_omb_module_requirelocal type=lib name=lib:bourne-shell
++_omb_module_requireshift
++_omb_module_require[[ lib:bourne-shell == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=bourne-shell
++_omb_module_requirename=bourne-shell
++_omb_module_requirename=bourne-shell
++_omb_module_require[[   lib:utils lib:base  == *\ \l\i\b\:\b\o\u\r\n\e\-\s\h\e\l\l\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/bourne-shell.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/bourne-shell.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/bourne-shell.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/bourne-shell.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 17 ))
++_omb_module_requirelocal type=lib name=lib:directories
++_omb_module_requireshift
++_omb_module_require[[ lib:directories == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=directories
++_omb_module_requirename=directories
++_omb_module_requirename=directories
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell  == *\ \l\i\b\:\d\i\r\e\c\t\o\r\i\e\s\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/directories.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/directories.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/directories.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/directories.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 16 ))
++_omb_module_requirelocal type=lib name=lib:functions
++_omb_module_requireshift
++_omb_module_require[[ lib:functions == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=functions
++_omb_module_requirename=functions
++_omb_module_requirename=functions
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories  == *\ \l\i\b\:\f\u\n\c\t\i\o\n\s\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/functions.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/functions.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/functions.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/functions.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 15 ))
++_omb_module_requirelocal type=lib name=lib:git
++_omb_module_requireshift
++_omb_module_require[[ lib:git == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=git
++_omb_module_requirename=git
++_omb_module_requirename=git
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions  == *\ \l\i\b\:\g\i\t\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/git.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/git.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/git.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/git.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 14 ))
++_omb_module_requirelocal type=lib name=lib:grep
++_omb_module_requireshift
++_omb_module_require[[ lib:grep == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=grep
++_omb_module_requirename=grep
++_omb_module_requirename=grep
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git  == *\ \l\i\b\:\g\r\e\p\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/grep.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/grep.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/grep.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/grep.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 13 ))
++_omb_module_requirelocal type=lib name=lib:history
++_omb_module_requireshift
++_omb_module_require[[ lib:history == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=history
++_omb_module_requirename=history
++_omb_module_requirename=history
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep  == *\ \l\i\b\:\h\i\s\t\o\r\y\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/history.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/history.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/history.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/history.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 12 ))
++_omb_module_requirelocal type=lib name=lib:misc
++_omb_module_requireshift
++_omb_module_require[[ lib:misc == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=misc
++_omb_module_requirename=misc
++_omb_module_requirename=misc
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history  == *\ \l\i\b\:\m\i\s\c\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/misc.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/misc.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/misc.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/misc.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 11 ))
++_omb_module_requirelocal type=lib name=lib:mo
++_omb_module_requireshift
++_omb_module_require[[ lib:mo == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=mo
++_omb_module_requirename=mo
++_omb_module_requirename=mo
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc  == *\ \l\i\b\:\m\o\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/mo.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/mo.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/mo.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/mo.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 10 ))
++_omb_module_requirelocal type=lib name=lib:nvm
++_omb_module_requireshift
++_omb_module_require[[ lib:nvm == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=nvm
++_omb_module_requirename=nvm
++_omb_module_requirename=nvm
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo  == *\ \l\i\b\:\n\v\m\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/nvm.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/nvm.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/nvm.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/nvm.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 9 ))
++_omb_module_requirelocal type=lib name=lib:omb-deprecate
++_omb_module_requireshift
++_omb_module_require[[ lib:omb-deprecate == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=omb-deprecate
++_omb_module_requirename=omb-deprecate
++_omb_module_requirename=omb-deprecate
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm  == *\ \l\i\b\:\o\m\b\-\d\e\p\r\e\c\a\t\e\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/omb-deprecate.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/omb-deprecate.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/omb-deprecate.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/omb-deprecate.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 8 ))
++_omb_module_requirelocal type=lib name=lib:omb-prompt-base
++_omb_module_requireshift
++_omb_module_require[[ lib:omb-prompt-base == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=omb-prompt-base
++_omb_module_requirename=omb-prompt-base
++_omb_module_requirename=omb-prompt-base
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate  == *\ \l\i\b\:\o\m\b\-\p\r\o\m\p\t\-\b\a\s\e\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/omb-prompt-base.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/omb-prompt-base.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/omb-prompt-base.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/omb-prompt-base.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 7 ))
++_omb_module_requirelocal type=lib name=lib:omb-prompt-colors
++_omb_module_requireshift
++_omb_module_require[[ lib:omb-prompt-colors == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=omb-prompt-colors
++_omb_module_requirename=omb-prompt-colors
++_omb_module_requirename=omb-prompt-colors
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base  == *\ \l\i\b\:\o\m\b\-\p\r\o\m\p\t\-\c\o\l\o\r\s\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/omb-prompt-colors.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/omb-prompt-colors.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/omb-prompt-colors.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/omb-prompt-colors.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 6 ))
++_omb_module_requirelocal type=lib name=lib:readlink
++_omb_module_requireshift
++_omb_module_require[[ lib:readlink == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=readlink
++_omb_module_requirename=readlink
++_omb_module_requirename=readlink
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors  == *\ \l\i\b\:\r\e\a\d\l\i\n\k\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/readlink.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/readlink.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/readlink.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/readlink.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 5 ))
++_omb_module_requirelocal type=lib name=lib:shopt
++_omb_module_requireshift
++_omb_module_require[[ lib:shopt == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=shopt
++_omb_module_requirename=shopt
++_omb_module_requirename=shopt
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink  == *\ \l\i\b\:\s\h\o\p\t\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink lib:shopt'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/shopt.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/shopt.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/shopt.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/shopt.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 4 ))
++_omb_module_requirelocal type=lib name=lib:spectrum
++_omb_module_requireshift
++_omb_module_require[[ lib:spectrum == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=spectrum
++_omb_module_requirename=spectrum
++_omb_module_requirename=spectrum
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink lib:shopt  == *\ \l\i\b\:\s\p\e\c\t\r\u\m\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink lib:shopt lib:spectrum'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/spectrum.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/spectrum.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/spectrum.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/spectrum.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 3 ))
++_omb_module_requirelocal type=lib name=lib:spinner
++_omb_module_requireshift
++_omb_module_require[[ lib:spinner == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=spinner
++_omb_module_requirename=spinner
++_omb_module_requirename=spinner
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink lib:shopt lib:spectrum  == *\ \l\i\b\:\s\p\i\n\n\e\r\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink lib:shopt lib:spectrum lib:spinner'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/spinner.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/spinner.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/spinner.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/spinner.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 2 ))
++_omb_module_requirelocal type=lib name=lib:theme-and-appearance
++_omb_module_requireshift
++_omb_module_require[[ lib:theme-and-appearance == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=theme-and-appearance
++_omb_module_requirename=theme-and-appearance
++_omb_module_requirename=theme-and-appearance
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink lib:shopt lib:spectrum lib:spinner  == *\ \l\i\b\:\t\h\e\m\e\-\a\n\d\-\a\p\p\e\a\r\a\n\c\e\ * ]]
++_omb_module_require_omb_module_loaded=' lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink lib:shopt lib:spectrum lib:spinner lib:theme-and-appearance'
++_omb_module_requirelocations=()
++_omb_module_requirelocal -a locations
++_omb_module_requirecase $type in
++_omb_module_requirelocations=({"$OSH_CUSTOM","$OSH"}/lib/"$name".{bash,sh})
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/theme-and-appearance.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/custom/lib/theme-and-appearance.sh ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/theme-and-appearance.bash ]]
++_omb_module_requirefor path in "${locations[@]}"
++_omb_module_require[[ -f /Users/dmitriiesin/.oh-my-bash/lib/theme-and-appearance.sh ]]
++_omb_module_requirefiles+=("$path")
++_omb_module_requirecontinue 2
++_omb_module_require(( 1 ))
++_omb_module_requirelocal type=lib name=lib:utils
++_omb_module_requireshift
++_omb_module_require[[ lib:utils == *:* ]]
++_omb_module_requiretype=lib
++_omb_module_requirename=utils
++_omb_module_requirename=utils
++_omb_module_requirename=utils
++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink lib:shopt lib:spectrum lib:spinner lib:theme-and-appearance  == *\ \l\i\b\:\u\t\i\l\s\ * ]]
++_omb_module_requirecontinue
++_omb_module_require(( 0 ))
++_omb_module_require(( status==0 ))
++_omb_module_requirelocal path
++_omb_module_requirefor path in "${files[@]}"
++_omb_module_requiresource /Users/dmitriiesin/.oh-my-bash/lib/base.sh
+++sourceopenssl rand -base64 18
+++sourcesha256sum
+++sourcehead -c 18
8ab018c0bbdb5381e2++_omb_module_requirefor path in "${files[@]}"
++_omb_module_requiresource /Users/dmitriiesin/.oh-my-bash/lib/bourne-shell.sh
+++source'[' -z '' ']'
+++source'[' -f /etc/gentoo-release ']'
+++source'[' -x /usr/bin/lesspipe ']'
+++source'[' -x /usr/bin/lesspipe.sh ']'
+++source'[' -z '' ']'
+++source'[' -r /etc/debian_chroot ']'
+++sourcecase "$TERM" in
+++sourcecolor_prompt=yes
+++source'[' -n '' ']'
+++source'[' yes = yes ']'
+++sourcePS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
+++sourceunset color_prompt force_color_prompt
+++sourcecase "$TERM" in
+++sourcePS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
+++source'[' -x /usr/bin/dircolors ']'
+++source_omb_util_alias 'alert=notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- 'alert=notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
+++source'[' -f /Users/dmitriiesin/.bash_aliases ']'
+++source'[' -f /Users/dmitriiesin/.bashrc.local ']'
+++sourceshopt -oq posix
+++source'[' -f /usr/share/bash-completion/bash_completion ']'
+++source'[' -f /etc/bash_completion ']'
++_omb_module_requirefor path in "${files[@]}"
++_omb_module_requiresource /Users/dmitriiesin/.oh-my-bash/lib/directories.sh
+++source_omb_util_alias 'cd..=cd ../'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- 'cd..=cd ../'
+++source_omb_util_alias '..=cd ../'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '..=cd ../'
+++source_omb_util_alias '...=cd ../../'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '...=cd ../../'
+++source_omb_util_alias '.3=cd ../../../'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '.3=cd ../../../'
+++source_omb_util_alias '.4=cd ../../../../'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '.4=cd ../../../../'
+++source_omb_util_alias '.5=cd ../../../../../'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '.5=cd ../../../../../'
+++source_omb_util_alias '.6=cd ../../../../../../'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '.6=cd ../../../../../../'
+++source_omb_util_alias '-=cd -'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '-=cd -'
+++source_omb_util_alias '1=cd -'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '1=cd -'
+++source_omb_util_alias '2=cd -2'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '2=cd -2'
+++source_omb_util_alias '3=cd -3'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '3=cd -3'
+++source_omb_util_alias '4=cd -4'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '4=cd -4'
+++source_omb_util_alias '5=cd -5'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '5=cd -5'
+++source_omb_util_alias '6=cd -6'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '6=cd -6'
+++source_omb_util_alias '7=cd -7'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '7=cd -7'
+++source_omb_util_alias '8=cd -8'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '8=cd -8'
+++source_omb_util_alias '9=cd -9'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- '9=cd -9'
+++source_omb_util_alias 'md=mkdir -p'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- 'md=mkdir -p'
+++source_omb_util_alias rd=rmdir
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- rd=rmdir
+++source_omb_util_alias 'd=dirs -v | head -10'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- 'd=dirs -v | head -10'
+++source_omb_util_alias 'lsa=ls -lha'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- 'lsa=ls -lha'
+++source_omb_util_alias 'l=ls -lha'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- 'l=ls -lha'
+++source_omb_util_alias 'll=ls -lh'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- 'll=ls -lh'
+++source_omb_util_alias 'la=ls -lhA'
+++_omb_util_aliascase ${OMB_DEFAULT_ALIASES:-enable} in
+++_omb_util_aliasalias -- 'la=ls -lhA'
++_omb_module_requirefor path in "${files[@]}"
++_omb_module_requiresource /Users/dmitriiesin/.oh-my-bash/lib/functions.sh
+++source(( _omb_bash_version >= 40000 ))
++_omb_module_requirefor path in "${files[@]}"
++_omb_module_requiresource /Users/dmitriiesin/.oh-my-bash/lib/git.sh
+++source_omb_module_require lib:omb-prompt-colors
+++_omb_module_requirelocal status=0
+++_omb_module_requirefiles=()
+++_omb_module_requirelocal -a files
+++_omb_module_require(( 1 ))
+++_omb_module_requirelocal type=lib name=lib:omb-prompt-colors
+++_omb_module_requireshift
+++_omb_module_require[[ lib:omb-prompt-colors == *:* ]]
+++_omb_module_requiretype=lib
+++_omb_module_requirename=omb-prompt-colors
+++_omb_module_requirename=omb-prompt-colors
+++_omb_module_requirename=omb-prompt-colors
+++_omb_module_require[[   lib:utils lib:base lib:bourne-shell lib:directories lib:functions lib:git lib:grep lib:history lib:misc lib:mo lib:nvm lib:omb-deprecate lib:omb-prompt-base lib:omb-prompt-colors lib:readlink lib:shopt lib:spectrum lib:spinner lib:theme-and-appearance  == *\ \l\i\b\:\o\m\b\-\p\r\o\m\p\t\-\c\o\l\o\r\s\ * ]]
+++_omb_module_requirecontinue
+++_omb_module_require(( 0 ))
+++_omb_module_require(( status==0 ))
+++_omb_module_requirelocal path
+++_omb_module_requirereturn 0
++_omb_module_requirefor path in "${files[@]}"
++_omb_module_requiresource /Users/dmitriiesin/.oh-my-bash/lib/grep.sh
+++source_omb_grep_options=()
+++source_omb_grep_flag_available --color=auto
+++_omb_grep_flag_availableecho
+++echolocal i pass length=4
+++_omb_grep_flag_availablegrep --color=auto ''
++++++echoeval echo '{1..4}'
+++++++echoecho 1 2 3 4
+++++++echolocal i pass length=1
++++++++++echoeval echo '{1..1}'
+++++++++++echoecho 1
+++++++++++echolocal i pass length=1
++++++++++++++echoeval echo '{1..1}'
+++++++++++++++echoecho 1
+++++++++++++++echolocal i pass length=1
++++++++++++++++++echoeval echo '{1..1}'
+++++++++++++++++++echoecho 1
+++++++++++++++++++echolocal i pass length=1
++++++++++++++++++++++echoeval echo '{1..1}'
+++++++++++++++++++++++echoecho 1
+++++++++++++++++++++++echolocal i pass length=1
++++++++++++++++++++++++++echoeval echo '{1..1}'

edit by @akinomyoga: I put the long output in the <details> tag to fold it.

@EsDmitrii
Copy link
Author

EsDmitrii commented Feb 9, 2023

related to Q5

and this repeats infinitely

+++++++++++++++++++++++echoecho 1
+++++++++++++++++++++++echolocal i pass length=1
++++++++++++++++++++++++++echoeval echo '{1..1}'

@EsDmitrii
Copy link
Author

Q6
the same as in Q5 but without colors:)
capture

@akinomyoga
Copy link
Contributor

akinomyoga commented Feb 9, 2023

Thanks! Hmm, this seems to imply that echo is overwritten somewhere, which causes the infinite loop.

  • Q7: What are the outputs of the following commands?
$ type -a echo
$ (shopt -s extdebug; declare -F echo)

@EsDmitrii
Copy link
Author

dmitriiesin@Dmitriis-MacBook-Pro:~$ type -a echo
echo is a function
echo ()
{
    local i pass length=${1:-4};
    pass=$(echo $(for i in $(eval echo "{1..$length}");
do
    pickfrom /usr/share/dict/words;
done));
    echo "With spaces (easier to memorize): $pass";
    echo "Without (use this as the password): $(echo $pass | tr -d ' ')"
}
echo is a shell builtin
echo is /opt/homebrew/opt/coreutils/libexec/gnubin/echo
echo is /bin/echo
dmitriiesin@Dmitriis-MacBook-Pro:~$ (shopt -s extdebug; declare -F echo)
echo 293 /Users/dmitriiesin/.oh-my-bash/lib/base.sh
dmitriiesin@Dmitriis-MacBook-Pro:~$

@akinomyoga
Copy link
Contributor

OK.

dmitriiesin@Dmitriis-MacBook-Pro:~$ (shopt -s extdebug; declare -F echo)
echo 293 /Users/dmitriiesin/.oh-my-bash/lib/base.sh

This line (.oh-my-bash/lib/base.sh:293) corresponds to the function definition of passgen.

  • Q8: What is the output of the following command?
$ alias passgen

@EsDmitrii
Copy link
Author

EsDmitrii commented Feb 9, 2023

ha!
I use my own alias passgen in .bash_profile, to generate random passwords, forgot to mention that.
I commented out it and now all seems well.

@akinomyoga
Copy link
Contributor

akinomyoga commented Feb 9, 2023

I see! Thanks for the information. We actually have experienced similar cases in the past. I now searched for them: there seem to be two cases, #211 and #364. Maybe we should consider a general way to avoid that, e.g. converting all the function declarations to the form function ....

@EsDmitrii
Copy link
Author

@akinomyoga thank you so much for your help and time!
I really appreciate it! <3

@akinomyoga
Copy link
Contributor

Thanks! I now switched all the function declarations to use the form function NAME instead of NAME() in commit 59f6ef1.

@EsDmitrii
Copy link
Author

EsDmitrii commented Feb 9, 2023

@akinomyoga the last one question
what should I do with this? my mac or terminal (?) doesn't know symbols?
Screenshot 2023-02-09 at 18 42 11

FYI I insatalled https://github.com/powerline/fonts and no luck

@akinomyoga
Copy link
Contributor

akinomyoga commented Feb 9, 2023

what should I do with this? my mac or terminal (?) doesn't know symbols?
FYI I insatalled https://github.com/powerline/fonts and no luck

So, according to the neofetch image in your first report, you are using iTerm2 and the selected font is Monaco, right? The font settings in iTerm2 seems to be described in the following page:

FYI I insatalled https://github.com/powerline/fonts and no luck

I don't think just installing the font into the system is sufficient, but you need to specify it for iTerm2 in its settings.

By the way, after updating to the latest version of oh-my-bash, now I think you can restore your alias, passgen, safely.

@EsDmitrii
Copy link
Author

YOU ARE AWESOME
I restored my alias and all works like a charm:)
Thank you billion times!

@akinomyoga
Copy link
Contributor

So, according to the neofetch image in your first report, you are using iTerm2 and the selected font is Monaco, right? The font settings in iTerm2 seems to be described in the following page:

Sorry, I have carefully looked at it and noticed that this is not the right page. I think you can reference the following page instead:

@EsDmitrii
Copy link
Author

Yeah, I found this option in settings:)

Screenshot 2023-02-09 at 18 52 50

Screenshot 2023-02-09 at 18 53 09

@akinomyoga
Copy link
Contributor

Oh, great!

@EsDmitrii
Copy link
Author

Thank you again!

@EsDmitrii
Copy link
Author

You're the best:)

@akinomyoga
Copy link
Contributor

Thanks

@akinomyoga akinomyoga mentioned this issue Feb 10, 2023
42 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants