Created
August 5, 2021 10:50
-
-
Save flaturtha/2969f66da9b3e8fb9bd6918fa80b6a56 to your computer and use it in GitHub Desktop.
omz-debug.log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
+/home/h/.zshrc:4> [[ -r /home/h/.cache/p10k-instant-prompt-h.zsh ]] | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:/.local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/h/.oh-my-zsh" | |
+/home/h/.zshrc:12> export ZSH=/home/h/.oh-my-zsh | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes | |
ZSH_THEME="aphrodite" | |
+/home/h/.zshrc:18> ZSH_THEME=aphrodite | |
# Set list of themes to pick from when loading at random | |
# Setting this variable when ZSH_THEME=random will cause zsh to load | |
# a theme from this variable instead of looking in $ZSH/themes/ | |
# If set to an empty array, this variable will have no effect. | |
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "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 automatically update without prompting. | |
# DISABLE_UPDATE_PROMPT="true" | |
# Uncomment the following line to change how often to auto-update (in days). | |
# export UPDATE_ZSH_DAYS=13 | |
# Uncomment the following line if pasting URLs and other text is messed up. | |
# DISABLE_MAGIC_FUNCTIONS="true" | |
# 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. | |
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work) | |
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765 | |
# 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. | |
# You can set one of the optional three formats: | |
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" | |
# or set a custom format using the strftime function format specifications, | |
# see 'man strftime' for details. | |
# HIST_STAMPS="mm/dd/yyyy" | |
# Would you like to use another custom folder than $ZSH/custom? | |
# ZSH_CUSTOM=/path/to/new-custom-folder | |
# Which plugins would you like to load? | |
# Standard plugins can be found in $ZSH/plugins/ | |
# Custom plugins may be added to $ZSH_CUSTOM/plugins/ | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
# Add wisely, as too many plugins slow down shell startup. | |
plugins=(zsh-autosuggestions) | |
+/home/h/.zshrc:80> plugins=( zsh-autosuggestions ) | |
source $ZSH/oh-my-zsh.sh | |
+/home/h/.zshrc:82> source /home/h/.oh-my-zsh/oh-my-zsh.sh | |
# If ZSH is not defined, use the current script's directory. | |
[[ -z "$ZSH" ]] && export ZSH="${${(%):-%x}:a:h}" | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:2> [[ -z /home/h/.oh-my-zsh ]] | |
# Set ZSH_CACHE_DIR to the path where cache files should be created | |
# or else we will use the default cache/ | |
if [[ -z "$ZSH_CACHE_DIR" ]]; then | |
ZSH_CACHE_DIR="$ZSH/cache" | |
fi | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:6> [[ -z '' ]] | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:7> ZSH_CACHE_DIR=/home/h/.oh-my-zsh/cache | |
# Check for updates on initial load... | |
if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then | |
source $ZSH/tools/check_for_upgrade.sh | |
fi | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:11> [ '' '!=' true ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:12> source /home/h/.oh-my-zsh/tools/check_for_upgrade.sh | |
# Migrate .zsh-update file to $ZSH_CACHE_DIR | |
if [[ -f ~/.zsh-update && ! -f "${ZSH_CACHE_DIR}/.zsh-update" ]]; then | |
mv ~/.zsh-update "${ZSH_CACHE_DIR}/.zsh-update" | |
fi | |
+/home/h/.oh-my-zsh/tools/check_for_upgrade.sh:2> [[ -f /home/h/.zsh-update ]] | |
# Cancel update if: | |
# - the automatic update is disabled. | |
# - the current user doesn't have write permissions nor owns the $ZSH directory. | |
# - git is unavailable on the system. | |
if [[ "$DISABLE_AUTO_UPDATE" = true ]] \ | |
|| [[ ! -w "$ZSH" || ! -O "$ZSH" ]] \ | |
|| ! command -v git &>/dev/null; then | |
return | |
fi | |
+/home/h/.oh-my-zsh/tools/check_for_upgrade.sh:10> [[ '' = true ]] | |
+/home/h/.oh-my-zsh/tools/check_for_upgrade.sh:11> [[ ! -w /home/h/.oh-my-zsh || ! -O /home/h/.oh-my-zsh ]] | |
+/home/h/.oh-my-zsh/tools/check_for_upgrade.sh:12> command -v git | |
function current_epoch() { | |
zmodload zsh/datetime | |
echo $(( EPOCHSECONDS / 60 / 60 / 24 )) | |
} | |
function update_last_updated_file() { | |
echo "LAST_EPOCH=$(current_epoch)" >! "${ZSH_CACHE_DIR}/.zsh-update" | |
} | |
function update_ohmyzsh() { | |
if ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" --interactive; then | |
update_last_updated_file | |
fi | |
} | |
() { | |
emulate -L zsh | |
local epoch_target mtime option LAST_EPOCH | |
# Remove lock directory if older than a day | |
zmodload zsh/datetime | |
zmodload -F zsh/stat b:zstat | |
if mtime=$(zstat +mtime "$ZSH/log/update.lock" 2>/dev/null); then | |
if (( (mtime + 3600 * 24) < EPOCHSECONDS )); then | |
command rm -rf "$ZSH/log/update.lock" | |
fi | |
fi | |
# Check for lock directory | |
if ! command mkdir "$ZSH/log/update.lock" 2>/dev/null; then | |
return | |
fi | |
# Remove lock directory on exit. `return $ret` is important for when trapping a SIGINT: | |
# The return status from the function is handled specially. If it is zero, the signal is | |
# assumed to have been handled, and execution continues normally. Otherwise, the shell | |
# will behave as interrupted except that the return status of the trap is retained. | |
# This means that for a CTRL+C, the trap needs to return the same exit status so that | |
# the shell actually exits what it's running. | |
trap " | |
ret=\$? | |
unset -f current_epoch update_last_updated_file update_ohmyzsh 2>/dev/null | |
command rm -rf '$ZSH/log/update.lock' | |
return \$ret | |
" EXIT INT QUIT | |
# Create or update .zsh-update file if missing or malformed | |
if ! source "${ZSH_CACHE_DIR}/.zsh-update" 2>/dev/null || [[ -z "$LAST_EPOCH" ]]; then | |
update_last_updated_file | |
return | |
fi | |
# Number of days before trying to update again | |
epoch_target=${UPDATE_ZSH_DAYS:-13} | |
# Test if enough time has passed until the next update | |
if (( ( $(current_epoch) - $LAST_EPOCH ) < $epoch_target )); then | |
return | |
fi | |
# Ask for confirmation before updating unless disabled | |
if [[ "$DISABLE_UPDATE_PROMPT" = true ]]; then | |
update_ohmyzsh | |
else | |
# input sink to swallow all characters typed before the prompt | |
# and add a newline if there wasn't one after characters typed | |
while read -t -k 1 option; do true; done | |
[[ "$option" != ($'\n'|"") ]] && echo | |
echo -n "[oh-my-zsh] Would you like to update? [Y/n] " | |
read -r -k 1 option | |
[[ "$option" != $'\n' ]] && echo | |
case "$option" in | |
[yY$'\n']) update_ohmyzsh ;; | |
[nN]) update_last_updated_file ;; | |
esac | |
fi | |
} | |
+/home/h/.oh-my-zsh/tools/check_for_upgrade.sh:32> '(anon)' | |
+(anon):1> emulate -L zsh | |
+(anon):3> local epoch_target mtime option LAST_EPOCH | |
+(anon):6> zmodload zsh/datetime | |
+(anon):7> zmodload -F zsh/stat b:zstat | |
+(anon):8> mtime=+(anon):8> zstat +mtime /home/h/.oh-my-zsh/log/update.lock | |
+(anon):8> mtime='' | |
+(anon):15> mkdir /home/h/.oh-my-zsh/log/update.lock | |
+(anon):25> trap $'\n ret=$?\n unset -f current_epoch update_last_updated_file update_ohmyzsh 2>/dev/null\n command rm -rf \'/home/h/.oh-my-zsh/log/update.lock\'\n return $ret\n ' EXIT INT QUIT | |
+(anon):33> source /home/h/.oh-my-zsh/cache/.zsh-update | |
+/home/h/.oh-my-zsh/cache/.zsh-update:1> LAST_EPOCH=18827 | |
+(anon):33> [[ -z 18827 ]] | |
+(anon):39> epoch_target=13 | |
+(anon):41> ((+(anon):41> current_epoch | |
+current_epoch:1> zmodload zsh/datetime | |
+current_epoch:2> echo 18844 | |
+(anon):41> (( ( 18844 - 18827 ) < 13 )) | |
+(anon):46> [[ '' = true ]] | |
+(anon):51> read -t -k 1 option | |
+(anon):52> [[ '' != ($'\n'|) ]] | |
+(anon):54> echo -n '[oh-my-zsh] Would you like to update? [Y/n] ' | |
[oh-my-zsh] Would you like to update? [Y/n] +(anon):55> read -r -k 1 option | |
+(anon):56> [[ $'\n' != $'\n' ]] | |
+(anon):57> case | |
([yY$'\n']) | |
+(anon):58> update_ohmyzsh | |
+update_ohmyzsh:1> ZSH=/home/h/.oh-my-zsh zsh -f /home/h/.oh-my-zsh/tools/upgrade.sh --interactive | |
Updating Oh My Zsh | |
error: Pulling is not possible because you have unmerged files. | |
hint: Fix them up in the work tree, and then use 'git add/rm <file>' | |
hint: as appropriate to mark resolution and make a commit. | |
fatal: Exiting because of an unresolved conflict. | |
There was an error updating. Try again later? | |
+/home/h/.oh-my-zsh/tools/check_for_upgrade.sh:32> ret=0 | |
+/home/h/.oh-my-zsh/tools/check_for_upgrade.sh:32> unset -f current_epoch update_last_updated_file update_ohmyzsh | |
+/home/h/.oh-my-zsh/tools/check_for_upgrade.sh:32> rm -rf /home/h/.oh-my-zsh/log/update.lock | |
+/home/h/.oh-my-zsh/tools/check_for_upgrade.sh:32> return 0 | |
# Initializes Oh My Zsh | |
# add a function path | |
fpath=($ZSH/functions $ZSH/completions $fpath) | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:18> fpath=( /home/h/.oh-my-zsh/functions /home/h/.oh-my-zsh/completions /usr/local/share/zsh/site-functions /usr/share/zsh/site-functions /usr/share/zsh/functions/Calendar /usr/share/zsh/functions/Chpwd /usr/share/zsh/functions/Completion /usr/share/zsh/functions/Completion/Base /usr/share/zsh/functions/Completion/Linux /usr/share/zsh/functions/Completion/Unix /usr/share/zsh/functions/Completion/X /usr/share/zsh/functions/Completion/Zsh /usr/share/zsh/functions/Exceptions /usr/share/zsh/functions/Math /usr/share/zsh/functions/MIME /usr/share/zsh/functions/Misc /usr/share/zsh/functions/Newuser /usr/share/zsh/functions/Prompts /usr/share/zsh/functions/TCP /usr/share/zsh/functions/VCS_Info /usr/share/zsh/functions/VCS_Info/Backends /usr/share/zsh/functions/Zftp /usr/share/zsh/functions/Zle ) | |
# Load all stock functions (from $fpath files) called below. | |
autoload -U compaudit compinit | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:21> autoload -U compaudit compinit | |
# Set ZSH_CUSTOM to the path where your custom config files | |
# and plugins exists, or else we will use the default custom/ | |
if [[ -z "$ZSH_CUSTOM" ]]; then | |
ZSH_CUSTOM="$ZSH/custom" | |
fi | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:25> [[ -z '' ]] | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:26> ZSH_CUSTOM=/home/h/.oh-my-zsh/custom | |
is_plugin() { | |
local base_dir=$1 | |
local name=$2 | |
builtin test -f $base_dir/plugins/$name/$name.plugin.zsh \ | |
|| builtin test -f $base_dir/plugins/$name/_$name | |
} | |
# Add all defined plugins to fpath. This must be done | |
# before running compinit. | |
for plugin ($plugins); do | |
if is_plugin $ZSH_CUSTOM $plugin; then | |
fpath=($ZSH_CUSTOM/plugins/$plugin $fpath) | |
elif is_plugin $ZSH $plugin; then | |
fpath=($ZSH/plugins/$plugin $fpath) | |
else | |
echo "[oh-my-zsh] plugin '$plugin' not found" | |
fi | |
done | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:39> plugin=zsh-autosuggestions | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:40> is_plugin /home/h/.oh-my-zsh/custom zsh-autosuggestions | |
+is_plugin:1> local base_dir=/home/h/.oh-my-zsh/custom | |
+is_plugin:2> local name=zsh-autosuggestions | |
+is_plugin:3> test -f /home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:41> fpath=( /home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions /home/h/.oh-my-zsh/functions /home/h/.oh-my-zsh/completions /usr/local/share/zsh/site-functions /usr/share/zsh/site-functions /usr/share/zsh/functions/Calendar /usr/share/zsh/functions/Chpwd /usr/share/zsh/functions/Completion /usr/share/zsh/functions/Completion/Base /usr/share/zsh/functions/Completion/Linux /usr/share/zsh/functions/Completion/Unix /usr/share/zsh/functions/Completion/X /usr/share/zsh/functions/Completion/Zsh /usr/share/zsh/functions/Exceptions /usr/share/zsh/functions/Math /usr/share/zsh/functions/MIME /usr/share/zsh/functions/Misc /usr/share/zsh/functions/Newuser /usr/share/zsh/functions/Prompts /usr/share/zsh/functions/TCP /usr/share/zsh/functions/VCS_Info /usr/share/zsh/functions/VCS_Info/Backends /usr/share/zsh/functions/Zftp /usr/share/zsh/functions/Zle ) | |
# Figure out the SHORT hostname | |
if [[ "$OSTYPE" = darwin* ]]; then | |
# macOS's $HOST changes with dhcp, etc. Use ComputerName if possible. | |
SHORT_HOST=$(scutil --get ComputerName 2>/dev/null) || SHORT_HOST=${HOST/.*/} | |
else | |
SHORT_HOST=${HOST/.*/} | |
fi | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:50> [[ linux-gnu = darwin* ]] | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:54> SHORT_HOST=ckr | |
# Save the location of the current completion dump file. | |
if [ -z "$ZSH_COMPDUMP" ]; then | |
ZSH_COMPDUMP="${ZDOTDIR:-${HOME}}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}" | |
fi | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:58> [ -z '' ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:59> ZSH_COMPDUMP=/home/h/.zcompdump-ckr-5.8 | |
# Construct zcompdump OMZ metadata | |
zcompdump_revision="#omz revision: $(builtin cd -q "$ZSH"; git rev-parse HEAD 2>/dev/null)" | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:63> zcompdump_revision=+/home/h/.oh-my-zsh/oh-my-zsh.sh:63> cd -q /home/h/.oh-my-zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:63> git rev-parse HEAD | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:63> zcompdump_revision='#omz revision: dac3314c76e799cddbbe5cf63870d31861626059' | |
zcompdump_fpath="#omz fpath: $fpath" | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:64> zcompdump_fpath='#omz fpath: /home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions /home/h/.oh-my-zsh/functions /home/h/.oh-my-zsh/completions /usr/local/share/zsh/site-functions /usr/share/zsh/site-functions /usr/share/zsh/functions/Calendar /usr/share/zsh/functions/Chpwd /usr/share/zsh/functions/Completion /usr/share/zsh/functions/Completion/Base /usr/share/zsh/functions/Completion/Linux /usr/share/zsh/functions/Completion/Unix /usr/share/zsh/functions/Completion/X /usr/share/zsh/functions/Completion/Zsh /usr/share/zsh/functions/Exceptions /usr/share/zsh/functions/Math /usr/share/zsh/functions/MIME /usr/share/zsh/functions/Misc /usr/share/zsh/functions/Newuser /usr/share/zsh/functions/Prompts /usr/share/zsh/functions/TCP /usr/share/zsh/functions/VCS_Info /usr/share/zsh/functions/VCS_Info/Backends /usr/share/zsh/functions/Zftp /usr/share/zsh/functions/Zle' | |
# Delete the zcompdump file if OMZ zcompdump metadata changed | |
if ! command grep -q -Fx "$zcompdump_revision" "$ZSH_COMPDUMP" 2>/dev/null \ | |
|| ! command grep -q -Fx "$zcompdump_fpath" "$ZSH_COMPDUMP" 2>/dev/null; then | |
command rm -f "$ZSH_COMPDUMP" | |
zcompdump_refresh=1 | |
fi | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:67> grep -q -Fx '#omz revision: dac3314c76e799cddbbe5cf63870d31861626059' /home/h/.zcompdump-ckr-5.8 | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:68> grep -q -Fx '#omz fpath: /home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions /home/h/.oh-my-zsh/functions /home/h/.oh-my-zsh/completions /usr/local/share/zsh/site-functions /usr/share/zsh/site-functions /usr/share/zsh/functions/Calendar /usr/share/zsh/functions/Chpwd /usr/share/zsh/functions/Completion /usr/share/zsh/functions/Completion/Base /usr/share/zsh/functions/Completion/Linux /usr/share/zsh/functions/Completion/Unix /usr/share/zsh/functions/Completion/X /usr/share/zsh/functions/Completion/Zsh /usr/share/zsh/functions/Exceptions /usr/share/zsh/functions/Math /usr/share/zsh/functions/MIME /usr/share/zsh/functions/Misc /usr/share/zsh/functions/Newuser /usr/share/zsh/functions/Prompts /usr/share/zsh/functions/TCP /usr/share/zsh/functions/VCS_Info /usr/share/zsh/functions/VCS_Info/Backends /usr/share/zsh/functions/Zftp /usr/share/zsh/functions/Zle' /home/h/.zcompdump-ckr-5.8 | |
if [[ $ZSH_DISABLE_COMPFIX != true ]]; then | |
source $ZSH/lib/compfix.zsh | |
# If completion insecurities exist, warn the user | |
handle_completion_insecurities | |
# Load only from secure directories | |
compinit -i -C -d "${ZSH_COMPDUMP}" | |
else | |
# If the user wants it, load from all found directories | |
compinit -u -C -d "${ZSH_COMPDUMP}" | |
fi | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:73> [[ '' != true ]] | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:74> source /home/h/.oh-my-zsh/lib/compfix.zsh | |
# Handle completions insecurities (i.e., completion-dependent directories with | |
# insecure ownership or permissions) by: | |
# | |
# * Human-readably notifying the user of these insecurities. | |
function handle_completion_insecurities() { | |
# List of the absolute paths of all unique insecure directories, split on | |
# newline from compaudit()'s output resembling: | |
# | |
# There are insecure directories: | |
# /usr/share/zsh/site-functions | |
# /usr/share/zsh/5.0.6/functions | |
# /usr/share/zsh | |
# /usr/share/zsh/5.0.6 | |
# | |
# Since the ignorable first line is printed to stderr and thus not captured, | |
# stderr is squelched to prevent this output from leaking to the user. | |
local -aU insecure_dirs | |
insecure_dirs=( ${(f@):-"$(compaudit 2>/dev/null)"} ) | |
# If no such directories exist, get us out of here. | |
[[ -z "${insecure_dirs}" ]] && return | |
# List ownership and permissions of all insecure directories. | |
print "[oh-my-zsh] Insecure completion-dependent directories detected:" | |
ls -ld "${(@)insecure_dirs}" | |
cat <<EOD | |
[oh-my-zsh] For safety, we will not load completions from these directories until | |
[oh-my-zsh] you fix their permissions and ownership and restart zsh. | |
[oh-my-zsh] See the above list for directories with group or other writability. | |
[oh-my-zsh] To fix your permissions you can do so by disabling | |
[oh-my-zsh] the write permission of "group" and "others" and making sure that the | |
[oh-my-zsh] owner of these directories is either root or your current user. | |
[oh-my-zsh] The following command may help: | |
[oh-my-zsh] compaudit | xargs chmod g-w,o-w | |
[oh-my-zsh] If the above didn't help or you want to skip the verification of | |
[oh-my-zsh] insecure directories you can set the variable ZSH_DISABLE_COMPFIX to | |
[oh-my-zsh] "true" before oh-my-zsh is sourced in your zshrc file. | |
EOD | |
} | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:76> handle_completion_insecurities | |
+handle_completion_insecurities:12> local -aU insecure_dirs | |
+handle_completion_insecurities:13> insecure_dirs=+handle_completion_insecurities:13> compaudit | |
+handle_completion_insecurities:13> insecure_dirs=( ) | |
+handle_completion_insecurities:16> [[ -z '' ]] | |
+handle_completion_insecurities:16> return | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:78> compinit -i -C -d /home/h/.zcompdump-ckr-5.8 | |
+compinit:70> emulate -L zsh | |
+compinit:71> setopt extendedglob | |
+compinit:73> typeset _i_dumpfile _i_files _i_line _i_done _i_dir _i_autodump=1 | |
+compinit:74> typeset _i_tag _i_file _i_addfiles _i_fail=ask _i_check=yes _i_name | |
+compinit:76> [[ 4 -gt 0 && -i = -[dDiuC] ]] | |
+compinit:77> case -i (-d) | |
+compinit:77> case -i (-D) | |
+compinit:77> case -i (-i) | |
+compinit:91> _i_fail=ign | |
+compinit:92> shift | |
+compinit:76> [[ 3 -gt 0 && -C = -[dDiuC] ]] | |
+compinit:77> case -C (-d) | |
+compinit:77> case -C (-D) | |
+compinit:77> case -C (-i) | |
+compinit:77> case -C (-u) | |
+compinit:77> case -C (-C) | |
+compinit:99> _i_check='' | |
+compinit:100> shift | |
+compinit:76> [[ 2 -gt 0 && -d = -[dDiuC] ]] | |
+compinit:77> case -d (-d) | |
+compinit:79> _i_autodump=1 | |
+compinit:80> shift | |
+compinit:81> [[ 1 -gt 0 && /home/h/.zcompdump-ckr-5.8 != -[dfQC] ]] | |
+compinit:82> _i_dumpfile=/home/h/.zcompdump-ckr-5.8 | |
+compinit:83> shift | |
+compinit:76> [[ 0 -gt 0 ]] | |
+compinit:108> typeset -gHA _comps _services _patcomps _postpatcomps | |
+compinit:113> typeset -gHA _compautos | |
+compinit:118> typeset -gHA _lastcomp | |
+compinit:121> [[ -n /home/h/.zcompdump-ckr-5.8 ]] | |
+compinit:123> typeset -g _comp_dumpfile=/home/h/.zcompdump-ckr-5.8 | |
+compinit:130> typeset -gHa _comp_options | |
+compinit:131> _comp_options=( bareglobqual extendedglob glob multibyte multifuncdef nullglob rcexpandparam unset NO_allexport NO_aliases NO_cshnullglob NO_cshjunkiequotes NO_errexit NO_errreturn NO_globassign NO_globsubst NO_histsubstpattern NO_ignorebraces NO_ignoreclosebraces NO_kshglob NO_ksharrays NO_kshtypeset NO_markdirs NO_octalzeroes NO_posixbuiltins NO_posixidentifiers NO_shwordsplit NO_shglob NO_warnnestedvar NO_warncreateglobal ) | |
+compinit:170> typeset -gH _comp_setup=$'local -A _comp_caller_options;\n _comp_caller_options=(${(kv)options[@]});\n setopt localoptions localtraps localpatterns ${_comp_options[@]};\n local IFS=$\' \\t\\r\\n\\0\';\n builtin enable -p \\| \\~ \\( \\? \\* \\[ \\< \\^ \\# 2>&-;\n exec </dev/null;\n trap - ZERR;\n local -a reply;\n local REPLY;\n local REPORTTIME;\n unset REPORTTIME' | |
+compinit:185> typeset -ga compprefuncs comppostfuncs | |
+compinit:186> compprefuncs=( ) | |
+compinit:187> comppostfuncs=( ) | |
+compinit:191> : compinit /home/h/.oh-my-zsh/oh-my-zsh.sh /home/h/.zshrc | |
+compinit:440> typeset _i_wdirs _i_wfiles | |
+compinit:442> _i_wdirs=( ) | |
+compinit:443> _i_wfiles=( ) | |
+compinit:445> autoload -Uz compaudit | |
+compinit:446> [[ -n '' ]] | |
+compinit:473> autoload -Uz compdump compinstall | |
+compinit:477> _i_done='' | |
+compinit:479> [[ -f /home/h/.zcompdump-ckr-5.8 ]] | |
+compinit:480> [[ -n '' ]] | |
+compinit:489> . /home/h/.zcompdump-ckr-5.8 | |
#files: 928 version: 5.8 | |
_comps=( | |
'-' '_precommand' | |
'.' '_source' | |
'5g' '_go' | |
'5l' '_go' | |
'6g' '_go' | |
'6l' '_go' | |
'8g' '_go' | |
'8l' '_go' | |
'a2ps' '_a2ps' | |
'aaaa' '_hosts' | |
'aap' '_aap' | |
'abcde' '_abcde' | |
'ack' '_ack' | |
'ack2' '_ack' | |
'ack-grep' '_ack' | |
'ack-standalone' '_ack' | |
'acpi' '_acpi' | |
'acpitool' '_acpitool' | |
'acroread' '_acroread' | |
'adb' '_adb' | |
'add-zle-hook-widget' '_add-zle-hook-widget' | |
'add-zsh-hook' '_add-zsh-hook' | |
'admin' '_sccs' | |
'afew' '_afew' | |
'alacritty' '_alacritty' | |
'ali' '_mh' | |
'alias' '_alias' | |
'amaya' '_webbrowser' | |
'analyseplugin' '_analyseplugin' | |
'android' '_android' | |
'animate' '_imagemagick' | |
'anno' '_mh' | |
'ansible' '_ansible' | |
'ansible-config' '_ansible' | |
'ansible-console' '_ansible' | |
'ansible-doc' '_ansible' | |
'ansible-galaxy' '_ansible' | |
'ansible-inventory' '_ansible' | |
'ansible-playbook' '_ansible' | |
'ansible-pull' '_ansible' | |
'ansible-vault' '_ansible' | |
'ant' '_ant' | |
'antiword' '_antiword' | |
'aodh' '_openstack' | |
'aoss' '_precommand' | |
'apache2ctl' '_apachectl' | |
'apachectl' '_apachectl' | |
'aplay' '_alsa-utils' | |
'apm' '_apm' | |
'appletviewer' '_java' | |
'apropos' '_man' | |
'apvlv' '_pdf' | |
'archlinux-java' '_archlinux-java' | |
'arecord' '_alsa-utils' | |
'arena' '_webbrowser' | |
'arp' '_arp' | |
'arping' '_arping' | |
'-array-value-' '_value' | |
'artisan' '_artisan' | |
'asciidoctor' '_asciidoctor' | |
'asciinema' '_asciinema' | |
'ash' '_sh' | |
'-assign-parameter-' '_assign' | |
'at' '_at' | |
'atach' '_atach' | |
'atq' '_at' | |
'atrm' '_at' | |
'attr' '_attr' | |
'augtool' '_augeas' | |
'autoload' '_typeset' | |
'avahi-browse' '_avahi' | |
'avahi-browse-domains' '_avahi' | |
'avahi-resolve' '_avahi' | |
'avahi-resolve-address' '_avahi' | |
'avahi-resolve-host-name' '_avahi' | |
'awk' '_awk' | |
'b2sum' '_md5sum' | |
'barbican' '_openstack' | |
'base32' '_base64' | |
'base64' '_base64' | |
'basename' '_basename' | |
'bash' '_bash' | |
'batch' '_at' | |
'baz' '_baz' | |
'beep' '_beep' | |
'bg' '_jobs_bg' | |
'bibtex' '_bibtex' | |
'bindkey' '_bindkey' | |
'bison' '_bison' | |
'bitcoin-cli' '_bitcoin-cli' | |
'bmake' '_make' | |
'bogofilter' '_bogofilter' | |
'bogotune' '_bogofilter' | |
'bogoutil' '_bogofilter' | |
'bootctl' '_bootctl' | |
'bower' '_bower' | |
'bpython' '_bpython' | |
'bpython2' '_bpython' | |
'bpython2-gtk' '_bpython' | |
'bpython2-urwid' '_bpython' | |
'bpython3' '_bpython' | |
'bpython3-gtk' '_bpython' | |
'bpython3-urwid' '_bpython' | |
'bpython-gtk' '_bpython' | |
'bpython-urwid' '_bpython' | |
'-brace-parameter-' '_brace_parameter' | |
'brctl' '_brctl' | |
'bsdgrep' '_grep' | |
'bsdtar' '_tar' | |
'btdownloadcurses' '_bittorrent' | |
'btdownloadgui' '_bittorrent' | |
'btdownloadheadless' '_bittorrent' | |
'btlaunchmany' '_bittorrent' | |
'btlaunchmanycurses' '_bittorrent' | |
'btmakemetafile' '_bittorrent' | |
'btreannounce' '_bittorrent' | |
'btrename' '_bittorrent' | |
'btrfs' '_btrfs' | |
'btshowmetainfo' '_bittorrent' | |
'bttrack' '_bittorrent' | |
'buildhash' '_ispell' | |
'builtin' '_builtin' | |
'bundle' '_bundle' | |
'bunzip2' '_bzip2' | |
'burst' '_mh' | |
'busctl' '_busctl' | |
'bzcat' '_bzip2' | |
'bzegrep' '_grep' | |
'bzfgrep' '_grep' | |
'bzgrep' '_grep' | |
'bzip2' '_bzip2' | |
'bzip2recover' '_bzip2' | |
'bzr' '_bzr' | |
'c++' '_gcc' | |
'cabal' '_cabal' | |
'caffeinate' '_caffeinate' | |
'cal' '_cal' | |
'calendar' '_calendar' | |
'cap' '_cap' | |
'cask' '_cask' | |
'cat' '_cat' | |
'catchsegv' '_precommand' | |
'cc' '_gcc' | |
'ccache' '_ccache' | |
'ccal' '_ccal' | |
'cd' '_cd' | |
'cdc' '_sccs' | |
'cdcd' '_cdcd' | |
'cdr' '_cdr' | |
'cdrdao' '_cdrdao' | |
'cdrecord' '_cdrecord' | |
'ceilometer' '_openstack' | |
'certtool' '_gnutls' | |
'cf' '_cf' | |
'cftp' '_twisted' | |
'chage' '_users' | |
'chattr' '_chattr' | |
'chcon' '_chcon' | |
'chdir' '_cd' | |
'cheat' '_cheat' | |
'chfn' '_users' | |
'chgrp' '_chown' | |
'chimera' '_webbrowser' | |
'chkconfig' '_chkconfig' | |
'chkstow' '_stow' | |
'chmod' '_chmod' | |
'choc' '_choc' | |
'chown' '_chown' | |
'chpass' '_chsh' | |
'chromium' '_chromium' | |
'chroot' '_chroot' | |
'chrt' '_chrt' | |
'chsh' '_chsh' | |
'ci' '_rcs' | |
'cifsiostat' '_sysstat' | |
'cinder' '_openstack' | |
'ckeygen' '_twisted' | |
'cksum' '_cksum' | |
'clang' '_gcc' | |
'clang++' '_gcc' | |
'clay' '_clay' | |
'clear' '_nothing' | |
'cloudkitty' '_openstack' | |
'clusterdb' '_postgresql' | |
'cmake' '_cmake' | |
'cmp' '_cmp' | |
'co' '_rcs' | |
'code' '_code' | |
'code-oss' '_code-oss' | |
'coffee' '_coffee' | |
'column' '_column' | |
'comb' '_sccs' | |
'combine' '_imagemagick' | |
'combinediff' '_patchutils' | |
'comm' '_comm' | |
'-command-' '_autocd' | |
'command' '_command' | |
'-command-line-' '_normal' | |
'comp' '_mh' | |
'compadd' '_compadd' | |
'compdef' '_compdef' | |
'composer' '_composer' | |
'composite' '_imagemagick' | |
'compress' '_compress' | |
'conan' '_conan' | |
'conch' '_twisted' | |
'concourse' '_concourse' | |
'-condition-' '_condition' | |
'config.status' '_configure' | |
'configure' '_configure' | |
'console' '_console' | |
'convert' '_imagemagick' | |
'coredumpctl' '_coredumpctl' | |
'cowsay' '_cowsay' | |
'cowthink' '_cowsay' | |
'cp' '_cp' | |
'cpio' '_cpio' | |
'cplay' '_cplay' | |
'cppcheck' '_cppcheck' | |
'cpupower' '_cpupower' | |
'createdb' '_pgsql_utils' | |
'createuser' '_pgsql_utils' | |
'crontab' '_crontab' | |
'crsh' '_cssh' | |
'cryptsetup' '_cryptsetup' | |
'cscope' '_cscope' | |
'csh' '_sh' | |
'cssh' '_cssh' | |
'curl' '_curl' | |
'cut' '_cut' | |
'cvs' '_cvs' | |
'dad' '_dad' | |
'darcs' '_darcs' | |
'dash' '_sh' | |
'date' '_date' | |
'dbus-launch' '_dbus' | |
'dbus-monitor' '_dbus' | |
'dbus-send' '_dbus' | |
'dconf' '_dconf' | |
'dcop' '_dcop' | |
'dcopclient' '_dcop' | |
'dcopfind' '_dcop' | |
'dcopobject' '_dcop' | |
'dcopref' '_dcop' | |
'dcopstart' '_dcop' | |
'dd' '_dd' | |
'debuild' '_debuild' | |
'declare' '_typeset' | |
'-default-' '_default' | |
'delta' '_sccs' | |
'designate' '_openstack' | |
'devtodo' '_devtodo' | |
'df' '_df' | |
'dget' '_dget' | |
'dhclient' '_dhclient' | |
'dhclient3' '_dhclient' | |
'dhcpcd' '_dhcpcd' | |
'diana' '_diana' | |
'dict' '_dict' | |
'diff' '_diff' | |
'diff3' '_diff3' | |
'diffstat' '_diffstat' | |
'dig' '_dig' | |
'dillo' '_webbrowser' | |
'dircmp' '_directories' | |
'dirs' '_dirs' | |
'disable' '_disable' | |
'disown' '_jobs_fg' | |
'display' '_imagemagick' | |
'dist' '_mh' | |
'django-admin' '_django' | |
'django-admin.py' '_django' | |
'dkms' '_dkms' | |
'dmake' '_make' | |
'dmesg' '_dmesg' | |
'dmidecode' '_dmidecode' | |
'doas' '_doas' | |
'docker' '_docker' | |
'dockerd' '_docker' | |
'docpad' '_docpad' | |
'domainname' '_yp' | |
'dos2unix' '_dos2unix' | |
'drill' '_drill' | |
'dropdb' '_pgsql_utils' | |
'dropuser' '_pgsql_utils' | |
'drush' '_drush' | |
'dsh' '_dsh' | |
'dtruss' '_dtruss' | |
'du' '_du' | |
'dvibook' '_dvi' | |
'dviconcat' '_dvi' | |
'dvicopy' '_dvi' | |
'dvidvi' '_dvi' | |
'dvipdf' '_dvi' | |
'dvips' '_dvi' | |
'dviselect' '_dvi' | |
'dvitodvi' '_dvi' | |
'dvitype' '_dvi' | |
'dwb' '_webbrowser' | |
'e2label' '_e2label' | |
'eatmydata' '_precommand' | |
'ecasound' '_ecasound' | |
'ecdsautil' '_ecdsautil' | |
'echotc' '_echotc' | |
'echoti' '_echoti' | |
'ed' '_ed' | |
'egrep' '_grep' | |
'elfdump' '_elfdump' | |
'elinks' '_elinks' | |
'emulate' '_emulate' | |
'emulator' '_emulator' | |
'enable' '_enable' | |
'enscript' '_enscript' | |
'entr' '_entr' | |
'env' '_env' | |
'envdir' '_envdir' | |
'eog' '_eog' | |
'epdfview' '_pdf' | |
'epsffit' '_psutils' | |
'-equal-' '_equal' | |
'erb' '_ruby' | |
'espeak' '_espeak' | |
'etags' '_etags' | |
'ethtool' '_ethtool' | |
'eu-nm' '_nm' | |
'eu-objdump' '_objdump' | |
'eu-readelf' '_readelf' | |
'eu-strings' '_strings' | |
'eval' '_precommand' | |
'eview' '_vim' | |
'evim' '_vim' | |
'evince' '_evince' | |
'exec' '_exec' | |
'expand' '_unexpand' | |
'export' '_typeset' | |
'exportfs' '_exportfs' | |
'express' '_webbrowser' | |
'extcheck' '_java' | |
'extractres' '_psutils' | |
'fab' '_fab' | |
'fail2ban-client' '_fail2ban-client' | |
'fakeroot' '_fakeroot' | |
'false' '_nothing' | |
'fc' '_fc' | |
'fc-list' '_xft_fonts' | |
'fc-match' '_xft_fonts' | |
'feh' '_feh' | |
'fetchmail' '_fetchmail' | |
'ffind' '_ffind' | |
'ffmpeg' '_ffmpeg' | |
'fg' '_jobs_fg' | |
'fgrep' '_grep' | |
'figlet' '_figlet' | |
'filterdiff' '_patchutils' | |
'find' '_find' | |
'findaffix' '_ispell' | |
'findmnt' '_findmnt' | |
'finger' '_finger' | |
'firefox' '_mozilla' | |
'-first-' '_first' | |
'fixdlsrps' '_psutils' | |
'fixfmps' '_psutils' | |
'fixmacps' '_psutils' | |
'fixpsditps' '_psutils' | |
'fixpspps' '_psutils' | |
'fixscribeps' '_psutils' | |
'fixtpps' '_psutils' | |
'fixwfwps' '_psutils' | |
'fixwpps' '_psutils' | |
'fixwwps' '_psutils' | |
'flac' '_flac' | |
'fleetctl' '_fleetctl' | |
'flex' '_flex' | |
'flex++' '_flex' | |
'flipdiff' '_patchutils' | |
'flist' '_mh' | |
'flists' '_mh' | |
'float' '_typeset' | |
'flutter' '_flutter' | |
'fly' '_concourse' | |
'fmt' '_fmt' | |
'fmttest' '_mh' | |
'fned' '_zed' | |
'fnext' '_mh' | |
'fold' '_fold' | |
'folder' '_mh' | |
'folders' '_mh' | |
'force' '_force' | |
'fortune' '_fortune' | |
'forw' '_mh' | |
'fprev' '_mh' | |
'free' '_free' | |
'freebsd-make' '_make' | |
'freezer' '_openstack' | |
'fsh' '_fsh' | |
'ftp' '_hosts' | |
'functions' '_typeset' | |
'fuser' '_fuser' | |
'fusermount' '_fusermount' | |
'fwhois' '_whois' | |
'fwupdmgr' '_fwupdmgr' | |
'g++' '_gcc' | |
'galeon' '_webbrowser' | |
'gas' '_gas' | |
'gawk' '_awk' | |
'gb2sum' '_md5sum' | |
'gbase32' '_base64' | |
'gbase64' '_base64' | |
'gbasename' '_basename' | |
'gcat' '_cat' | |
'gcc' '_gcc' | |
'gccgo' '_go' | |
'gchgrp' '_chown' | |
'gchmod' '_chmod' | |
'gchown' '_chown' | |
'gchroot' '_chroot' | |
'gcksum' '_cksum' | |
'gcmp' '_cmp' | |
'gcomm' '_comm' | |
'gcore' '_gcore' | |
'gcp' '_cp' | |
'gcut' '_cut' | |
'gdate' '_date' | |
'gdb' '_gdb' | |
'gdd' '_dd' | |
'gdf' '_df' | |
'gdiff' '_diff' | |
'gdu' '_du' | |
'geany' '_geany' | |
'gegrep' '_grep' | |
'gem' '_gem' | |
'genisoimage' '_genisoimage' | |
'genv' '_env' | |
'get' '_sccs' | |
'getafm' '_psutils' | |
'getconf' '_getconf' | |
'getent' '_getent' | |
'getfacl' '_getfacl' | |
'getfacl.exe' '_getfacl' | |
'getfattr' '_attr' | |
'getmail' '_getmail' | |
'getopt' '_getopt' | |
'getopts' '_vars' | |
'gex' '_vim' | |
'gexpand' '_unexpand' | |
'gfgrep' '_grep' | |
'gfind' '_find' | |
'gfmt' '_fmt' | |
'gfold' '_fold' | |
'ggetopt' '_getopt' | |
'ggrep' '_grep' | |
'ggv' '_gnome-gv' | |
'ghc' '_ghc' | |
'ghci' '_ghc' | |
'ghc-pkg' '_ghc' | |
'ghead' '_head' | |
'ghostscript' '_ghostscript' | |
'ghostview' '_pspdf' | |
'gid' '_id' | |
'ginstall' '_install' | |
'gist' '_gist' | |
'git' '_git' | |
'git-cvsserver' '_git' | |
'git-flow' '_git-flow' | |
'git-journal' '_git-journal' | |
'gitk' '_git' | |
'git-pulls' '_git-pulls' | |
'git-receive-pack' '_git' | |
'git-revise' '_git-revise' | |
'git-shell' '_git' | |
'git-upload-archive' '_git' | |
'git-upload-pack' '_git' | |
'git-wtf' '_git-wtf' | |
'gjoin' '_join' | |
'glance' '_openstack' | |
'glances' '_glances' | |
'gln' '_ln' | |
'global' '_global' | |
'glocate' '_locate' | |
'gls' '_ls' | |
'gm' '_graphicsmagick' | |
'gmake' '_make' | |
'gmd5sum' '_md5sum' | |
'gmkdir' '_mkdir' | |
'gmkfifo' '_mkfifo' | |
'gmknod' '_mknod' | |
'gmktemp' '_mktemp' | |
'gmplayer' '_mplayer' | |
'gmv' '_mv' | |
'gnl' '_nl' | |
'gnocchi' '_openstack' | |
'gnome-gv' '_gnome-gv' | |
'gnumfmt' '_numfmt' | |
'gnupod_addsong' '_gnupod' | |
'gnupod_addsong.pl' '_gnupod' | |
'gnupod_check' '_gnupod' | |
'gnupod_check.pl' '_gnupod' | |
'gnupod_INIT' '_gnupod' | |
'gnupod_INIT.pl' '_gnupod' | |
'gnupod_search' '_gnupod' | |
'gnupod_search.pl' '_gnupod' | |
'gnutls-cli' '_gnutls' | |
'gnutls-cli-debug' '_gnutls' | |
'gnutls-serv' '_gnutls' | |
'go' '_golang' | |
'god' '_od' | |
'gofmt' '_go' | |
'google' '_google' | |
'gpasswd' '_gpasswd' | |
'gpaste' '_paste' | |
'gpatch' '_patch' | |
'gpg' '_gpg' | |
'gpg2' '_gpg' | |
'gpgconf' '_gpgconf' | |
'gpgv' '_gpg' | |
'gpg-zip' '_gpg' | |
'gphoto2' '_gphoto2' | |
'gprintenv' '_printenv' | |
'gprof' '_gprof' | |
'gqview' '_gqview' | |
'gradle' '_gradle' | |
'gradlew' '_gradle' | |
'grail' '_webbrowser' | |
'greadlink' '_readlink' | |
'grep' '_grep' | |
'grepdiff' '_patchutils' | |
'grm' '_rm' | |
'grmdir' '_rmdir' | |
'groff' '_groff' | |
'groupadd' '_user_admin' | |
'groupdel' '_groups' | |
'groupmod' '_user_admin' | |
'groups' '_users' | |
'growisofs' '_growisofs' | |
'gs' '_ghostscript' | |
'gsbj' '_pspdf' | |
'gsdj' '_pspdf' | |
'gsdj500' '_pspdf' | |
'gsed' '_sed' | |
'gseq' '_seq' | |
'gsettings' '_gsettings' | |
'gsha1sum' '_md5sum' | |
'gsha224sum' '_md5sum' | |
'gsha256sum' '_md5sum' | |
'gsha384sum' '_md5sum' | |
'gsha512sum' '_md5sum' | |
'gshred' '_shred' | |
'gshuf' '_shuf' | |
'gslj' '_pspdf' | |
'gslp' '_pspdf' | |
'gsnd' '_pspdf' | |
'gsort' '_sort' | |
'gsplit' '_split' | |
'gstat' '_stat' | |
'gstdbuf' '_stdbuf' | |
'gstrings' '_strings' | |
'gstty' '_stty' | |
'gsum' '_cksum' | |
'gtac' '_tac' | |
'gtail' '_tail' | |
'gtar' '_tar' | |
'gtee' '_tee' | |
'gtimeout' '_timeout' | |
'gtk-launch' '_gtk-launch' | |
'gtouch' '_touch' | |
'gtr' '_tr' | |
'gtty' '_tty' | |
'guilt' '_guilt' | |
'guilt-add' '_guilt' | |
'guilt-applied' '_guilt' | |
'guilt-delete' '_guilt' | |
'guilt-files' '_guilt' | |
'guilt-fold' '_guilt' | |
'guilt-fork' '_guilt' | |
'guilt-header' '_guilt' | |
'guilt-help' '_guilt' | |
'guilt-import' '_guilt' | |
'guilt-import-commit' '_guilt' | |
'guilt-init' '_guilt' | |
'guilt-new' '_guilt' | |
'guilt-next' '_guilt' | |
'guilt-patchbomb' '_guilt' | |
'guilt-pop' '_guilt' | |
'guilt-prev' '_guilt' | |
'guilt-push' '_guilt' | |
'guilt-rebase' '_guilt' | |
'guilt-refresh' '_guilt' | |
'guilt-rm' '_guilt' | |
'guilt-series' '_guilt' | |
'guilt-status' '_guilt' | |
'guilt-top' '_guilt' | |
'guilt-unapplied' '_guilt' | |
'guname' '_uname' | |
'gunexpand' '_unexpand' | |
'guniq' '_uniq' | |
'gunzip' '_gzip' | |
'guptime' '_uptime' | |
'gv' '_gv' | |
'gview' '_vim' | |
'gvim' '_vim' | |
'gvimdiff' '_vim' | |
'gwc' '_wc' | |
'gwho' '_who' | |
'gxargs' '_xargs' | |
'gzcat' '_gzip' | |
'gzegrep' '_grep' | |
'gzfgrep' '_grep' | |
'gzgrep' '_grep' | |
'gzilla' '_webbrowser' | |
'gzip' '_gzip' | |
'hash' '_hash' | |
'hd' '_hexdump' | |
'head' '_head' | |
'heat' '_openstack' | |
'help' '_sccs' | |
'hexdump' '_hexdump' | |
'hilite' '_precommand' | |
'history' '_fc' | |
'hledger' '_hledger' | |
'homestead' '_homestead' | |
'host' '_host' | |
'hostname' '_hostname' | |
'hostnamectl' '_hostnamectl' | |
'hotjava' '_webbrowser' | |
'htop' '_htop' | |
'http' '_httpie' | |
'ibus' '_ibus' | |
'iceweasel' '_mozilla' | |
'icombine' '_ispell' | |
'iconv' '_iconv' | |
'iconvconfig' '_iconvconfig' | |
'id' '_id' | |
'identify' '_imagemagick' | |
'ifconfig' '_ifconfig' | |
'ifdown' '_net_interfaces' | |
'iftop' '_iftop' | |
'ifup' '_net_interfaces' | |
'ijoin' '_ispell' | |
'import' '_imagemagick' | |
'inc' '_mh' | |
'includeres' '_psutils' | |
'include-what-you-use' '_include-what-you-use' | |
'info' '_texinfo' | |
'infocmp' '_terminals' | |
'initctl' '_initctl' | |
'initdb' '_pgsql_utils' | |
'insmod' '_modutils' | |
'install' '_install' | |
'install-info' '_texinfo' | |
'integer' '_typeset' | |
'interdiff' '_patchutils' | |
'inxi' '_inxi' | |
'ionice' '_ionice' | |
'iostat' '_iostat' | |
'ip' '_ip' | |
'ip6tables' '_iptables' | |
'ip6tables-restore' '_iptables' | |
'ip6tables-save' '_iptables' | |
'ipkg' '_opkg' | |
'ipsec' '_ipsec' | |
'ipset' '_ipset' | |
'iptables' '_iptables' | |
'iptables-restore' '_iptables' | |
'iptables-save' '_iptables' | |
'irb' '_ruby' | |
'ironic' '_openstack' | |
'irssi' '_irssi' | |
'isag' '_sysstat' | |
'ispell' '_ispell' | |
'iwconfig' '_iwconfig' | |
'jadetex' '_tex' | |
'jar' '_java' | |
'jarsigner' '_java' | |
'java' '_java' | |
'javac' '_java' | |
'javadoc' '_java' | |
'javah' '_java' | |
'javap' '_java' | |
'jdb' '_java' | |
'jmeter' '_jmeter' | |
'jmeter-plugins' '_jmeter-plugins' | |
'jobs' '_jobs_builtin' | |
'joe' '_joe' | |
'join' '_join' | |
'jonas' '_jonas' | |
'journalctl' '_journalctl' | |
'jq' '_jq' | |
'jrnl' '_jrnl' | |
'kak' '_kak' | |
'kdeconnect-cli' '_kdeconnect' | |
'kernel-install' '_kernel-install' | |
'keystone' '_openstack' | |
'keytool' '_java' | |
'kfmclient' '_kfmclient' | |
'kill' '_kill' | |
'killall' '_killall' | |
'killall5' '_killall' | |
'kioclient' '_kfmclient' | |
'kitchen' '_kitchen' | |
'knife' '_knife' | |
'knock' '_knock' | |
'konqueror' '_webbrowser' | |
'kpartx' '_kpartx' | |
'kpdf' '_pdf' | |
'ksh' '_sh' | |
'ksh88' '_sh' | |
'ksh93' '_sh' | |
'kvno' '_kvno' | |
'last' '_last' | |
'lastb' '_last' | |
'latex' '_tex' | |
'latexmk' '_tex' | |
'ldconfig' '_ldconfig' | |
'ldconfig.real' '_ldconfig' | |
'ldd' '_ldd' | |
'less' '_less' | |
'let' '_math' | |
'lftp' '_ncftp' | |
'lha' '_lha' | |
'libinput' '_libinput' | |
'light' '_webbrowser' | |
'lilypond' '_lilypond' | |
'limit' '_limit' | |
'links' '_links' | |
'links2' '_links' | |
'linux' '_uml' | |
'lldb' '_lldb' | |
'llvm-g++' '_gcc' | |
'llvm-gcc' '_gcc' | |
'llvm-objdump' '_objdump' | |
'ln' '_ln' | |
'loadkeys' '_loadkeys' | |
'local' '_typeset' | |
'locale' '_locale' | |
'localectl' '_localectl' | |
'localedef' '_localedef' | |
'locate' '_locate' | |
'log' '_nothing' | |
'loginctl' '_loginctl' | |
'logname' '_nothing' | |
'look' '_look' | |
'losetup' '_losetup' | |
'lp' '_lp' | |
'lpadmin' '_lp' | |
'lpinfo' '_lp' | |
'lpoptions' '_lp' | |
'lpq' '_lp' | |
'lpr' '_lp' | |
'lprm' '_lp' | |
'lpstat' '_lp' | |
'ls' '_ls' | |
'lsattr' '_lsattr' | |
'lsblk' '_lsblk' | |
'lsdiff' '_patchutils' | |
'lsinitcpio' '_mkinitcpio' | |
'lsmod' '_modutils' | |
'lsof' '_lsof' | |
'lsusb' '_lsusb' | |
'ltrace' '_ltrace' | |
'lua' '_lua' | |
'luarocks' '_luarocks' | |
'luarocks-admin' '_luarocks-admin' | |
'lunchy' '_lunchy' | |
'lynx' '_lynx' | |
'lz4' '_lz4' | |
'lz4c' '_lz4' | |
'lz4c32' '_lz4' | |
'lz4cat' '_lz4' | |
'lzcat' '_xz' | |
'lzma' '_xz' | |
'lzop' '_lzop' | |
'mac2unix' '_dos2unix' | |
'machinectl' '_machinectl' | |
'magnum' '_openstack' | |
'mail' '_mail' | |
'Mail' '_mail' | |
'mailx' '_mail' | |
'make' '_make' | |
'makeinfo' '_texinfo' | |
'makepkg' '_pacman' | |
'man' '_man' | |
'manage.py' '_django' | |
'manila' '_openstack' | |
'mark' '_mh' | |
'-math-' '_math' | |
'matlab' '_matlab' | |
'mattrib' '_mtools' | |
'mc' '_mc' | |
'mcd' '_mtools' | |
'mcopy' '_mtools' | |
'md2' '_cksum' | |
'md4' '_cksum' | |
'md5' '_cksum' | |
'md5sum' '_md5sum' | |
'mdadm' '_mdadm' | |
'mdel' '_mtools' | |
'mdeltree' '_mtools' | |
'mdir' '_mtools' | |
'mdu' '_mtools' | |
'mencal' '_mencal' | |
'mere' '_mere' | |
'merge' '_rcs' | |
'meson' '_meson' | |
'metaflac' '_flac' | |
'mformat' '_mtools' | |
'mgv' '_pspdf' | |
'mhfixmsg' '_mh' | |
'mhlist' '_mh' | |
'mhmail' '_mh' | |
'mhn' '_mh' | |
'mhparam' '_mh' | |
'mhpath' '_mh' | |
'mhshow' '_mh' | |
'mhstore' '_mh' | |
'middleman' '_middleman' | |
'mii-tool' '_mii-tool' | |
'mina' '_mina' | |
'mistral' '_openstack' | |
'mix' '_mix' | |
'mkdir' '_mkdir' | |
'mkfifo' '_mkfifo' | |
'mkinitcpio' '_mkinitcpio' | |
'mkisofs' '_growisofs' | |
'mknod' '_mknod' | |
'mksh' '_sh' | |
'mktemp' '_mktemp' | |
'mktunes' '_gnupod' | |
'mktunes.pl' '_gnupod' | |
'mlabel' '_mtools' | |
'mlocate' '_locate' | |
'mmd' '_mtools' | |
'mmm' '_webbrowser' | |
'mmount' '_mtools' | |
'mmove' '_mtools' | |
'modinfo' '_modutils' | |
'modprobe' '_modutils' | |
'module' '_module' | |
'mogrify' '_imagemagick' | |
'monasca' '_openstack' | |
'mondoarchive' '_mondo' | |
'montage' '_imagemagick' | |
'moosic' '_moosic' | |
'Mosaic' '_webbrowser' | |
'mosh' '_mosh' | |
'mount' '_mount' | |
'mozilla' '_mozilla' | |
'mozilla-firefox' '_mozilla' | |
'mozilla-xremote-client' '_mozilla' | |
'mpc' '_mpc' | |
'mplayer' '_mplayer' | |
'mpstat' '_sysstat' | |
'mr' '_myrepos' | |
'mrd' '_mtools' | |
'mread' '_mtools' | |
'mren' '_mtools' | |
'msgchk' '_mh' | |
'mssh' '_mssh' | |
'mt' '_mt' | |
'mtn' '_monotone' | |
'mtoolstest' '_mtools' | |
'mtr' '_mtr' | |
'mtype' '_mtools' | |
'munchlist' '_ispell' | |
'mupdf' '_mupdf' | |
'murano' '_openstack' | |
'mush' '_mail' | |
'mussh' '_mussh' | |
'mutt' '_mutt' | |
'mux' '_tmuxinator' | |
'mv' '_mv' | |
'mvim' '_vim' | |
'mvn' '_mvn' | |
'mvnDebug' '_mvn' | |
'mx' '_hosts' | |
'mysql' '_mysql_utils' | |
'mysqladmin' '_mysql_utils' | |
'mysqldiff' '_mysqldiff' | |
'mysqldump' '_mysql_utils' | |
'mysqlimport' '_mysql_utils' | |
'mysqlshow' '_mysql_utils' | |
'nail' '_mail' | |
'nano' '_nano' | |
'nanoc' '_nanoc' | |
'native2ascii' '_java' | |
'nautilus' '_nautilus' | |
'nawk' '_awk' | |
'nc' '_netcat' | |
'ncal' '_cal' | |
'ncftp' '_ncftp' | |
'ncl' '_nedit' | |
'nedit' '_nedit' | |
'nedit-nc' '_nedit' | |
'netcat' '_netcat' | |
'netrik' '_webbrowser' | |
'netscape' '_netscape' | |
'netstat' '_netstat' | |
'networkctl' '_networkctl' | |
'neutron' '_openstack' | |
'new' '_mh' | |
'newgrp' '_groups' | |
'next' '_mh' | |
'nft' '_nftables' | |
'nginx' '_nginx' | |
'ngrep' '_ngrep' | |
'nice' '_nice' | |
'ninja' '_ninja' | |
'nkf' '_nkf' | |
'nl' '_nl' | |
'nm' '_nm' | |
'nmap' '_nmap' | |
'nmblookup' '_samba' | |
'nmcli' '_networkmanager' | |
'nocorrect' '_precommand' | |
'node' '_node' | |
'noglob' '_precommand' | |
'nohup' '_precommand' | |
'nova' '_openstack' | |
'npm' '_npm' | |
'ns' '_hosts' | |
'nslookup' '_nslookup' | |
'ntalk' '_other_accounts' | |
'numfmt' '_numfmt' | |
'nvim' '_vim' | |
'nvm' '_nvm' | |
'objdump' '_objdump' | |
'od' '_od' | |
'ogg123' '_vorbis' | |
'oggdec' '_vorbis' | |
'oggenc' '_vorbis' | |
'ogginfo' '_vorbis' | |
'oksh' '_sh' | |
'okular' '_okular' | |
'openssl' '_openssl' | |
'openstack' '_openstack' | |
'opera' '_webbrowser' | |
'opera-next' '_webbrowser' | |
'opkg' '_opkg' | |
'optirun' '_optirun' | |
'opusdec' '_opustools' | |
'opusenc' '_opustools' | |
'opusinfo' '_opustools' | |
'p4' '_perforce' | |
'p4d' '_perforce' | |
'pacat' '_pulseaudio' | |
'pack' '_pack' | |
'packf' '_mh' | |
'pacman' '_pacman' | |
'pacman-conf' '_pacman' | |
'pacman-key' '_pacman' | |
'pacman.static' '_pacman' | |
'pacmd' '_pulseaudio' | |
'pactl' '_pulseaudio' | |
'padsp' '_pulseaudio' | |
'pandoc' '_pandoc' | |
'paplay' '_pulseaudio' | |
'-parameter-' '_parameter' | |
'parec' '_pulseaudio' | |
'parecord' '_pulseaudio' | |
'passwd' '_users' | |
'paste' '_paste' | |
'pasuspender' '_pulseaudio' | |
'patch' '_patch' | |
'patool' '_patool' | |
'pax' '_pax' | |
'pcat' '_pack' | |
'pcred' '_pids' | |
'pdf2dsc' '_pdf' | |
'pdf2ps' '_pdf' | |
'pdffonts' '_pdf' | |
'pdfimages' '_pdf' | |
'pdfinfo' '_pdf' | |
'pdfjadetex' '_tex' | |
'pdflatex' '_tex' | |
'pdfopt' '_pdf' | |
'pdftex' '_tex' | |
'pdftexi2dvi' '_texinfo' | |
'pdftk' '_pdftk' | |
'pdftopbm' '_pdf' | |
'pdftops' '_pdf' | |
'pdftotext' '_pdf' | |
'pdksh' '_sh' | |
'perf' '_perf' | |
'periscope' '_periscope' | |
'perl' '_perl' | |
'perldoc' '_perldoc' | |
'pfiles' '_pids' | |
'pflags' '_pids' | |
'pg_config' '_postgresql' | |
'pg_ctl' '_postgresql' | |
'pg_dump' '_pgsql_utils' | |
'pg_dumpall' '_pgsql_utils' | |
'pg_isready' '_postgresql' | |
'pgrep' '_pgrep' | |
'pg_restore' '_pgsql_utils' | |
'pg_upgrade' '_postgresql' | |
'phing' '_phing' | |
'php' '_php' | |
'pick' '_mh' | |
'picocom' '_picocom' | |
'pidof' '_pidof' | |
'pidstat' '_sysstat' | |
'pigz' '_gzip' | |
'pine' '_pine' | |
'pinef' '_pine' | |
'pinfo' '_texinfo' | |
'ping' '_ping' | |
'ping6' '_ping' | |
'pixz' '_pixz' | |
'pkcon' '_pkcon' | |
'pkgadd' '_pkgadd' | |
'pkg-config' '_pkg-config' | |
'pkginfo' '_pkginfo' | |
'pkgrm' '_pkgrm' | |
'pkill' '_pgrep' | |
'play' '_play' | |
'pldd' '_pids' | |
'pm2' '_pm2' | |
'pmake' '_make' | |
'pman' '_perl_modules' | |
'pmap' '_pmap' | |
'pmcat' '_perl_modules' | |
'pmdesc' '_perl_modules' | |
'pmeth' '_perl_modules' | |
'pmexp' '_perl_modules' | |
'pmfunc' '_perl_modules' | |
'pmload' '_perl_modules' | |
'pmls' '_perl_modules' | |
'pmpath' '_perl_modules' | |
'pmvers' '_perl_modules' | |
'podgrep' '_perl_modules' | |
'podpath' '_perl_modules' | |
'podtoc' '_perl_modules' | |
'poff' '_pon' | |
'policytool' '_java' | |
'polybar' '_polybar' | |
'polybar-msg' '_polybar_msg' | |
'pon' '_pon' | |
'popd' '_directory_stack' | |
'port' '_port' | |
'postconf' '_postfix' | |
'postgres' '_postgresql' | |
'postmaster' '_postgresql' | |
'postqueue' '_postfix' | |
'postsuper' '_postfix' | |
'prev' '_mh' | |
'print' '_print' | |
'printenv' '_printenv' | |
'printf' '_print' | |
'prompt' '_prompt' | |
'protoc' '_protoc' | |
'prove' '_prove' | |
'prs' '_sccs' | |
'prt' '_sccs' | |
'prun' '_pids' | |
'ps' '_ps' | |
'ps2ascii' '_pspdf' | |
'ps2epsi' '_postscript' | |
'ps2pdf' '_postscript' | |
'ps2pdf12' '_postscript' | |
'ps2pdf13' '_postscript' | |
'ps2pdf14' '_postscript' | |
'ps2pdfwr' '_postscript' | |
'ps2ps' '_postscript' | |
'psbook' '_psutils' | |
'psed' '_sed' | |
'psig' '_pids' | |
'psmerge' '_psutils' | |
'psmulti' '_postscript' | |
'psnup' '_psutils' | |
'psql' '_pgsql_utils' | |
'psresize' '_psutils' | |
'psselect' '_psutils' | |
'pstack' '_pids' | |
'pstoedit' '_pspdf' | |
'pstop' '_pids' | |
'pstops' '_psutils' | |
'pstotgif' '_pspdf' | |
'pswrap' '_postscript' | |
'pulseaudio' '_pulseaudio' | |
'pump' '_pump' | |
'pushd' '_cd' | |
'pv' '_pv' | |
'pwait' '_pids' | |
'pwdx' '_pids' | |
'pwgen' '_pwgen' | |
'pygmentize' '_pygmentize' | |
'pyhtmlizer' '_twisted' | |
'qdbus' '_qdbus' | |
'qiv' '_qiv' | |
'qpdf' '_qpdf' | |
'quilt' '_quilt' | |
'r' '_fc' | |
'rails' '_rails' | |
'rake' '_rake' | |
'ralio' '_ralio' | |
'ranlib' '_ranlib' | |
'rar' '_rar' | |
'rc' '_sh' | |
'rclone' '_rclone' | |
'rcp' '_rlogin' | |
'rcs' '_rcs' | |
'rcsdiff' '_rcs' | |
'rdesktop' '_rdesktop' | |
'read' '_read' | |
'readelf' '_readelf' | |
'readlink' '_readlink' | |
'readonly' '_typeset' | |
'rec' '_redis-cli' | |
'-redirect-' '_redirect' | |
'-redirect-,<,bunzip2' '_bzip2' | |
'-redirect-,<,bzip2' '_bzip2' | |
'-redirect-,>,bzip2' '_bzip2' | |
'-redirect-,<,compress' '_compress' | |
'-redirect-,>,compress' '_compress' | |
'-redirect-,-default-,-default-' '_files' | |
'-redirect-,<,gunzip' '_gzip' | |
'-redirect-,<,gzip' '_gzip' | |
'-redirect-,>,gzip' '_gzip' | |
'-redirect-,<,uncompress' '_compress' | |
'-redirect-,<,unxz' '_xz' | |
'-redirect-,<,xz' '_xz' | |
'-redirect-,>,xz' '_xz' | |
'redis-cli' '_redis-cli' | |
'refile' '_mh' | |
'rehash' '_hash' | |
'reindexdb' '_postgresql' | |
'reload' '_initctl' | |
'remsh' '_rlogin' | |
'renice' '_renice' | |
'repl' '_mh' | |
'resolvectl' '_resolvectl' | |
'restart' '_initctl' | |
'retawq' '_webbrowser' | |
'rfkill' '_rfkill' | |
'rg' '_rg' | |
'rgview' '_vim' | |
'rgvim' '_vim' | |
'ri' '_ri' | |
'rkt' '_rkt' | |
'rlogin' '_rlogin' | |
'rm' '_rm' | |
'rmd160' '_cksum' | |
'rmdel' '_sccs' | |
'rmdir' '_rmdir' | |
'rmf' '_mh' | |
'rmic' '_java' | |
'rmid' '_java' | |
'rmiregistry' '_java' | |
'rmm' '_mh' | |
'rmmod' '_modutils' | |
'route' '_route' | |
'rrdtool' '_rrdtool' | |
'rsh' '_rlogin' | |
'rslsync' '_rslsync' | |
'rspec' '_rspec' | |
'rsvm' '_rsvm' | |
'rsync' '_rsync' | |
'rtin' '_tin' | |
'rubber' '_rubber' | |
'rubber-info' '_rubber' | |
'rubber-pipe' '_rubber' | |
'rubocop' '_rubocop' | |
'ruby' '_ruby' | |
'ruby-mri' '_ruby' | |
'run-help' '_run-help' | |
'rup' '_hosts' | |
'rusage' '_precommand' | |
'rview' '_vim' | |
'rvim' '_vim' | |
'rwho' '_hosts' | |
'rxvt' '_urxvt' | |
's2p' '_sed' | |
'sact' '_sccs' | |
'sadf' '_sysstat' | |
'sahara' '_openstack' | |
'sar' '_sysstat' | |
'sbt' '_sbt' | |
'scala' '_scala' | |
'scalac' '_scala' | |
'scan' '_mh' | |
'sccs' '_sccs' | |
'sccsdiff' '_sccs' | |
'sched' '_sched' | |
'schedtool' '_schedtool' | |
'scons' '_scons' | |
'scp' '_ssh' | |
'screen' '_screen' | |
'script' '_script' | |
'scriptreplay' '_script' | |
'scrub' '_scrub' | |
'sdd' '_sdd' | |
'seaf-cli' '_seafile' | |
'sed' '_sed' | |
'senlin' '_openstack' | |
'seq' '_seq' | |
'serialver' '_java' | |
'service' '_service' | |
'set' '_set' | |
'setcap' '_setcap' | |
'setfacl' '_setfacl' | |
'setfacl.exe' '_setfacl' | |
'setfattr' '_attr' | |
'setopt' '_setopt' | |
'setsid' '_setsid' | |
'setup.py' '_setup.py' | |
'setxkbmap' '_setxkbmap' | |
'sfdx' '_sfdx' | |
'sftp' '_ssh' | |
'sh' '_sh' | |
'sha1' '_cksum' | |
'sha1sum' '_md5sum' | |
'sha224sum' '_md5sum' | |
'sha256' '_cksum' | |
'sha256sum' '_md5sum' | |
'sha384' '_cksum' | |
'sha384sum' '_md5sum' | |
'sha512' '_cksum' | |
'sha512sum' '_md5sum' | |
'sha512t256' '_cksum' | |
'shasum' '_shasum' | |
'shellcheck' '_shellcheck' | |
'shift' '_arrays' | |
'show' '_mh' | |
'showchar' '_psutils' | |
'showmount' '_showmount' | |
'showoff' '_showoff' | |
'shred' '_shred' | |
'shuf' '_shuf' | |
'shutdown' '_shutdown' | |
'sisu' '_sisu' | |
'skein1024' '_cksum' | |
'skein256' '_cksum' | |
'skein512' '_cksum' | |
'skipstone' '_webbrowser' | |
'slabtop' '_slabtop' | |
'slitex' '_tex' | |
'slocate' '_locate' | |
'slogin' '_ssh' | |
'slrn' '_slrn' | |
'smartctl' '_smartmontools' | |
'smbclient' '_samba' | |
'smbcontrol' '_samba' | |
'smbstatus' '_samba' | |
'soa' '_hosts' | |
'socket' '_socket' | |
'sort' '_sort' | |
'sortm' '_mh' | |
'source' '_source' | |
'spamassassin' '_spamassassin' | |
'split' '_split' | |
'splitdiff' '_patchutils' | |
'sqlite' '_sqlite' | |
'sqlite3' '_sqlite' | |
'sqsh' '_sqsh' | |
'sr' '_surfraw' | |
'srm' '_srm' | |
'srptool' '_gnutls' | |
'ss' '_ss' | |
'ssh' '_ssh' | |
'ssh-add' '_ssh' | |
'ssh-agent' '_ssh' | |
'ssh-copy-id' '_ssh' | |
'sshfs' '_sshfs' | |
'ssh-keygen' '_ssh' | |
'ssh-keyscan' '_ssh' | |
'stack' '_stack' | |
'star' '_tar' | |
'start' '_initctl' | |
'stat' '_stat' | |
'status' '_initctl' | |
'stdbuf' '_stdbuf' | |
'stg' '_stgit' | |
'stop' '_initctl' | |
'stow' '_stow' | |
'strace' '_strace' | |
'strace64' '_strace' | |
'strftime' '_strftime' | |
'strings' '_strings' | |
'strip' '_strip' | |
'strongswan' '_ipsec' | |
'stty' '_stty' | |
'su' '_su' | |
'subl' '_subl' | |
'subliminal' '_subliminal' | |
'-subscript-' '_subscript' | |
'sudo' '_sudo' | |
'sudoedit' '_sudo' | |
'sum' '_cksum' | |
'supervisorctl' '_supervisorctl' | |
'surfraw' '_surfraw' | |
'sv' '_runit' | |
'svm' '_svm' | |
'svn' '_subversion' | |
'svnadmin' '_subversion' | |
'svnadmin-static' '_subversion' | |
'svnlite' '_subversion' | |
'swaks' '_swaks' | |
'swanctl' '_swanctl' | |
'swift' '_swift' | |
'swiftc' '_swift' | |
'sync' '_nothing' | |
'sysctl' '_sysctl' | |
'systemctl' '_systemctl' | |
'systemd-analyze' '_systemd-analyze' | |
'systemd-ask-password' '_systemd' | |
'systemd-cat' '_systemd' | |
'systemd-cgls' '_systemd' | |
'systemd-cgtop' '_systemd' | |
'systemd-delta' '_systemd-delta' | |
'systemd-detect-virt' '_systemd' | |
'systemd-inhibit' '_systemd-inhibit' | |
'systemd-machine-id-setup' '_systemd' | |
'systemd-notify' '_systemd' | |
'systemd-nspawn' '_systemd-nspawn' | |
'systemd-path' '_systemd-path' | |
'systemd-resolve' '_resolvectl' | |
'systemd-run' '_systemd-run' | |
'systemd-tmpfiles' '_systemd-tmpfiles' | |
'systemd-tty-ask-password-agent' '_systemd' | |
'tac' '_tac' | |
'tacker' '_openstack' | |
'tail' '_tail' | |
'talk' '_other_accounts' | |
'tar' '_tar' | |
'tardy' '_tardy' | |
'tarsnap' '_tarsnap' | |
'tcpdump' '_tcpdump' | |
'tcp_open' '_tcpsys' | |
'tcptraceroute' '_tcptraceroute' | |
'tcsh' '_sh' | |
'tda' '_devtodo' | |
'tdd' '_devtodo' | |
'tde' '_devtodo' | |
'tdr' '_devtodo' | |
'teamocil' '_teamocil' | |
'tee' '_tee' | |
'telnet' '_telnet' | |
'tex' '_tex' | |
'texi2any' '_texinfo' | |
'texi2dvi' '_texinfo' | |
'texi2pdf' '_texinfo' | |
'texindex' '_texinfo' | |
'tg' '_topgit' | |
'thor' '_thor' | |
'tidy' '_tidy' | |
'tig' '_git' | |
'-tilde-' '_tilde' | |
'time' '_precommand' | |
'timedatectl' '_timedatectl' | |
'timeout' '_timeout' | |
'times' '_nothing' | |
'tin' '_tin' | |
'tkconch' '_twisted' | |
'tkinfo' '_texinfo' | |
'tla' '_tla' | |
'tload' '_tload' | |
'tmux' '_tmux' | |
'tmuxinator' '_tmuxinator' | |
'tmuxp' '_tmuxp' | |
'todo' '_devtodo' | |
'todo.sh' '_todo.sh' | |
'toilet' '_toilet' | |
'top' '_top' | |
'totdconfig' '_totd' | |
'touch' '_touch' | |
'tox' '_tox' | |
'tpb' '_tpb' | |
'tput' '_tput' | |
'tr' '_tr' | |
'tracepath' '_tracepath' | |
'tracepath6' '_tracepath' | |
'traceroute' '_hosts' | |
'transmission-remote' '_transmission' | |
'trap' '_trap' | |
'trash' '_trash-put' | |
'trash-empty' '_trash-empty' | |
'trash-list' '_trash-list' | |
'trash-put' '_trash-put' | |
'trash-restore' '_trash-restore' | |
'tree' '_tree' | |
'trial' '_twisted' | |
'trove' '_openstack' | |
'true' '_nothing' | |
'truss' '_truss' | |
'tryaffix' '_ispell' | |
'tty' '_tty' | |
'ttyctl' '_ttyctl' | |
'tunctl' '_uml' | |
'tune2fs' '_tune2fs' | |
'tunes2pod' '_gnupod' | |
'tunes2pod.pl' '_gnupod' | |
'twidge' '_twidge' | |
'twist' '_twisted' | |
'twistd' '_twisted' | |
'txt' '_hosts' | |
'type' '_which' | |
'typeset' '_typeset' | |
'udevadm' '_udevadm' | |
'udisksctl' '_udisksctl' | |
'ufw' '_ufw' | |
'ulimit' '_ulimit' | |
'uml_mconsole' '_uml' | |
'uml_moo' '_uml' | |
'uml_switch' '_uml' | |
'umount' '_mount' | |
'unace' '_unace' | |
'unalias' '_aliases' | |
'uname' '_uname' | |
'uncompress' '_compress' | |
'unexpand' '_unexpand' | |
'unfunction' '_functions' | |
'unget' '_sccs' | |
'unhash' '_unhash' | |
'uniq' '_uniq' | |
'unison' '_unison' | |
'units' '_units' | |
'unix2dos' '_dos2unix' | |
'unix2mac' '_dos2unix' | |
'unlimit' '_limits' | |
'unlz4' '_lz4' | |
'unlzma' '_xz' | |
'unpack' '_pack' | |
'unpigz' '_gzip' | |
'unrar' '_rar' | |
'unset' '_vars' | |
'unsetopt' '_setopt' | |
'unwrapdiff' '_patchutils' | |
'unxz' '_xz' | |
'unzip' '_zip' | |
'uptime' '_uptime' | |
'urxvt' '_urxvt' | |
'urxvt256c' '_urxvt' | |
'urxvt256cc' '_urxvt' | |
'urxvt256c-ml' '_urxvt' | |
'urxvt256c-mlc' '_urxvt' | |
'urxvtc' '_urxvt' | |
'useradd' '_user_admin' | |
'userdel' '_users' | |
'usermod' '_user_admin' | |
'vacuumdb' '_pgsql_utils' | |
'vagrant' '_vagrant' | |
'val' '_sccs' | |
'valgrind' '_valgrind' | |
'-value-' '_value' | |
'-value-,ADB_TRACE,-default-' '_adb' | |
'-value-,ANDROID_LOG_TAGS,-default-' '_adb' | |
'-value-,ANDROID_SERIAL,-default-' '_adb' | |
'-value-,ANSIBLE_STDOUT_CALLBACK,-default-' '_ansible' | |
'-value-,ANT_ARGS,-default-' '_ant' | |
'-value-,CFLAGS,-default-' '_gcc' | |
'-value-,CMAKE_GENERATOR,-default-' '_cmake' | |
'-value-,CPPFLAGS,-default-' '_gcc' | |
'-value-,CXXFLAGS,-default-' '_gcc' | |
'-value-,-default-,-command-' '_zargs' | |
'-value-,-default-,-default-' '_value' | |
'-value-,DISPLAY,-default-' '_x_display' | |
'-value-,GREP_OPTIONS,-default-' '_grep' | |
'-value-,GZIP,-default-' '_gzip' | |
'-value-,LANG,-default-' '_locales' | |
'-value-,LANGUAGE,-default-' '_locales' | |
'-value-,LD_DEBUG,-default-' '_ld_debug' | |
'-value-,LDFLAGS,-default-' '_gcc' | |
'-value-,LESSCHARSET,-default-' '_less' | |
'-value-,LESS,-default-' '_less' | |
'-value-,LOOPDEV_DEBUG,-default-' '_losetup' | |
'-value-,LPDEST,-default-' '_printers' | |
'-value-,MPD_HOST,-default' '_mpc' | |
'-value-,P4CLIENT,-default-' '_perforce' | |
'-value-,P4MERGE,-default-' '_perforce' | |
'-value-,P4PORT,-default-' '_perforce' | |
'-value-,P4USER,-default-' '_perforce' | |
'-value-,PERLDOC,-default-' '_perldoc' | |
'-value-,PRINTER,-default-' '_printers' | |
'-value-,PROMPT2,-default-' '_ps1234' | |
'-value-,PROMPT3,-default-' '_ps1234' | |
'-value-,PROMPT4,-default-' '_ps1234' | |
'-value-,PROMPT,-default-' '_ps1234' | |
'-value-,PS1,-default-' '_ps1234' | |
'-value-,PS2,-default-' '_ps1234' | |
'-value-,PS3,-default-' '_ps1234' | |
'-value-,PS4,-default-' '_ps1234' | |
'-value-,RPROMPT2,-default-' '_ps1234' | |
'-value-,RPROMPT,-default-' '_ps1234' | |
'-value-,RPS1,-default-' '_ps1234' | |
'-value-,RPS2,-default-' '_ps1234' | |
'-value-,SPROMPT,-default-' '_ps1234' | |
'-value-,TERM,-default-' '_terminals' | |
'-value-,TERMINFO_DIRS,-default-' '_dir_list' | |
'-value-,TZ,-default-' '_time_zone' | |
'-value-,VALGRIND_OPTS,-default-' '_valgrind' | |
'-value-,WWW_HOME,-default-' '_urls' | |
'-value-,XML_CATALOG_FILES,-default-' '_xmlsoft' | |
'-value-,XZ_DEFAULTS,-default-' '_xz' | |
'-value-,XZ_OPT,-default-' '_xz' | |
'-vared-' '_in_vared' | |
'vared' '_vared' | |
'VBoxHeadless' '_virtualbox' | |
'VBoxManage' '_virtualbox' | |
'vcsh' '_vcsh' | |
'vim' '_vim' | |
'vimdiff' '_vim' | |
'virsh' '_libvirt' | |
'virt-admin' '_libvirt' | |
'virt-host-validate' '_libvirt' | |
'virt-pki-validate' '_libvirt' | |
'virt-xml-validate' '_libvirt' | |
'visudo' '_visudo' | |
'vitrage' '_openstack' | |
'vmstat' '_vmstat' | |
'vncserver' '_vnc' | |
'vncviewer' '_vnc' | |
'vnstat' '_vnstat' | |
'vorbiscomment' '_vorbis' | |
'vpnc' '_vpnc' | |
'vpnc-connect' '_vpnc' | |
'vserver' '_vserver' | |
'w' '_w' | |
'w3m' '_w3m' | |
'wait' '_wait' | |
'watch' '_watch' | |
'watcher' '_openstack' | |
'wc' '_wc' | |
'wemux' '_wemux' | |
'wget' '_wget' | |
'wg-quick' '_wg-quick' | |
'what' '_sccs' | |
'whatis' '_man' | |
'whence' '_which' | |
'where' '_which' | |
'whereis' '_whereis' | |
'which' '_which' | |
'who' '_who' | |
'whoami' '_nothing' | |
'whois' '_whois' | |
'whom' '_mh' | |
'wiggle' '_wiggle' | |
'wipefs' '_wipefs' | |
'wodim' '_cdrecord' | |
'wpa_cli' '_wpa_cli' | |
'write' '_users_on' | |
'www' '_webbrowser' | |
'xargs' '_xargs' | |
'xattr' '_attr' | |
'xauth' '_xauth' | |
'xautolock' '_xautolock' | |
'xclip' '_xclip' | |
'xdpyinfo' '_x_utils' | |
'xdvi' '_xdvi' | |
'xelatex' '_tex' | |
'xetex' '_tex' | |
'xev' '_x_utils' | |
'xfd' '_x_utils' | |
'xfig' '_xfig' | |
'xfontsel' '_x_utils' | |
'xfreerdp' '_rdesktop' | |
'xhost' '_x_utils' | |
'xinput' '_xinput' | |
'xkill' '_x_utils' | |
'xli' '_xloadimage' | |
'xloadimage' '_xloadimage' | |
'xlsatoms' '_x_utils' | |
'xlsclients' '_x_utils' | |
'xml' '_xmlstarlet' | |
'xmllint' '_xmlsoft' | |
'xmlstarlet' '_xmlstarlet' | |
'xmms2' '_xmms2' | |
'xmodmap' '_xmodmap' | |
'xmosaic' '_webbrowser' | |
'xon' '_x_utils' | |
'xournal' '_xournal' | |
'xpdf' '_xpdf' | |
'xping' '_hosts' | |
'xprop' '_x_utils' | |
'xrandr' '_xrandr' | |
'xrdb' '_x_utils' | |
'xscreensaver-command' '_xscreensaver' | |
'xsel' '_xsel' | |
'xset' '_xset' | |
'xsetbg' '_xloadimage' | |
'xsetroot' '_x_utils' | |
'xsltproc' '_xmlsoft' | |
'xterm' '_xterm' | |
'xtightvncviewer' '_vnc' | |
'xtp' '_imagemagick' | |
'xv' '_xv' | |
'xview' '_xloadimage' | |
'xvnc4viewer' '_vnc' | |
'xvncviewer' '_vnc' | |
'xwd' '_x_utils' | |
'xwininfo' '_x_utils' | |
'xwit' '_xwit' | |
'xwud' '_x_utils' | |
'xxd' '_xxd' | |
'xz' '_xz' | |
'xzcat' '_xz' | |
'yafc' '_yafc' | |
'yaourt' '_yaourt' | |
'yaourt.static' '_yaourt' | |
'yarn' '_yarn' | |
'yash' '_sh' | |
'yay' '_yay' | |
'ypbind' '_yp' | |
'ypcat' '_yp' | |
'ypmatch' '_yp' | |
'yppasswd' '_yp' | |
'yppoll' '_yp' | |
'yppush' '_yp' | |
'ypserv' '_yp' | |
'ypset' '_yp' | |
'ypwhich' '_yp' | |
'ypxfr' '_yp' | |
'ytalk' '_other_accounts' | |
'zargs' '_zargs' | |
'zcalc' '_zcalc' | |
'-zcalc-line-' '_zcalc_line' | |
'zcash-cli' '_zcash-cli' | |
'zcat' '_zcat' | |
'zcompile' '_zcompile' | |
'zcp' '_zmv' | |
'zdelattr' '_zattr' | |
'zdump' '_zdump' | |
'zeal' '_zeal' | |
'zed' '_zed' | |
'zegrep' '_grep' | |
'zen' '_webbrowser' | |
'zf_chgrp' '_chown' | |
'zf_chmod' '_chmod' | |
'zf_chown' '_chown' | |
'zfgrep' '_grep' | |
'zf_ln' '_ln' | |
'zf_mkdir' '_mkdir' | |
'zf_mv' '_mv' | |
'zf_rm' '_rm' | |
'zf_rmdir' '_rmdir' | |
'zfs' '_zfs' | |
'zgetattr' '_zattr' | |
'zgrep' '_grep' | |
'zip' '_zip' | |
'zipinfo' '_zip' | |
'zle' '_zle' | |
'zlistattr' '_zattr' | |
'zln' '_zmv' | |
'zmail' '_mail' | |
'zmodload' '_zmodload' | |
'zmv' '_zmv' | |
'zone' '_hosts' | |
'zparseopts' '_zparseopts' | |
'zpool' '_zpool' | |
'zpty' '_zpty' | |
'zsetattr' '_zattr' | |
'zsh' '_zsh' | |
'zsh-mime-handler' '_zsh-mime-handler' | |
'zsocket' '_zsocket' | |
'zstat' '_stat' | |
'zstyle' '_zstyle' | |
'ztodo' '_ztodo' | |
'zun' '_openstack' | |
'zxpdf' '_xpdf' | |
) | |
+/home/h/.zcompdump-ckr-5.8:3> _comps=( - _precommand . _source 5g _go 5l _go 6g _go 6l _go 8g _go 8l _go a2ps _a2ps aaaa _hosts aap _aap abcde _abcde ack _ack ack2 _ack ack-grep _ack ack-standalone _ack acpi _acpi acpitool _acpitool acroread _acroread adb _adb add-zle-hook-widget _add-zle-hook-widget add-zsh-hook _add-zsh-hook admin _sccs afew _afew alacritty _alacritty ali _mh alias _alias amaya _webbrowser analyseplugin _analyseplugin android _android animate _imagemagick anno _mh ansible _ansible ansible-config _ansible ansible-console _ansible ansible-doc _ansible ansible-galaxy _ansible ansible-inventory _ansible ansible-playbook _ansible ansible-pull _ansible ansible-vault _ansible ant _ant antiword _antiword aodh _openstack aoss _precommand apache2ctl _apachectl apachectl _apachectl aplay _alsa-utils apm _apm appletviewer _java apropos _man apvlv _pdf archlinux-java _archlinux-java arecord _alsa-utils arena _webbrowser arp _arp arping _arping -array-value- _value artisan _artisan asciidoctor _asciidoctor asciinema _asciinema ash _sh -assign-parameter- _assign at _at atach _atach atq _at atrm _at attr _attr augtool _augeas autoload _typeset avahi-browse _avahi avahi-browse-domains _avahi avahi-resolve _avahi avahi-resolve-address _avahi avahi-resolve-host-name _avahi awk _awk b2sum _md5sum barbican _openstack base32 _base64 base64 _base64 basename _basename bash _bash batch _at baz _baz beep _beep bg _jobs_bg bibtex _bibtex bindkey _bindkey bison _bison bitcoin-cli _bitcoin-cli bmake _make bogofilter _bogofilter bogotune _bogofilter bogoutil _bogofilter bootctl _bootctl bower _bower bpython _bpython bpython2 _bpython bpython2-gtk _bpython bpython2-urwid _bpython bpython3 _bpython bpython3-gtk _bpython bpython3-urwid _bpython bpython-gtk _bpython bpython-urwid _bpython -brace-parameter- _brace_parameter brctl _brctl bsdgrep _grep bsdtar _tar btdownloadcurses _bittorrent btdownloadgui _bittorrent btdownloadheadless _bittorrent btlaunchmany _bittorrent btlaunchmanycurses _bittorrent btmakemetafile _bittorrent btreannounce _bittorrent btrename _bittorrent btrfs _btrfs btshowmetainfo _bittorrent bttrack _bittorrent buildhash _ispell builtin _builtin bundle _bundle bunzip2 _bzip2 burst _mh busctl _busctl bzcat _bzip2 bzegrep _grep bzfgrep _grep bzgrep _grep bzip2 _bzip2 bzip2recover _bzip2 bzr _bzr c++ _gcc cabal _cabal caffeinate _caffeinate cal _cal calendar _calendar cap _cap cask _cask cat _cat catchsegv _precommand cc _gcc ccache _ccache ccal _ccal cd _cd cdc _sccs cdcd _cdcd cdr _cdr cdrdao _cdrdao cdrecord _cdrecord ceilometer _openstack certtool _gnutls cf _cf cftp _twisted chage _users chattr _chattr chcon _chcon chdir _cd cheat _cheat chfn _users chgrp _chown chimera _webbrowser chkconfig _chkconfig chkstow _stow chmod _chmod choc _choc chown _chown chpass _chsh chromium _chromium chroot _chroot chrt _chrt chsh _chsh ci _rcs cifsiostat _sysstat cinder _openstack ckeygen _twisted cksum _cksum clang _gcc clang++ _gcc clay _clay clear _nothing cloudkitty _openstack clusterdb _postgresql cmake _cmake cmp _cmp co _rcs code _code code-oss _code-oss coffee _coffee column _column comb _sccs combine _imagemagick combinediff _patchutils comm _comm -command- _autocd command _command -command-line- _normal comp _mh compadd _compadd compdef _compdef composer _composer composite _imagemagick compress _compress conan _conan conch _twisted concourse _concourse -condition- _condition config.status _configure configure _configure console _console convert _imagemagick coredumpctl _coredumpctl cowsay _cowsay cowthink _cowsay cp _cp cpio _cpio cplay _cplay cppcheck _cppcheck cpupower _cpupower createdb _pgsql_utils createuser _pgsql_utils crontab _crontab crsh _cssh cryptsetup _cryptsetup cscope _cscope csh _sh cssh _cssh curl _curl cut _cut cvs _cvs dad _dad darcs _darcs dash _sh date _date dbus-launch _dbus dbus-monitor _dbus dbus-send _dbus dconf _dconf dcop _dcop dcopclient _dcop dcopfind _dcop dcopobject _dcop dcopref _dcop dcopstart _dcop dd _dd debuild _debuild declare _typeset -default- _default delta _sccs designate _openstack devtodo _devtodo df _df dget _dget dhclient _dhclient dhclient3 _dhclient dhcpcd _dhcpcd diana _diana dict _dict diff _diff diff3 _diff3 diffstat _diffstat dig _dig dillo _webbrowser dircmp _directories dirs _dirs disable _disable disown _jobs_fg display _imagemagick dist _mh django-admin _django django-admin.py _django dkms _dkms dmake _make dmesg _dmesg dmidecode _dmidecode doas _doas docker _docker dockerd _docker docpad _docpad domainname _yp dos2unix _dos2unix drill _drill dropdb _pgsql_utils dropuser _pgsql_utils drush _drush dsh _dsh dtruss _dtruss du _du dvibook _dvi dviconcat _dvi dvicopy _dvi dvidvi _dvi dvipdf _dvi dvips _dvi dviselect _dvi dvitodvi _dvi dvitype _dvi dwb _webbrowser e2label _e2label eatmydata _precommand ecasound _ecasound ecdsautil _ecdsautil echotc _echotc echoti _echoti ed _ed egrep _grep elfdump _elfdump elinks _elinks emulate _emulate emulator _emulator enable _enable enscript _enscript entr _entr env _env envdir _envdir eog _eog epdfview _pdf epsffit _psutils -equal- _equal erb _ruby espeak _espeak etags _etags ethtool _ethtool eu-nm _nm eu-objdump _objdump eu-readelf _readelf eu-strings _strings eval _precommand eview _vim evim _vim evince _evince exec _exec expand _unexpand export _typeset exportfs _exportfs express _webbrowser extcheck _java extractres _psutils fab _fab fail2ban-client _fail2ban-client fakeroot _fakeroot false _nothing fc _fc fc-list _xft_fonts fc-match _xft_fonts feh _feh fetchmail _fetchmail ffind _ffind ffmpeg _ffmpeg fg _jobs_fg fgrep _grep figlet _figlet filterdiff _patchutils find _find findaffix _ispell findmnt _findmnt finger _finger firefox _mozilla -first- _first fixdlsrps _psutils fixfmps _psutils fixmacps _psutils fixpsditps _psutils fixpspps _psutils fixscribeps _psutils fixtpps _psutils fixwfwps _psutils fixwpps _psutils fixwwps _psutils flac _flac fleetctl _fleetctl flex _flex flex++ _flex flipdiff _patchutils flist _mh flists _mh float _typeset flutter _flutter fly _concourse fmt _fmt fmttest _mh fned _zed fnext _mh fold _fold folder _mh folders _mh force _force fortune _fortune forw _mh fprev _mh free _free freebsd-make _make freezer _openstack fsh _fsh ftp _hosts functions _typeset fuser _fuser fusermount _fusermount fwhois _whois fwupdmgr _fwupdmgr g++ _gcc galeon _webbrowser gas _gas gawk _awk gb2sum _md5sum gbase32 _base64 gbase64 _base64 gbasename _basename gcat _cat gcc _gcc gccgo _go gchgrp _chown gchmod _chmod gchown _chown gchroot _chroot gcksum _cksum gcmp _cmp gcomm _comm gcore _gcore gcp _cp gcut _cut gdate _date gdb _gdb gdd _dd gdf _df gdiff _diff gdu _du geany _geany gegrep _grep gem _gem genisoimage _genisoimage genv _env get _sccs getafm _psutils getconf _getconf getent _getent getfacl _getfacl getfacl.exe _getfacl getfattr _attr getmail _getmail getopt _getopt getopts _vars gex _vim gexpand _unexpand gfgrep _grep gfind _find gfmt _fmt gfold _fold ggetopt _getopt ggrep _grep ggv _gnome-gv ghc _ghc ghci _ghc ghc-pkg _ghc ghead _head ghostscript _ghostscript ghostview _pspdf gid _id ginstall _install gist _gist git _git git-cvsserver _git git-flow _git-flow git-journal _git-journal gitk _git git-pulls _git-pulls git-receive-pack _git git-revise _git-revise git-shell _git git-upload-archive _git git-upload-pack _git git-wtf _git-wtf gjoin _join glance _openstack glances _glances gln _ln global _global glocate _locate gls _ls gm _graphicsmagick gmake _make gmd5sum _md5sum gmkdir _mkdir gmkfifo _mkfifo gmknod _mknod gmktemp _mktemp gmplayer _mplayer gmv _mv gnl _nl gnocchi _openstack gnome-gv _gnome-gv gnumfmt _numfmt gnupod_addsong _gnupod gnupod_addsong.pl _gnupod gnupod_check _gnupod gnupod_check.pl _gnupod gnupod_INIT _gnupod gnupod_INIT.pl _gnupod gnupod_search _gnupod gnupod_search.pl _gnupod gnutls-cli _gnutls gnutls-cli-debug _gnutls gnutls-serv _gnutls go _golang god _od gofmt _go google _google gpasswd _gpasswd gpaste _paste gpatch _patch gpg _gpg gpg2 _gpg gpgconf _gpgconf gpgv _gpg gpg-zip _gpg gphoto2 _gphoto2 gprintenv _printenv gprof _gprof gqview _gqview gradle _gradle gradlew _gradle grail _webbrowser greadlink _readlink grep _grep grepdiff _patchutils grm _rm grmdir _rmdir groff _groff groupadd _user_admin groupdel _groups groupmod _user_admin groups _users growisofs _growisofs gs _ghostscript gsbj _pspdf gsdj _pspdf gsdj500 _pspdf gsed _sed gseq _seq gsettings _gsettings gsha1sum _md5sum gsha224sum _md5sum gsha256sum _md5sum gsha384sum _md5sum gsha512sum _md5sum gshred _shred gshuf _shuf gslj _pspdf gslp _pspdf gsnd _pspdf gsort _sort gsplit _split gstat _stat gstdbuf _stdbuf gstrings _strings gstty _stty gsum _cksum gtac _tac gtail _tail gtar _tar gtee _tee gtimeout _timeout gtk-launch _gtk-launch gtouch _touch gtr _tr gtty _tty guilt _guilt guilt-add _guilt guilt-applied _guilt guilt-delete _guilt guilt-files _guilt guilt-fold _guilt guilt-fork _guilt guilt-header _guilt guilt-help _guilt guilt-import _guilt guilt-import-commit _guilt guilt-init _guilt guilt-new _guilt guilt-next _guilt guilt-patchbomb _guilt guilt-pop _guilt guilt-prev _guilt guilt-push _guilt guilt-rebase _guilt guilt-refresh _guilt guilt-rm _guilt guilt-series _guilt guilt-status _guilt guilt-top _guilt guilt-unapplied _guilt guname _uname gunexpand _unexpand guniq _uniq gunzip _gzip guptime _uptime gv _gv gview _vim gvim _vim gvimdiff _vim gwc _wc gwho _who gxargs _xargs gzcat _gzip gzegrep _grep gzfgrep _grep gzgrep _grep gzilla _webbrowser gzip _gzip hash _hash hd _hexdump head _head heat _openstack help _sccs hexdump _hexdump hilite _precommand history _fc hledger _hledger homestead _homestead host _host hostname _hostname hostnamectl _hostnamectl hotjava _webbrowser htop _htop http _httpie ibus _ibus iceweasel _mozilla icombine _ispell iconv _iconv iconvconfig _iconvconfig id _id identify _imagemagick ifconfig _ifconfig ifdown _net_interfaces iftop _iftop ifup _net_interfaces ijoin _ispell import _imagemagick inc _mh includeres _psutils include-what-you-use _include-what-you-use info _texinfo infocmp _terminals initctl _initctl initdb _pgsql_utils insmod _modutils install _install install-info _texinfo integer _typeset interdiff _patchutils inxi _inxi ionice _ionice iostat _iostat ip _ip ip6tables _iptables ip6tables-restore _iptables ip6tables-save _iptables ipkg _opkg ipsec _ipsec ipset _ipset iptables _iptables iptables-restore _iptables iptables-save _iptables irb _ruby ironic _openstack irssi _irssi isag _sysstat ispell _ispell iwconfig _iwconfig jadetex _tex jar _java jarsigner _java java _java javac _java javadoc _java javah _java javap _java jdb _java jmeter _jmeter jmeter-plugins _jmeter-plugins jobs _jobs_builtin joe _joe join _join jonas _jonas journalctl _journalctl jq _jq jrnl _jrnl kak _kak kdeconnect-cli _kdeconnect kernel-install _kernel-install keystone _openstack keytool _java kfmclient _kfmclient kill _kill killall _killall killall5 _killall kioclient _kfmclient kitchen _kitchen knife _knife knock _knock konqueror _webbrowser kpartx _kpartx kpdf _pdf ksh _sh ksh88 _sh ksh93 _sh kvno _kvno last _last lastb _last latex _tex latexmk _tex ldconfig _ldconfig ldconfig.real _ldconfig ldd _ldd less _less let _math lftp _ncftp lha _lha libinput _libinput light _webbrowser lilypond _lilypond limit _limit links _links links2 _links linux _uml lldb _lldb llvm-g++ _gcc llvm-gcc _gcc llvm-objdump _objdump ln _ln loadkeys _loadkeys local _typeset locale _locale localectl _localectl localedef _localedef locate _locate log _nothing loginctl _loginctl logname _nothing look _look losetup _losetup lp _lp lpadmin _lp lpinfo _lp lpoptions _lp lpq _lp lpr _lp lprm _lp lpstat _lp ls _ls lsattr _lsattr lsblk _lsblk lsdiff _patchutils lsinitcpio _mkinitcpio lsmod _modutils lsof _lsof lsusb _lsusb ltrace _ltrace lua _lua luarocks _luarocks luarocks-admin _luarocks-admin lunchy _lunchy lynx _lynx lz4 _lz4 lz4c _lz4 lz4c32 _lz4 lz4cat _lz4 lzcat _xz lzma _xz lzop _lzop mac2unix _dos2unix machinectl _machinectl magnum _openstack mail _mail Mail _mail mailx _mail make _make makeinfo _texinfo makepkg _pacman man _man manage.py _django manila _openstack mark _mh -math- _math matlab _matlab mattrib _mtools mc _mc mcd _mtools mcopy _mtools md2 _cksum md4 _cksum md5 _cksum md5sum _md5sum mdadm _mdadm mdel _mtools mdeltree _mtools mdir _mtools mdu _mtools mencal _mencal mere _mere merge _rcs meson _meson metaflac _flac mformat _mtools mgv _pspdf mhfixmsg _mh mhlist _mh mhmail _mh mhn _mh mhparam _mh mhpath _mh mhshow _mh mhstore _mh middleman _middleman mii-tool _mii-tool mina _mina mistral _openstack mix _mix mkdir _mkdir mkfifo _mkfifo mkinitcpio _mkinitcpio mkisofs _growisofs mknod _mknod mksh _sh mktemp _mktemp mktunes _gnupod mktunes.pl _gnupod mlabel _mtools mlocate _locate mmd _mtools mmm _webbrowser mmount _mtools mmove _mtools modinfo _modutils modprobe _modutils module _module mogrify _imagemagick monasca _openstack mondoarchive _mondo montage _imagemagick moosic _moosic Mosaic _webbrowser mosh _mosh mount _mount mozilla _mozilla mozilla-firefox _mozilla mozilla-xremote-client _mozilla mpc _mpc mplayer _mplayer mpstat _sysstat mr _myrepos mrd _mtools mread _mtools mren _mtools msgchk _mh mssh _mssh mt _mt mtn _monotone mtoolstest _mtools mtr _mtr mtype _mtools munchlist _ispell mupdf _mupdf murano _openstack mush _mail mussh _mussh mutt _mutt mux _tmuxinator mv _mv mvim _vim mvn _mvn mvnDebug _mvn mx _hosts mysql _mysql_utils mysqladmin _mysql_utils mysqldiff _mysqldiff mysqldump _mysql_utils mysqlimport _mysql_utils mysqlshow _mysql_utils nail _mail nano _nano nanoc _nanoc native2ascii _java nautilus _nautilus nawk _awk nc _netcat ncal _cal ncftp _ncftp ncl _nedit nedit _nedit nedit-nc _nedit netcat _netcat netrik _webbrowser netscape _netscape netstat _netstat networkctl _networkctl neutron _openstack new _mh newgrp _groups next _mh nft _nftables nginx _nginx ngrep _ngrep nice _nice ninja _ninja nkf _nkf nl _nl nm _nm nmap _nmap nmblookup _samba nmcli _networkmanager nocorrect _precommand node _node noglob _precommand nohup _precommand nova _openstack npm _npm ns _hosts nslookup _nslookup ntalk _other_accounts numfmt _numfmt nvim _vim nvm _nvm objdump _objdump od _od ogg123 _vorbis oggdec _vorbis oggenc _vorbis ogginfo _vorbis oksh _sh okular _okular openssl _openssl openstack _openstack opera _webbrowser opera-next _webbrowser opkg _opkg optirun _optirun opusdec _opustools opusenc _opustools opusinfo _opustools p4 _perforce p4d _perforce pacat _pulseaudio pack _pack packf _mh pacman _pacman pacman-conf _pacman pacman-key _pacman pacman.static _pacman pacmd _pulseaudio pactl _pulseaudio padsp _pulseaudio pandoc _pandoc paplay _pulseaudio -parameter- _parameter parec _pulseaudio parecord _pulseaudio passwd _users paste _paste pasuspender _pulseaudio patch _patch patool _patool pax _pax pcat _pack pcred _pids pdf2dsc _pdf pdf2ps _pdf pdffonts _pdf pdfimages _pdf pdfinfo _pdf pdfjadetex _tex pdflatex _tex pdfopt _pdf pdftex _tex pdftexi2dvi _texinfo pdftk _pdftk pdftopbm _pdf pdftops _pdf pdftotext _pdf pdksh _sh perf _perf periscope _periscope perl _perl perldoc _perldoc pfiles _pids pflags _pids pg_config _postgresql pg_ctl _postgresql pg_dump _pgsql_utils pg_dumpall _pgsql_utils pg_isready _postgresql pgrep _pgrep pg_restore _pgsql_utils pg_upgrade _postgresql phing _phing php _php pick _mh picocom _picocom pidof _pidof pidstat _sysstat pigz _gzip pine _pine pinef _pine pinfo _texinfo ping _ping ping6 _ping pixz _pixz pkcon _pkcon pkgadd _pkgadd pkg-config _pkg-config pkginfo _pkginfo pkgrm _pkgrm pkill _pgrep play _play pldd _pids pm2 _pm2 pmake _make pman _perl_modules pmap _pmap pmcat _perl_modules pmdesc _perl_modules pmeth _perl_modules pmexp _perl_modules pmfunc _perl_modules pmload _perl_modules pmls _perl_modules pmpath _perl_modules pmvers _perl_modules podgrep _perl_modules podpath _perl_modules podtoc _perl_modules poff _pon policytool _java polybar _polybar polybar-msg _polybar_msg pon _pon popd _directory_stack port _port postconf _postfix postgres _postgresql postmaster _postgresql postqueue _postfix postsuper _postfix prev _mh print _print printenv _printenv printf _print prompt _prompt protoc _protoc prove _prove prs _sccs prt _sccs prun _pids ps _ps ps2ascii _pspdf ps2epsi _postscript ps2pdf _postscript ps2pdf12 _postscript ps2pdf13 _postscript ps2pdf14 _postscript ps2pdfwr _postscript ps2ps _postscript psbook _psutils psed _sed psig _pids psmerge _psutils psmulti _postscript psnup _psutils psql _pgsql_utils psresize _psutils psselect _psutils pstack _pids pstoedit _pspdf pstop _pids pstops _psutils pstotgif _pspdf pswrap _postscript pulseaudio _pulseaudio pump _pump pushd _cd pv _pv pwait _pids pwdx _pids pwgen _pwgen pygmentize _pygmentize pyhtmlizer _twisted qdbus _qdbus qiv _qiv qpdf _qpdf quilt _quilt r _fc rails _rails rake _rake ralio _ralio ranlib _ranlib rar _rar rc _sh rclone _rclone rcp _rlogin rcs _rcs rcsdiff _rcs rdesktop _rdesktop read _read readelf _readelf readlink _readlink readonly _typeset rec _redis-cli -redirect- _redirect '-redirect-,<,bunzip2' _bzip2 '-redirect-,<,bzip2' _bzip2 '-redirect-,>,bzip2' _bzip2 '-redirect-,<,compress' _compress '-redirect-,>,compress' _compress -redirect-,-default-,-default- _files '-redirect-,<,gunzip' _gzip '-redirect-,<,gzip' _gzip '-redirect-,>,gzip' _gzip '-redirect-,<,uncompress' _compress '-redirect-,<,unxz' _xz '-redirect-,<,xz' _xz '-redirect-,>,xz' _xz redis-cli _redis-cli refile _mh rehash _hash reindexdb _postgresql reload _initctl remsh _rlogin renice _renice repl _mh resolvectl _resolvectl restart _initctl retawq _webbrowser rfkill _rfkill rg _rg rgview _vim rgvim _vim ri _ri rkt _rkt rlogin _rlogin rm _rm rmd160 _cksum rmdel _sccs rmdir _rmdir rmf _mh rmic _java rmid _java rmiregistry _java rmm _mh rmmod _modutils route _route rrdtool _rrdtool rsh _rlogin rslsync _rslsync rspec _rspec rsvm _rsvm rsync _rsync rtin _tin rubber _rubber rubber-info _rubber rubber-pipe _rubber rubocop _rubocop ruby _ruby ruby-mri _ruby run-help _run-help rup _hosts rusage _precommand rview _vim rvim _vim rwho _hosts rxvt _urxvt s2p _sed sact _sccs sadf _sysstat sahara _openstack sar _sysstat sbt _sbt scala _scala scalac _scala scan _mh sccs _sccs sccsdiff _sccs sched _sched schedtool _schedtool scons _scons scp _ssh screen _screen script _script scriptreplay _script scrub _scrub sdd _sdd seaf-cli _seafile sed _sed senlin _openstack seq _seq serialver _java service _service set _set setcap _setcap setfacl _setfacl setfacl.exe _setfacl setfattr _attr setopt _setopt setsid _setsid setup.py _setup.py setxkbmap _setxkbmap sfdx _sfdx sftp _ssh sh _sh sha1 _cksum sha1sum _md5sum sha224sum _md5sum sha256 _cksum sha256sum _md5sum sha384 _cksum sha384sum _md5sum sha512 _cksum sha512sum _md5sum sha512t256 _cksum shasum _shasum shellcheck _shellcheck shift _arrays show _mh showchar _psutils showmount _showmount showoff _showoff shred _shred shuf _shuf shutdown _shutdown sisu _sisu skein1024 _cksum skein256 _cksum skein512 _cksum skipstone _webbrowser slabtop _slabtop slitex _tex slocate _locate slogin _ssh slrn _slrn smartctl _smartmontools smbclient _samba smbcontrol _samba smbstatus _samba soa _hosts socket _socket sort _sort sortm _mh source _source spamassassin _spamassassin split _split splitdiff _patchutils sqlite _sqlite sqlite3 _sqlite sqsh _sqsh sr _surfraw srm _srm srptool _gnutls ss _ss ssh _ssh ssh-add _ssh ssh-agent _ssh ssh-copy-id _ssh sshfs _sshfs ssh-keygen _ssh ssh-keyscan _ssh stack _stack star _tar start _initctl stat _stat status _initctl stdbuf _stdbuf stg _stgit stop _initctl stow _stow strace _strace strace64 _strace strftime _strftime strings _strings strip _strip strongswan _ipsec stty _stty su _su subl _subl subliminal _subliminal -subscript- _subscript sudo _sudo sudoedit _sudo sum _cksum supervisorctl _supervisorctl surfraw _surfraw sv _runit svm _svm svn _subversion svnadmin _subversion svnadmin-static _subversion svnlite _subversion swaks _swaks swanctl _swanctl swift _swift swiftc _swift sync _nothing sysctl _sysctl systemctl _systemctl systemd-analyze _systemd-analyze systemd-ask-password _systemd systemd-cat _systemd systemd-cgls _systemd systemd-cgtop _systemd systemd-delta _systemd-delta systemd-detect-virt _systemd systemd-inhibit _systemd-inhibit systemd-machine-id-setup _systemd systemd-notify _systemd systemd-nspawn _systemd-nspawn systemd-path _systemd-path systemd-resolve _resolvectl systemd-run _systemd-run systemd-tmpfiles _systemd-tmpfiles systemd-tty-ask-password-agent _systemd tac _tac tacker _openstack tail _tail talk _other_accounts tar _tar tardy _tardy tarsnap _tarsnap tcpdump _tcpdump tcp_open _tcpsys tcptraceroute _tcptraceroute tcsh _sh tda _devtodo tdd _devtodo tde _devtodo tdr _devtodo teamocil _teamocil tee _tee telnet _telnet tex _tex texi2any _texinfo texi2dvi _texinfo texi2pdf _texinfo texindex _texinfo tg _topgit thor _thor tidy _tidy tig _git -tilde- _tilde time _precommand timedatectl _timedatectl timeout _timeout times _nothing tin _tin tkconch _twisted tkinfo _texinfo tla _tla tload _tload tmux _tmux tmuxinator _tmuxinator tmuxp _tmuxp todo _devtodo todo.sh _todo.sh toilet _toilet top _top totdconfig _totd touch _touch tox _tox tpb _tpb tput _tput tr _tr tracepath _tracepath tracepath6 _tracepath traceroute _hosts transmission-remote _transmission trap _trap trash _trash-put trash-empty _trash-empty trash-list _trash-list trash-put _trash-put trash-restore _trash-restore tree _tree trial _twisted trove _openstack true _nothing truss _truss tryaffix _ispell tty _tty ttyctl _ttyctl tunctl _uml tune2fs _tune2fs tunes2pod _gnupod tunes2pod.pl _gnupod twidge _twidge twist _twisted twistd _twisted txt _hosts type _which typeset _typeset udevadm _udevadm udisksctl _udisksctl ufw _ufw ulimit _ulimit uml_mconsole _uml uml_moo _uml uml_switch _uml umount _mount unace _unace unalias _aliases uname _uname uncompress _compress unexpand _unexpand unfunction _functions unget _sccs unhash _unhash uniq _uniq unison _unison units _units unix2dos _dos2unix unix2mac _dos2unix unlimit _limits unlz4 _lz4 unlzma _xz unpack _pack unpigz _gzip unrar _rar unset _vars unsetopt _setopt unwrapdiff _patchutils unxz _xz unzip _zip uptime _uptime urxvt _urxvt urxvt256c _urxvt urxvt256cc _urxvt urxvt256c-ml _urxvt urxvt256c-mlc _urxvt urxvtc _urxvt useradd _user_admin userdel _users usermod _user_admin vacuumdb _pgsql_utils vagrant _vagrant val _sccs valgrind _valgrind -value- _value -value-,ADB_TRACE,-default- _adb -value-,ANDROID_LOG_TAGS,-default- _adb -value-,ANDROID_SERIAL,-default- _adb -value-,ANSIBLE_STDOUT_CALLBACK,-default- _ansible -value-,ANT_ARGS,-default- _ant -value-,CFLAGS,-default- _gcc -value-,CMAKE_GENERATOR,-default- _cmake -value-,CPPFLAGS,-default- _gcc -value-,CXXFLAGS,-default- _gcc -value-,-default-,-command- _zargs -value-,-default-,-default- _value -value-,DISPLAY,-default- _x_display -value-,GREP_OPTIONS,-default- _grep -value-,GZIP,-default- _gzip -value-,LANG,-default- _locales -value-,LANGUAGE,-default- _locales -value-,LD_DEBUG,-default- _ld_debug -value-,LDFLAGS,-default- _gcc -value-,LESSCHARSET,-default- _less -value-,LESS,-default- _less -value-,LOOPDEV_DEBUG,-default- _losetup -value-,LPDEST,-default- _printers -value-,MPD_HOST,-default _mpc -value-,P4CLIENT,-default- _perforce -value-,P4MERGE,-default- _perforce -value-,P4PORT,-default- _perforce -value-,P4USER,-default- _perforce -value-,PERLDOC,-default- _perldoc -value-,PRINTER,-default- _printers -value-,PROMPT2,-default- _ps1234 -value-,PROMPT3,-default- _ps1234 -value-,PROMPT4,-default- _ps1234 -value-,PROMPT,-default- _ps1234 -value-,PS1,-default- _ps1234 -value-,PS2,-default- _ps1234 -value-,PS3,-default- _ps1234 -value-,PS4,-default- _ps1234 -value-,RPROMPT2,-default- _ps1234 -value-,RPROMPT,-default- _ps1234 -value-,RPS1,-default- _ps1234 -value-,RPS2,-default- _ps1234 -value-,SPROMPT,-default- _ps1234 -value-,TERM,-default- _terminals -value-,TERMINFO_DIRS,-default- _dir_list -value-,TZ,-default- _time_zone -value-,VALGRIND_OPTS,-default- _valgrind -value-,WWW_HOME,-default- _urls -value-,XML_CATALOG_FILES,-default- _xmlsoft -value-,XZ_DEFAULTS,-default- _xz -value-,XZ_OPT,-default- _xz -vared- _in_vared vared _vared VBoxHeadless _virtualbox VBoxManage _virtualbox vcsh _vcsh vim _vim vimdiff _vim virsh _libvirt virt-admin _libvirt virt-host-validate _libvirt virt-pki-validate _libvirt virt-xml-validate _libvirt visudo _visudo vitrage _openstack vmstat _vmstat vncserver _vnc vncviewer _vnc vnstat _vnstat vorbiscomment _vorbis vpnc _vpnc vpnc-connect _vpnc vserver _vserver w _w w3m _w3m wait _wait watch _watch watcher _openstack wc _wc wemux _wemux wget _wget wg-quick _wg-quick what _sccs whatis _man whence _which where _which whereis _whereis which _which who _who whoami _nothing whois _whois whom _mh wiggle _wiggle wipefs _wipefs wodim _cdrecord wpa_cli _wpa_cli write _users_on www _webbrowser xargs _xargs xattr _attr xauth _xauth xautolock _xautolock xclip _xclip xdpyinfo _x_utils xdvi _xdvi xelatex _tex xetex _tex xev _x_utils xfd _x_utils xfig _xfig xfontsel _x_utils xfreerdp _rdesktop xhost _x_utils xinput _xinput xkill _x_utils xli _xloadimage xloadimage _xloadimage xlsatoms _x_utils xlsclients _x_utils xml _xmlstarlet xmllint _xmlsoft xmlstarlet _xmlstarlet xmms2 _xmms2 xmodmap _xmodmap xmosaic _webbrowser xon _x_utils xournal _xournal xpdf _xpdf xping _hosts xprop _x_utils xrandr _xrandr xrdb _x_utils xscreensaver-command _xscreensaver xsel _xsel xset _xset xsetbg _xloadimage xsetroot _x_utils xsltproc _xmlsoft xterm _xterm xtightvncviewer _vnc xtp _imagemagick xv _xv xview _xloadimage xvnc4viewer _vnc xvncviewer _vnc xwd _x_utils xwininfo _x_utils xwit _xwit xwud _x_utils xxd _xxd xz _xz xzcat _xz yafc _yafc yaourt _yaourt yaourt.static _yaourt yarn _yarn yash _sh yay _yay ypbind _yp ypcat _yp ypmatch _yp yppasswd _yp yppoll _yp yppush _yp ypserv _yp ypset _yp ypwhich _yp ypxfr _yp ytalk _other_accounts zargs _zargs zcalc _zcalc -zcalc-line- _zcalc_line zcash-cli _zcash-cli zcat _zcat zcompile _zcompile zcp _zmv zdelattr _zattr zdump _zdump zeal _zeal zed _zed zegrep _grep zen _webbrowser zf_chgrp _chown zf_chmod _chmod zf_chown _chown zfgrep _grep zf_ln _ln zf_mkdir _mkdir zf_mv _mv zf_rm _rm zf_rmdir _rmdir zfs _zfs zgetattr _zattr zgrep _grep zip _zip zipinfo _zip zle _zle zlistattr _zattr zln _zmv zmail _mail zmodload _zmodload zmv _zmv zone _hosts zparseopts _zparseopts zpool _zpool zpty _zpty zsetattr _zattr zsh _zsh zsh-mime-handler _zsh-mime-handler zsocket _zsocket zstat _stat zstyle _zstyle ztodo _ztodo zun _openstack zxpdf _xpdf ) | |
_services=( | |
'bzcat' 'bunzip2' | |
'gchgrp' 'chgrp' | |
'gchown' 'chown' | |
'gnupod_addsong.pl' 'gnupod_addsong' | |
'gnupod_check.pl' 'gnupod_check' | |
'gnupod_INIT.pl' 'gnupod_INIT' | |
'gnupod_search.pl' 'gnupod_search' | |
'gpg2' 'gpg' | |
'gzcat' 'gunzip' | |
'iceweasel' 'firefox' | |
'lzcat' 'unxz' | |
'lzma' 'xz' | |
'Mail' 'mail' | |
'mailx' 'mail' | |
'mktunes.pl' 'mktunes' | |
'nail' 'mail' | |
'ncl' 'nc' | |
'nedit-nc' 'nc' | |
'pacman.static' 'pacman' | |
'pcat' 'unpack' | |
'-redirect-,<,bunzip2' 'bunzip2' | |
'-redirect-,<,bzip2' 'bzip2' | |
'-redirect-,>,bzip2' 'bunzip2' | |
'-redirect-,<,compress' 'compress' | |
'-redirect-,>,compress' 'uncompress' | |
'-redirect-,<,gunzip' 'gunzip' | |
'-redirect-,<,gzip' 'gzip' | |
'-redirect-,>,gzip' 'gunzip' | |
'-redirect-,<,uncompress' 'uncompress' | |
'-redirect-,<,unxz' 'unxz' | |
'-redirect-,<,xz' 'xz' | |
'-redirect-,>,xz' 'unxz' | |
'remsh' 'rsh' | |
'slogin' 'ssh' | |
'svnadmin-static' 'svnadmin' | |
'svnlite' 'svn' | |
'tunes2pod.pl' 'tunes2pod' | |
'unlzma' 'unxz' | |
'VBoxHeadless' 'vboxheadless' | |
'VBoxManage' 'vboxmanage' | |
'xelatex' 'latex' | |
'xetex' 'tex' | |
'xzcat' 'unxz' | |
'yaourt.static' 'yaourt' | |
'zf_chgrp' 'chgrp' | |
'zf_chown' 'chown' | |
) | |
+/home/h/.zcompdump-ckr-5.8:1664> _services=( bzcat bunzip2 gchgrp chgrp gchown chown gnupod_addsong.pl gnupod_addsong gnupod_check.pl gnupod_check gnupod_INIT.pl gnupod_INIT gnupod_search.pl gnupod_search gpg2 gpg gzcat gunzip iceweasel firefox lzcat unxz lzma xz Mail mail mailx mail mktunes.pl mktunes nail mail ncl nc nedit-nc nc pacman.static pacman pcat unpack '-redirect-,<,bunzip2' bunzip2 '-redirect-,<,bzip2' bzip2 '-redirect-,>,bzip2' bunzip2 '-redirect-,<,compress' compress '-redirect-,>,compress' uncompress '-redirect-,<,gunzip' gunzip '-redirect-,<,gzip' gzip '-redirect-,>,gzip' gunzip '-redirect-,<,uncompress' uncompress '-redirect-,<,unxz' unxz '-redirect-,<,xz' xz '-redirect-,>,xz' unxz remsh rsh slogin ssh svnadmin-static svnadmin svnlite svn tunes2pod.pl tunes2pod unlzma unxz VBoxHeadless vboxheadless VBoxManage vboxmanage xelatex latex xetex tex xzcat unxz yaourt.static yaourt zf_chgrp chgrp zf_chown chown ) | |
_patcomps=( | |
'*/(init|rc[0-9S]#).d/*' '_init_d' | |
) | |
+/home/h/.zcompdump-ckr-5.8:1713> _patcomps=( '*/(init|rc[0-9S]#).d/*' _init_d ) | |
_postpatcomps=( | |
'c++-*' '_gcc' | |
'g++-*' '_gcc' | |
'gcc-*' '_gcc' | |
'gem[0-9.]#' '_gem' | |
'lua[0-9.-]##' '_lua' | |
'(p[bgpn]m*|*top[bgpn]m)' '_pbm' | |
'php[0-9.-]' '_php' | |
'pydoc[0-9.]#' '_pydoc' | |
'python[0-9.]#' '_python' | |
'qemu(|-system-*)' '_qemu' | |
'(ruby|[ei]rb)[0-9.]#' '_ruby' | |
'shasum(|5).*' '_shasum' | |
'(texi(2*|ndex))' '_texi' | |
'(tiff*|*2tiff|pal2rgb)' '_tiff' | |
'-value-,CCACHE_*,-default-' '_ccache' | |
'-value-,CGO*,-default-' '_golang' | |
'-value-,(ftp|http(|s))_proxy,-default-' '_urls' | |
'-value-,GO*,-default-' '_golang' | |
'-value-,LC_*,-default-' '_locales' | |
'-value-,*path,-default-' '_directories' | |
'-value-,*PATH,-default-' '_dir_list' | |
'-value-,RUBY(LIB|OPT|PATH),-default-' '_ruby' | |
'*/X11(|R<4->)/*' '_x_arguments' | |
'yodl(|2*)' '_yodl' | |
'zf*' '_zftp' | |
) | |
+/home/h/.zcompdump-ckr-5.8:1717> _postpatcomps=( 'c++-*' _gcc 'g++-*' _gcc 'gcc-*' _gcc 'gem[0-9.]#' _gem 'lua[0-9.-]##' _lua '(p[bgpn]m*|*top[bgpn]m)' _pbm 'php[0-9.-]' _php 'pydoc[0-9.]#' _pydoc 'python[0-9.]#' _python 'qemu(|-system-*)' _qemu '(ruby|[ei]rb)[0-9.]#' _ruby 'shasum(|5).*' _shasum '(texi(2*|ndex))' _texi '(tiff*|*2tiff|pal2rgb)' _tiff '-value-,CCACHE_*,-default-' _ccache '-value-,CGO*,-default-' _golang '-value-,(ftp|http(|s))_proxy,-default-' _urls '-value-,GO*,-default-' _golang '-value-,LC_*,-default-' _locales '-value-,*path,-default-' _directories '-value-,*PATH,-default-' _dir_list '-value-,RUBY(LIB|OPT|PATH),-default-' _ruby '*/X11(|R<4->)/*' _x_arguments 'yodl(|2*)' _yodl 'zf*' _zftp ) | |
_compautos=( | |
'_call_program' '+X' | |
) | |
+/home/h/.zcompdump-ckr-5.8:1745> _compautos=( _call_program +X ) | |
zle -C _bash_complete-word .complete-word _bash_completions | |
+/home/h/.zcompdump-ckr-5.8:1749> zle -C _bash_complete-word .complete-word _bash_completions | |
zle -C _bash_list-choices .list-choices _bash_completions | |
+/home/h/.zcompdump-ckr-5.8:1750> zle -C _bash_list-choices .list-choices _bash_completions | |
zle -C _complete_debug .complete-word _complete_debug | |
+/home/h/.zcompdump-ckr-5.8:1751> zle -C _complete_debug .complete-word _complete_debug | |
zle -C _complete_help .complete-word _complete_help | |
+/home/h/.zcompdump-ckr-5.8:1752> zle -C _complete_help .complete-word _complete_help | |
zle -C _complete_tag .complete-word _complete_tag | |
+/home/h/.zcompdump-ckr-5.8:1753> zle -C _complete_tag .complete-word _complete_tag | |
zle -C _correct_filename .complete-word _correct_filename | |
+/home/h/.zcompdump-ckr-5.8:1754> zle -C _correct_filename .complete-word _correct_filename | |
zle -C _correct_word .complete-word _correct_word | |
+/home/h/.zcompdump-ckr-5.8:1755> zle -C _correct_word .complete-word _correct_word | |
zle -C _expand_alias .complete-word _expand_alias | |
+/home/h/.zcompdump-ckr-5.8:1756> zle -C _expand_alias .complete-word _expand_alias | |
zle -C _expand_word .complete-word _expand_word | |
+/home/h/.zcompdump-ckr-5.8:1757> zle -C _expand_word .complete-word _expand_word | |
zle -C _history-complete-newer .complete-word _history_complete_word | |
+/home/h/.zcompdump-ckr-5.8:1758> zle -C _history-complete-newer .complete-word _history_complete_word | |
zle -C _history-complete-older .complete-word _history_complete_word | |
+/home/h/.zcompdump-ckr-5.8:1759> zle -C _history-complete-older .complete-word _history_complete_word | |
zle -C _list_expansions .list-choices _expand_word | |
+/home/h/.zcompdump-ckr-5.8:1760> zle -C _list_expansions .list-choices _expand_word | |
zle -C _most_recent_file .complete-word _most_recent_file | |
+/home/h/.zcompdump-ckr-5.8:1761> zle -C _most_recent_file .complete-word _most_recent_file | |
zle -C _next_tags .list-choices _next_tags | |
+/home/h/.zcompdump-ckr-5.8:1762> zle -C _next_tags .list-choices _next_tags | |
zle -C _read_comp .complete-word _read_comp | |
+/home/h/.zcompdump-ckr-5.8:1763> zle -C _read_comp .complete-word _read_comp | |
bindkey '^X^R' _read_comp | |
+/home/h/.zcompdump-ckr-5.8:1764> bindkey '^X^R' _read_comp | |
bindkey '^X?' _complete_debug | |
+/home/h/.zcompdump-ckr-5.8:1765> bindkey '^X?' _complete_debug | |
bindkey '^XC' _correct_filename | |
+/home/h/.zcompdump-ckr-5.8:1766> bindkey '^XC' _correct_filename | |
bindkey '^Xa' _expand_alias | |
+/home/h/.zcompdump-ckr-5.8:1767> bindkey '^Xa' _expand_alias | |
bindkey '^Xc' _correct_word | |
+/home/h/.zcompdump-ckr-5.8:1768> bindkey '^Xc' _correct_word | |
bindkey '^Xd' _list_expansions | |
+/home/h/.zcompdump-ckr-5.8:1769> bindkey '^Xd' _list_expansions | |
bindkey '^Xe' _expand_word | |
+/home/h/.zcompdump-ckr-5.8:1770> bindkey '^Xe' _expand_word | |
bindkey '^Xh' _complete_help | |
+/home/h/.zcompdump-ckr-5.8:1771> bindkey '^Xh' _complete_help | |
bindkey '^Xm' _most_recent_file | |
+/home/h/.zcompdump-ckr-5.8:1772> bindkey '^Xm' _most_recent_file | |
bindkey '^Xn' _next_tags | |
+/home/h/.zcompdump-ckr-5.8:1773> bindkey '^Xn' _next_tags | |
bindkey '^Xt' _complete_tag | |
+/home/h/.zcompdump-ckr-5.8:1774> bindkey '^Xt' _complete_tag | |
bindkey '^X~' _bash_list-choices | |
+/home/h/.zcompdump-ckr-5.8:1775> bindkey '^X~' _bash_list-choices | |
bindkey '^[,' _history-complete-newer | |
+/home/h/.zcompdump-ckr-5.8:1776> bindkey '^[,' _history-complete-newer | |
bindkey '^[/' _history-complete-older | |
+/home/h/.zcompdump-ckr-5.8:1777> bindkey '^[/' _history-complete-older | |
bindkey '^[~' _bash_complete-word | |
+/home/h/.zcompdump-ckr-5.8:1778> bindkey '^[~' _bash_complete-word | |
autoload -Uz _afew _alacritty _android _archlinux-java _artisan \ | |
_atach _bitcoin-cli _bootctl _bower _bundle \ | |
_busctl _caffeinate _cap _cask _ccache \ | |
_cf _cheat _choc _chromium _cmake \ | |
_code _code-oss _coffee _composer _conan \ | |
_concourse _console _coredumpctl _cppcheck _curl \ | |
_dad _debuild _dget _dhcpcd _diana \ | |
_docker _docpad _drush _ecdsautil _emulator \ | |
_envdir _exportfs _fab _fail2ban-client _ffind \ | |
_fleetctl _flutter _force _fwupdmgr _gas \ | |
_ghc _gist _git-flow _git-journal _git-pulls \ | |
_git-revise _git-wtf _glances _golang _google \ | |
_gpgconf _gtk-launch _hledger _homestead _hostnamectl \ | |
_httpie _ibus _include-what-you-use _inxi _jmeter \ | |
_jmeter-plugins _jonas _journalctl _jrnl _kak \ | |
_kernel-install _kitchen _knife _language_codes _libinput \ | |
_lilypond _localectl _loginctl _luarocks _luarocks-admin \ | |
_lunchy _machinectl _mc _meson _middleman \ | |
_mina _mix _mkinitcpio _mssh _mussh \ | |
_mvn _nano _nanoc _networkctl _nftables \ | |
_ninja _node _nvm _openssl _optirun \ | |
_opustools _pacman _patool _perf _periscope \ | |
_pgsql_utils _phing _pixz _pkcon _play \ | |
_pm2 _polybar _polybar_msg _port _protoc \ | |
_pulseaudio _pygmentize _qpdf _rails _ralio \ | |
_redis-cli _resolvectl _rfkill _rg _rkt \ | |
_rslsync _rspec _rsvm _rubocop _sbt \ | |
_scala _scrub _sdd _sd_hosts_or_user_at_host _sd_machines \ | |
_sd_outputmodes _sd_unit_files _setcap _setup.py _sfdx \ | |
_shellcheck _showoff _srm _stack _subl \ | |
_subliminal _supervisorctl _svm _systemctl _systemd \ | |
_systemd-analyze _systemd-delta _systemd-inhibit _systemd-nspawn _systemd-path \ | |
_systemd-run _systemd-tmpfiles _tarsnap _teamocil _thor \ | |
_timedatectl _tmuxinator _tmuxp _tox _trash-empty \ | |
_trash-list _trash-put _trash-restore _udevadm _udisksctl \ | |
_ufw _vagrant _virtualbox _vnstat _wemux \ | |
_wg-quick _xinput _xsel _yaourt _yarn \ | |
_yay _zcash-cli _cdr _all_labels _all_matches \ | |
_alternative _approximate _arg_compile _arguments _bash_completions \ | |
_cache_invalid _call_function _combination _complete _complete_debug \ | |
_complete_help _complete_help_generic _complete_tag _comp_locale _correct \ | |
_correct_filename _correct_word _describe _description _dispatch \ | |
_expand _expand_alias _expand_word _extensions _external_pwds \ | |
_generic _guard _history _history_complete_word _ignored \ | |
_list _main_complete _match _menu _message \ | |
_most_recent_file _multi_parts _next_label _next_tags _normal \ | |
_nothing _oldlist _pick_variant _prefix _read_comp \ | |
_regex_arguments _regex_words _requested _retrieve_cache _sep_parts \ | |
_sequence _set_command _setup _store_cache _sub_commands \ | |
_tags _user_expand _values _wanted _acpi \ | |
_acpitool _alsa-utils _analyseplugin _brctl _btrfs \ | |
_chattr _chcon _chrt _cpupower _cryptsetup \ | |
_dkms _e2label _ethtool _findmnt _free \ | |
_fuse_arguments _fusermount _fuse_values _gpasswd _htop \ | |
_iconvconfig _ionice _ipset _iptables _iwconfig \ | |
_kpartx _losetup _lsattr _lsblk _lsusb \ | |
_ltrace _mdadm _mii-tool _modutils _mondo \ | |
_networkmanager _opkg _pidof _pmap _qdbus \ | |
_schedtool _selinux_contexts _selinux_roles _selinux_types _selinux_users \ | |
_setsid _slabtop _ss _sshfs _strace \ | |
_sysstat _tload _tpb _tracepath _tune2fs \ | |
_uml _valgrind _vserver _wakeup_capable_devices _wipefs \ | |
_wpa_cli _a2ps _aap _abcde _absolute_command_paths \ | |
_ack _adb _ansible _ant _antiword \ | |
_apachectl _apm _arch_archives _arch_namespace _arp \ | |
_arping _asciidoctor _asciinema _at _attr \ | |
_augeas _avahi _awk _base64 _basename \ | |
_bash _baudrates _baz _beep _bibtex \ | |
_bind_addresses _bison _bittorrent _bogofilter _bpf_filters \ | |
_bpython _bzip2 _bzr _cabal _cal \ | |
_calendar _canonical_paths _cat _ccal _cdcd \ | |
_cdrdao _cdrecord _chkconfig _chmod _chown \ | |
_chroot _chsh _cksum _clay _cmdambivalent \ | |
_cmdstring _cmp _column _comm _composer \ | |
_compress _configure _cowsay _cp _cpio \ | |
_cplay _crontab _cscope _cssh _ctags_tags \ | |
_curl _cut _cvs _darcs _date \ | |
_date_formats _dates _dbus _dconf _dd \ | |
_devtodo _df _dhclient _dict _dict_words \ | |
_diff _diff3 _diff_options _diffstat _dig \ | |
_directories _dir_list _django _dmesg _dmidecode \ | |
_dns_types _doas _domains _dos2unix _drill \ | |
_dsh _dtruss _du _dvi _ecasound \ | |
_ed _elfdump _elinks _email_addresses _enscript \ | |
_entr _env _espeak _etags _fakeroot \ | |
_feh _fetchmail _ffmpeg _figlet _file_modes \ | |
_files _file_systems _find _find_net_interfaces _finger \ | |
_flac _flex _fmt _fold _fortune \ | |
_fsh _fuser _gcc _gcore _gdb \ | |
_gem _genisoimage _getconf _getent _getfacl \ | |
_getmail _getopt _ghostscript _git _global \ | |
_global_tags _gnu_generic _gnupod _gnutls _go \ | |
_gpg _gphoto2 _gprof _gradle _graphicsmagick \ | |
_grep _groff _groups _growisofs _gsettings \ | |
_guilt _gzip _have_glob_qual _head _hexdump \ | |
_host _hostname _hosts _iconv _id \ | |
_ifconfig _iftop _imagemagick _initctl _init_d \ | |
_install _iostat _ip _ipsec _irssi \ | |
_ispell _java _java_class _joe _join \ | |
_jq _killall _knock _kvno _last \ | |
_ldconfig _ldd _ld_debug _less _lha \ | |
_libvirt _links _list_files _lldb _ln \ | |
_loadkeys _locale _localedef _locales _locate \ | |
_look _lp _ls _lsof _lua \ | |
_luarocks _lynx _lz4 _lzop _mail \ | |
_mailboxes _make _man _md5sum _mencal \ | |
_mh _mime_types _mkdir _mkfifo _mknod \ | |
_mktemp _module _monotone _moosic _mosh \ | |
_mount _mpc _mt _mtools _mtr \ | |
_mutt _mv _my_accounts _myrepos _mysqldiff \ | |
_mysql_utils _ncftp _netcat _net_interfaces _netstat \ | |
_newsgroups _nginx _ngrep _nice _nkf \ | |
_nl _nm _nmap _npm _nslookup \ | |
_numfmt _objdump _object_files _od _openstack \ | |
_other_accounts _pack _pandoc _paste _patch \ | |
_patchutils _path_commands _path_files _pax _pbm \ | |
_pdf _perforce _perl _perl_basepods _perldoc \ | |
_perl_modules _pgrep _php _picocom _pids \ | |
_pine _ping _pkgadd _pkg-config _pkginfo \ | |
_pkg_instance _pkgrm _pon _ports _postfix \ | |
_postgresql _postscript _printenv _printers _process_names \ | |
_prove _ps _pspdf _psutils _pump \ | |
_pv _pwgen _pydoc _python _python_modules \ | |
_qemu _quilt _rake _ranlib _rar \ | |
_rclone _rcs _readelf _readlink _remote_files \ | |
_renice _ri _rlogin _rm _rmdir \ | |
_route _rrdtool _rsync _rubber _ruby \ | |
_runit _samba _sccs _scons _screen \ | |
_script _seafile _sed _seq _service \ | |
_services _setfacl _sh _shasum _showmount \ | |
_shred _shuf _shutdown _signals _sisu \ | |
_slrn _smartmontools _socket _sort _spamassassin \ | |
_split _sqlite _sqsh _ssh _ssh_hosts \ | |
_stat _stdbuf _stgit _stow _strings \ | |
_strip _stty _su _subversion _sudo \ | |
_surfraw _swaks _swanctl _swift _sys_calls \ | |
_sysctl _tac _tail _tar _tar_archive \ | |
_tardy _tcpdump _tcptraceroute _tee _telnet \ | |
_terminals _tex _texi _texinfo _tidy \ | |
_tiff _tilde_files _timeout _time_zone _tin \ | |
_tla _tmux _todo.sh _toilet _top \ | |
_topgit _totd _touch _tput _tr \ | |
_transmission _tree _truss _tty _ttys \ | |
_twidge _twisted _umountable _unace _uname \ | |
_unexpand _uniq _unison _units _uptime \ | |
_urls _user_admin _user_at_host _users _users_on \ | |
_vcsh _vim _visudo _vmstat _vorbis \ | |
_vpnc _w _w3m _watch _wc \ | |
_webbrowser _wget _whereis _who _whois \ | |
_wiggle _xargs _xmlsoft _xmlstarlet _xmms2 \ | |
_xxd _xz _yafc _yodl _yp \ | |
_zcat _zdump _zfs _zfs_dataset _zfs_keysource_props \ | |
_zfs_pool _zip _zpool _zsh _acroread \ | |
_code _dcop _eog _evince _geany \ | |
_gnome-gv _gqview _gv _kdeconnect _kfmclient \ | |
_matlab _mozilla _mplayer _mupdf _nautilus \ | |
_nedit _netscape _okular _pdftk _qiv \ | |
_rdesktop _setxkbmap _sublimetext _urxvt _vnc \ | |
_x_arguments _xauth _xautolock _x_borderwidth _xclip \ | |
_x_color _x_colormapid _x_cursor _x_display _xdvi \ | |
_x_extension _xfig _x_font _xft_fonts _x_geometry \ | |
_x_keysym _xloadimage _x_locale _x_modifier _xmodmap \ | |
_x_name _xournal _xpdf _xrandr _x_resource \ | |
_xscreensaver _x_selection_timeout _xset _xt_arguments _xterm \ | |
_x_title _xt_session_id _x_utils _xv _x_visual \ | |
_x_window _xwit _zeal _add-zle-hook-widget _add-zsh-hook \ | |
_alias _aliases _arrays _assign _autocd \ | |
_bindkey _brace_parameter _builtin _cd _command \ | |
_command_names _compadd _compdef _completers _condition \ | |
_default _delimiters _directory_stack _dirs _disable \ | |
_dynamic_directory_name _echotc _echoti _emulate _enable \ | |
_equal _exec _fc _file_descriptors _first \ | |
_functions _globflags _globqual_delims _globquals _hash \ | |
_history_modifiers _in_vared _jobs _jobs_bg _jobs_builtin \ | |
_jobs_fg _kill _limit _limits _math \ | |
_math_params _mere _module_math_func _options _options_set \ | |
_options_unset _parameter _parameters _precommand _print \ | |
_prompt _ps1234 _read _redirect _run-help \ | |
_sched _set _setopt _source _strftime \ | |
_subscript _suffix_alias_files _tcpsys _tilde _trap \ | |
_ttyctl _typeset _ulimit _unhash _user_math_func \ | |
_value _vared _vars _wait _which \ | |
_widgets _zargs _zattr _zcalc _zcalc_line \ | |
_zcompile _zed _zftp _zle _zmodload \ | |
_zmv _zparseopts _zpty _zsh-mime-handler _zsocket \ | |
_zstyle _ztodo | |
+/home/h/.zcompdump-ckr-5.8:1780> autoload -Uz _afew _alacritty _android _archlinux-java _artisan _atach _bitcoin-cli _bootctl _bower _bundle _busctl _caffeinate _cap _cask _ccache _cf _cheat _choc _chromium _cmake _code _code-oss _coffee _composer _conan _concourse _console _coredumpctl _cppcheck _curl _dad _debuild _dget _dhcpcd _diana _docker _docpad _drush _ecdsautil _emulator _envdir _exportfs _fab _fail2ban-client _ffind _fleetctl _flutter _force _fwupdmgr _gas _ghc _gist _git-flow _git-journal _git-pulls _git-revise _git-wtf _glances _golang _google _gpgconf _gtk-launch _hledger _homestead _hostnamectl _httpie _ibus _include-what-you-use _inxi _jmeter _jmeter-plugins _jonas _journalctl _jrnl _kak _kernel-install _kitchen _knife _language_codes _libinput _lilypond _localectl _loginctl _luarocks _luarocks-admin _lunchy _machinectl _mc _meson _middleman _mina _mix _mkinitcpio _mssh _mussh _mvn _nano _nanoc _networkctl _nftables _ninja _node _nvm _openssl _optirun _opustools _pacman _patool _perf _periscope _pgsql_utils _phing _pixz _pkcon _play _pm2 _polybar _polybar_msg _port _protoc _pulseaudio _pygmentize _qpdf _rails _ralio _redis-cli _resolvectl _rfkill _rg _rkt _rslsync _rspec _rsvm _rubocop _sbt _scala _scrub _sdd _sd_hosts_or_user_at_host _sd_machines _sd_outputmodes _sd_unit_files _setcap _setup.py _sfdx _shellcheck _showoff _srm _stack _subl _subliminal _supervisorctl _svm _systemctl _systemd _systemd-analyze _systemd-delta _systemd-inhibit _systemd-nspawn _systemd-path _systemd-run _systemd-tmpfiles _tarsnap _teamocil _thor _timedatectl _tmuxinator _tmuxp _tox _trash-empty _trash-list _trash-put _trash-restore _udevadm _udisksctl _ufw _vagrant _virtualbox _vnstat _wemux _wg-quick _xinput _xsel _yaourt _yarn _yay _zcash-cli _cdr _all_labels _all_matches _alternative _approximate _arg_compile _arguments _bash_completions _cache_invalid _call_function _combination _complete _complete_debug _complete_help _complete_help_generic _complete_tag _comp_locale _correct _correct_filename _correct_word _describe _description _dispatch _expand _expand_alias _expand_word _extensions _external_pwds _generic _guard _history _history_complete_word _ignored _list _main_complete _match _menu _message _most_recent_file _multi_parts _next_label _next_tags _normal _nothing _oldlist _pick_variant _prefix _read_comp _regex_arguments _regex_words _requested _retrieve_cache _sep_parts _sequence _set_command _setup _store_cache _sub_commands _tags _user_expand _values _wanted _acpi _acpitool _alsa-utils _analyseplugin _brctl _btrfs _chattr _chcon _chrt _cpupower _cryptsetup _dkms _e2label _ethtool _findmnt _free _fuse_arguments _fusermount _fuse_values _gpasswd _htop _iconvconfig _ionice _ipset _iptables _iwconfig _kpartx _losetup _lsattr _lsblk _lsusb _ltrace _mdadm _mii-tool _modutils _mondo _networkmanager _opkg _pidof _pmap _qdbus _schedtool _selinux_contexts _selinux_roles _selinux_types _selinux_users _setsid _slabtop _ss _sshfs _strace _sysstat _tload _tpb _tracepath _tune2fs _uml _valgrind _vserver _wakeup_capable_devices _wipefs _wpa_cli _a2ps _aap _abcde _absolute_command_paths _ack _adb _ansible _ant _antiword _apachectl _apm _arch_archives _arch_namespace _arp _arping _asciidoctor _asciinema _at _attr _augeas _avahi _awk _base64 _basename _bash _baudrates _baz _beep _bibtex _bind_addresses _bison _bittorrent _bogofilter _bpf_filters _bpython _bzip2 _bzr _cabal _cal _calendar _canonical_paths _cat _ccal _cdcd _cdrdao _cdrecord _chkconfig _chmod _chown _chroot _chsh _cksum _clay _cmdambivalent _cmdstring _cmp _column _comm _composer _compress _configure _cowsay _cp _cpio _cplay _crontab _cscope _cssh _ctags_tags _curl _cut _cvs _darcs _date _date_formats _dates _dbus _dconf _dd _devtodo _df _dhclient _dict _dict_words _diff _diff3 _diff_options _diffstat _dig _directories _dir_list _django _dmesg _dmidecode _dns_types _doas _domains _dos2unix _drill _dsh _dtruss _du _dvi _ecasound _ed _elfdump _elinks _email_addresses _enscript _entr _env _espeak _etags _fakeroot _feh _fetchmail _ffmpeg _figlet _file_modes _files _file_systems _find _find_net_interfaces _finger _flac _flex _fmt _fold _fortune _fsh _fuser _gcc _gcore _gdb _gem _genisoimage _getconf _getent _getfacl _getmail _getopt _ghostscript _git _global _global_tags _gnu_generic _gnupod _gnutls _go _gpg _gphoto2 _gprof _gradle _graphicsmagick _grep _groff _groups _growisofs _gsettings _guilt _gzip _have_glob_qual _head _hexdump _host _hostname _hosts _iconv _id _ifconfig _iftop _imagemagick _initctl _init_d _install _iostat _ip _ipsec _irssi _ispell _java _java_class _joe _join _jq _killall _knock _kvno _last _ldconfig _ldd _ld_debug _less _lha _libvirt _links _list_files _lldb _ln _loadkeys _locale _localedef _locales _locate _look _lp _ls _lsof _lua _luarocks _lynx _lz4 _lzop _mail _mailboxes _make _man _md5sum _mencal _mh _mime_types _mkdir _mkfifo _mknod _mktemp _module _monotone _moosic _mosh _mount _mpc _mt _mtools _mtr _mutt _mv _my_accounts _myrepos _mysqldiff _mysql_utils _ncftp _netcat _net_interfaces _netstat _newsgroups _nginx _ngrep _nice _nkf _nl _nm _nmap _npm _nslookup _numfmt _objdump _object_files _od _openstack _other_accounts _pack _pandoc _paste _patch _patchutils _path_commands _path_files _pax _pbm _pdf _perforce _perl _perl_basepods _perldoc _perl_modules _pgrep _php _picocom _pids _pine _ping _pkgadd _pkg-config _pkginfo _pkg_instance _pkgrm _pon _ports _postfix _postgresql _postscript _printenv _printers _process_names _prove _ps _pspdf _psutils _pump _pv _pwgen _pydoc _python _python_modules _qemu _quilt _rake _ranlib _rar _rclone _rcs _readelf _readlink _remote_files _renice _ri _rlogin _rm _rmdir _route _rrdtool _rsync _rubber _ruby _runit _samba _sccs _scons _screen _script _seafile _sed _seq _service _services _setfacl _sh _shasum _showmount _shred _shuf _shutdown _signals _sisu _slrn _smartmontools _socket _sort _spamassassin _split _sqlite _sqsh _ssh _ssh_hosts _stat _stdbuf _stgit _stow _strings _strip _stty _su _subversion _sudo _surfraw _swaks _swanctl _swift _sys_calls _sysctl _tac _tail _tar _tar_archive _tardy _tcpdump _tcptraceroute _tee _telnet _terminals _tex _texi _texinfo _tidy _tiff _tilde_files _timeout _time_zone _tin _tla _tmux _todo.sh _toilet _top _topgit _totd _touch _tput _tr _transmission _tree _truss _tty _ttys _twidge _twisted _umountable _unace _uname _unexpand _uniq _unison _units _uptime _urls _user_admin _user_at_host _users _users_on _vcsh _vim _visudo _vmstat _vorbis _vpnc _w _w3m _watch _wc _webbrowser _wget _whereis _who _whois _wiggle _xargs _xmlsoft _xmlstarlet _xmms2 _xxd _xz _yafc _yodl _yp _zcat _zdump _zfs _zfs_dataset _zfs_keysource_props _zfs_pool _zip _zpool _zsh _acroread _code _dcop _eog _evince _geany _gnome-gv _gqview _gv _kdeconnect _kfmclient _matlab _mozilla _mplayer _mupdf _nautilus _nedit _netscape _okular _pdftk _qiv _rdesktop _setxkbmap _sublimetext _urxvt _vnc _x_arguments _xauth _xautolock _x_borderwidth _xclip _x_color _x_colormapid _x_cursor _x_display _xdvi _x_extension _xfig _x_font _xft_fonts _x_geometry _x_keysym _xloadimage _x_locale _x_modifier _xmodmap _x_name _xournal _xpdf _xrandr _x_resource _xscreensaver _x_selection_timeout _xset _xt_arguments _xterm _x_title _xt_session_id _x_utils _xv _x_visual _x_window _xwit _zeal _add-zle-hook-widget _add-zsh-hook _alias _aliases _arrays _assign _autocd _bindkey _brace_parameter _builtin _cd _command _command_names _compadd _compdef _completers _condition _default _delimiters _directory_stack _dirs _disable _dynamic_directory_name _echotc _echoti _emulate _enable _equal _exec _fc _file_descriptors _first _functions _globflags _globqual_delims _globquals _hash _history_modifiers _in_vared _jobs _jobs_bg _jobs_builtin _jobs_fg _kill _limit _limits _math _math_params _mere _module_math_func _options _options_set _options_unset _parameter _parameters _precommand _print _prompt _ps1234 _read _redirect _run-help _sched _set _setopt _source _strftime _subscript _suffix_alias_files _tcpsys _tilde _trap _ttyctl _typeset _ulimit _unhash _user_math_func _value _vared _vars _wait _which _widgets _zargs _zattr _zcalc _zcalc_line _zcompile _zed _zftp _zle _zmodload _zmv _zparseopts _zpty _zsh-mime-handler _zsocket _zstyle _ztodo | |
autoload -Uz +X _call_program | |
+/home/h/.zcompdump-ckr-5.8:1966> autoload -Uz +X _call_program | |
typeset -gUa _comp_assocs | |
+/home/h/.zcompdump-ckr-5.8:1968> typeset -gUa _comp_assocs | |
_comp_assocs=( '' ) | |
+/home/h/.zcompdump-ckr-5.8:1969> _comp_assocs=( '' ) | |
#omz revision: dac3314c76e799cddbbe5cf63870d31861626059 | |
#omz fpath: /home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions /home/h/.oh-my-zsh/functions /home/h/.oh-my-zsh/completions /usr/local/share/zsh/site-functions /usr/share/zsh/site-functions /usr/share/zsh/functions/Calendar /usr/share/zsh/functions/Chpwd /usr/share/zsh/functions/Completion /usr/share/zsh/functions/Completion/Base /usr/share/zsh/functions/Completion/Linux /usr/share/zsh/functions/Completion/Unix /usr/share/zsh/functions/Completion/X /usr/share/zsh/functions/Completion/Zsh /usr/share/zsh/functions/Exceptions /usr/share/zsh/functions/Math /usr/share/zsh/functions/MIME /usr/share/zsh/functions/Misc /usr/share/zsh/functions/Newuser /usr/share/zsh/functions/Prompts /usr/share/zsh/functions/TCP /usr/share/zsh/functions/VCS_Info /usr/share/zsh/functions/VCS_Info/Backends /usr/share/zsh/functions/Zftp /usr/share/zsh/functions/Zle | |
+compinit:490> _i_done=yes | |
+compinit:493> [[ -z yes ]] | |
+compinit:530> _i_line=complete-word | |
+compinit:533> zle -C complete-word .complete-word _main_complete | |
+compinit:530> _i_line=delete-char-or-list | |
+compinit:533> zle -C delete-char-or-list .delete-char-or-list _main_complete | |
+compinit:530> _i_line=expand-or-complete | |
+compinit:533> zle -C expand-or-complete .expand-or-complete _main_complete | |
+compinit:530> _i_line=expand-or-complete-prefix | |
+compinit:533> zle -C expand-or-complete-prefix .expand-or-complete-prefix _main_complete | |
+compinit:530> _i_line=list-choices | |
+compinit:533> zle -C list-choices .list-choices _main_complete | |
+compinit:530> _i_line=menu-complete | |
+compinit:533> zle -C menu-complete .menu-complete _main_complete | |
+compinit:530> _i_line=menu-expand-or-complete | |
+compinit:533> zle -C menu-expand-or-complete .menu-expand-or-complete _main_complete | |
+compinit:530> _i_line=reverse-menu-complete | |
+compinit:533> zle -C reverse-menu-complete .reverse-menu-complete _main_complete | |
+compinit:535> zle -la menu-select | |
+compinit:539> bindkey '^i' | |
+compinit:539> IFS=$' \t' +compinit:539> read -A _i_line | |
+compinit:540> [[ expand-or-complete = expand-or-complete ]] | |
+compinit:541> zstyle -a :completion: completer _i_line | |
+compinit:546> unfunction compinit compaudit | |
+compinit:547> autoload -Uz compinit compaudit | |
+compinit:549> return 0 | |
# Append zcompdump metadata if missing | |
if (( $zcompdump_refresh )); then | |
# Use `tee` in case the $ZSH_COMPDUMP filename is invalid, to silence the error | |
# See https://github.com/ohmyzsh/ohmyzsh/commit/dd1a7269#commitcomment-39003489 | |
tee -a "$ZSH_COMPDUMP" &>/dev/null <<EOF | |
$zcompdump_revision | |
$zcompdump_fpath | |
EOF | |
fi | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:85> (( )) | |
unset zcompdump_revision zcompdump_fpath zcompdump_refresh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:95> unset zcompdump_revision zcompdump_fpath zcompdump_refresh | |
# Load all of the config files in ~/oh-my-zsh that end in .zsh | |
# TIP: Add files you don't want in git to .gitignore | |
for config_file ($ZSH/lib/*.zsh); do | |
custom_config_file="${ZSH_CUSTOM}/lib/${config_file:t}" | |
[ -f "${custom_config_file}" ] && config_file=${custom_config_file} | |
source $config_file | |
done | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/bzr.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/bzr.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/bzr.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/bzr.zsh | |
## Bazaar integration | |
## Just works with the GIT integration just add $(bzr_prompt_info) to the PROMPT | |
function bzr_prompt_info() { | |
BZR_CB=`bzr nick 2> /dev/null | grep -v "ERROR" | cut -d ":" -f2 | awk -F / '{print "bzr::"$1}'` | |
if [ -n "$BZR_CB" ]; then | |
BZR_DIRTY="" | |
[[ -n `bzr status` ]] && BZR_DIRTY=" %{$fg[red]%} * %{$fg[green]%}" | |
echo "$ZSH_THEME_SCM_PROMPT_PREFIX$BZR_CB$BZR_DIRTY$ZSH_THEME_GIT_PROMPT_SUFFIX" | |
fi | |
}+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/clipboard.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/clipboard.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/clipboard.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/clipboard.zsh | |
# System clipboard integration | |
# | |
# This file has support for doing system clipboard copy and paste operations | |
# from the command line in a generic cross-platform fashion. | |
# | |
# This is uses essentially the same heuristic as neovim, with the additional | |
# special support for Cygwin. | |
# See: https://github.com/neovim/neovim/blob/e682d799fa3cf2e80a02d00c6ea874599d58f0e7/runtime/autoload/provider/clipboard.vim#L55-L121 | |
# | |
# - pbcopy, pbpaste (macOS) | |
# - cygwin (Windows running Cygwin) | |
# - wl-copy, wl-paste (if $WAYLAND_DISPLAY is set) | |
# - xclip (if $DISPLAY is set) | |
# - xsel (if $DISPLAY is set) | |
# - lemonade (for SSH) https://github.com/pocke/lemonade | |
# - doitclient (for SSH) http://www.chiark.greenend.org.uk/~sgtatham/doit/ | |
# - win32yank (Windows) | |
# - tmux (if $TMUX is set) | |
# | |
# Defines two functions, clipcopy and clippaste, based on the detected platform. | |
## | |
# | |
# clipcopy - Copy data to clipboard | |
# | |
# Usage: | |
# | |
# <command> | clipcopy - copies stdin to clipboard | |
# | |
# clipcopy <file> - copies a file's contents to clipboard | |
# | |
## | |
# | |
# clippaste - "Paste" data from clipboard to stdout | |
# | |
# Usage: | |
# | |
# clippaste - writes clipboard's contents to stdout | |
# | |
# clippaste | <command> - pastes contents and pipes it to another process | |
# | |
# clippaste > <file> - paste contents to a file | |
# | |
# Examples: | |
# | |
# # Pipe to another process | |
# clippaste | grep foo | |
# | |
# # Paste to a file | |
# clippaste > file.txt | |
# | |
function detect-clipboard() { | |
emulate -L zsh | |
if [[ "${OSTYPE}" == darwin* ]] && (( ${+commands[pbcopy]} )) && (( ${+commands[pbpaste]} )); then | |
function clipcopy() { pbcopy < "${1:-/dev/stdin}"; } | |
function clippaste() { pbpaste; } | |
elif [[ "${OSTYPE}" == (cygwin|msys)* ]]; then | |
function clipcopy() { cat "${1:-/dev/stdin}" > /dev/clipboard; } | |
function clippaste() { cat /dev/clipboard; } | |
elif [ -n "${WAYLAND_DISPLAY:-}" ] && (( ${+commands[wl-copy]} )) && (( ${+commands[wl-paste]} )); then | |
function clipcopy() { wl-copy < "${1:-/dev/stdin}"; } | |
function clippaste() { wl-paste; } | |
elif [ -n "${DISPLAY:-}" ] && (( ${+commands[xclip]} )); then | |
function clipcopy() { xclip -in -selection clipboard < "${1:-/dev/stdin}"; } | |
function clippaste() { xclip -out -selection clipboard; } | |
elif [ -n "${DISPLAY:-}" ] && (( ${+commands[xsel]} )); then | |
function clipcopy() { xsel --clipboard --input < "${1:-/dev/stdin}"; } | |
function clippaste() { xsel --clipboard --output; } | |
elif (( ${+commands[lemonade]} )); then | |
function clipcopy() { lemonade copy < "${1:-/dev/stdin}"; } | |
function clippaste() { lemonade paste; } | |
elif (( ${+commands[doitclient]} )); then | |
function clipcopy() { doitclient wclip < "${1:-/dev/stdin}"; } | |
function clippaste() { doitclient wclip -r; } | |
elif (( ${+commands[win32yank]} )); then | |
function clipcopy() { win32yank -i < "${1:-/dev/stdin}"; } | |
function clippaste() { win32yank -o; } | |
elif [[ $OSTYPE == linux-android* ]] && (( $+commands[termux-clipboard-set] )); then | |
function clipcopy() { termux-clipboard-set "${1:-/dev/stdin}"; } | |
function clippaste() { termux-clipboard-get; } | |
elif [ -n "${TMUX:-}" ] && (( ${+commands[tmux]} )); then | |
function clipcopy() { tmux load-buffer "${1:--}"; } | |
function clippaste() { tmux save-buffer -; } | |
elif [[ $(uname -r) = *icrosoft* ]]; then | |
function clipcopy() { clip.exe < "${1:-/dev/stdin}"; } | |
function clippaste() { powershell.exe -noprofile -command Get-Clipboard; } | |
else | |
function _retry_clipboard_detection_or_fail() { | |
local clipcmd="${1}"; shift | |
if detect-clipboard; then | |
"${clipcmd}" "$@" | |
else | |
print "${clipcmd}: Platform $OSTYPE not supported or xclip/xsel not installed" >&2 | |
return 1 | |
fi | |
} | |
function clipcopy() { _retry_clipboard_detection_or_fail clipcopy "$@"; } | |
function clippaste() { _retry_clipboard_detection_or_fail clippaste "$@"; } | |
return 1 | |
fi | |
} | |
# Detect at startup. A non-zero exit here indicates that the dummy clipboards were set, | |
# which is not really an error. If the user calls them, they will attempt to redetect | |
# (for example, perhaps the user has now installed xclip) and then either print an error | |
# or proceed successfully. | |
detect-clipboard || true | |
+/home/h/.oh-my-zsh/lib/clipboard.zsh:107> detect-clipboard | |
+detect-clipboard:1> emulate -L zsh | |
+detect-clipboard:3> [[ linux-gnu == darwin* ]] | |
+detect-clipboard:6> [[ linux-gnu == (cygwin|msys)* ]] | |
+detect-clipboard:9> [ -n '' ']' | |
+detect-clipboard:12> [ -n :0 ']' | |
+detect-clipboard:12> (( 0 )) | |
+detect-clipboard:15> [ -n :0 ']' | |
+detect-clipboard:15> (( 1 )) | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/cli.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/cli.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/cli.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/cli.zsh | |
#!/usr/bin/env zsh | |
function omz { | |
[[ $# -gt 0 ]] || { | |
_omz::help | |
return 1 | |
} | |
local command="$1" | |
shift | |
# Subcommand functions start with _ so that they don't | |
# appear as completion entries when looking for `omz` | |
(( $+functions[_omz::$command] )) || { | |
_omz::help | |
return 1 | |
} | |
_omz::$command "$@" | |
} | |
function _omz { | |
local -a cmds subcmds | |
cmds=( | |
'changelog:Print the changelog' | |
'help:Usage information' | |
'plugin:Manage plugins' | |
'pr:Manage Oh My Zsh Pull Requests' | |
'theme:Manage themes' | |
'update:Update Oh My Zsh' | |
) | |
if (( CURRENT == 2 )); then | |
_describe 'command' cmds | |
elif (( CURRENT == 3 )); then | |
case "$words[2]" in | |
changelog) local -a refs | |
refs=("${(@f)$(command git for-each-ref --format="%(refname:short):%(subject)" refs/heads refs/tags)}") | |
_describe 'command' refs ;; | |
plugin) subcmds=('info:Get plugin information' 'list:List plugins') | |
_describe 'command' subcmds ;; | |
pr) subcmds=('test:Test a Pull Request' 'clean:Delete all Pull Request branches') | |
_describe 'command' subcmds ;; | |
theme) subcmds=('use:Load a theme' 'list:List themes') | |
_describe 'command' subcmds ;; | |
esac | |
elif (( CURRENT == 4 )); then | |
case "$words[2]::$words[3]" in | |
plugin::info) compadd "$ZSH"/plugins/*/README.md(.N:h:t) \ | |
"$ZSH_CUSTOM"/plugins/*/README.md(.N:h:t) ;; | |
theme::use) compadd "$ZSH"/themes/*.zsh-theme(.N:t:r) \ | |
"$ZSH_CUSTOM"/**/*.zsh-theme(.N:r:gs:"$ZSH_CUSTOM"/themes/:::gs:"$ZSH_CUSTOM"/:::) ;; | |
esac | |
fi | |
return 0 | |
} | |
compdef _omz omz | |
+/home/h/.oh-my-zsh/lib/cli.zsh:59> compdef _omz omz | |
+compdef:1> local opt autol type func delete eval new i ret=0 cmd svc | |
+compdef:2> local -a match mbegin mend | |
+compdef:4> emulate -L zsh | |
+compdef:5> setopt extendedglob | |
+compdef:9> (( ! 2 )) | |
+compdef:14> getopts anpPkKde opt | |
+compdef:38> shift OPTIND-1 | |
+compdef:40> (( ! 2 )) | |
+compdef:45> [[ -z '' ]] | |
+compdef:49> [[ -z '' ]] | |
+compdef:49> [[ _omz = *=* ]] | |
+compdef:79> func=_omz | |
+compdef:80> [[ -n '' ]] | |
+compdef:81> shift | |
+compdef:83> case (widgetkey) | |
+compdef:83> case (key) | |
+compdef:83> case (*) | |
+compdef:131> (( 1 )) | |
+compdef:132> [[ omz = -N ]] | |
+compdef:134> [[ omz = -p ]] | |
+compdef:136> [[ omz = -P ]] | |
+compdef:139> case (pattern) | |
+compdef:139> case (postpattern) | |
+compdef:139> case (*) | |
+compdef:155> [[ omz = *=* ]] | |
+compdef:159> cmd=omz | |
+compdef:160> svc='' | |
+compdef:162> [[ -z '' ]] | |
+compdef:163> _comps[$cmd]=_omz | |
+compdef:164> [[ -n '' ]] | |
+compdef:169> shift | |
+compdef:131> (( 0 )) | |
## Utility functions | |
function _omz::confirm { | |
# If question supplied, ask it before reading the answer | |
# NOTE: uses the logname of the caller function | |
if [[ -n "$1" ]]; then | |
_omz::log prompt "$1" "${${functrace[1]#_}%:*}" | |
fi | |
# Read one character | |
read -r -k 1 | |
# If no newline entered, add a newline | |
if [[ "$REPLY" != $'\n' ]]; then | |
echo | |
fi | |
} | |
function _omz::log { | |
# if promptsubst is set, a message with `` or $() | |
# will be run even if quoted due to `print -P` | |
setopt localoptions nopromptsubst | |
# $1 = info|warn|error|debug | |
# $2 = text | |
# $3 = (optional) name of the logger | |
local logtype=$1 | |
local logname=${3:-${${functrace[1]#_}%:*}} | |
# Don't print anything if debug is not active | |
if [[ $logtype = debug && -z $_OMZ_DEBUG ]]; then | |
return | |
fi | |
# Choose coloring based on log type | |
case "$logtype" in | |
prompt) print -Pn "%S%F{blue}$logname%f%s: $2" ;; | |
debug) print -P "%F{white}$logname%f: $2" ;; | |
info) print -P "%F{green}$logname%f: $2" ;; | |
warn) print -P "%S%F{yellow}$logname%f%s: $2" ;; | |
error) print -P "%S%F{red}$logname%f%s: $2" ;; | |
esac >&2 | |
} | |
## User-facing commands | |
function _omz::help { | |
cat <<EOF | |
Usage: omz <command> [options] | |
Available commands: | |
help Print this help message | |
changelog Print the changelog | |
plugin <command> Manage plugins | |
pr <command> Manage Oh My Zsh Pull Requests | |
theme <command> Manage themes | |
update Update Oh My Zsh | |
EOF | |
} | |
function _omz::changelog { | |
local version=${1:-HEAD} format=${3:-"--text"} | |
if ! command git -C "$ZSH" show-ref --verify refs/heads/$version &>/dev/null && \ | |
! command git -C "$ZSH" show-ref --verify refs/tags/$version &>/dev/null && \ | |
! command git -C "$ZSH" rev-parse --verify "${version}^{commit}" &>/dev/null; then | |
cat <<EOF | |
Usage: omz changelog [version] | |
NOTE: <version> must be a valid branch, tag or commit. | |
EOF | |
return 1 | |
fi | |
"$ZSH/tools/changelog.sh" "$version" "${2:-}" "$format" | |
} | |
function _omz::plugin { | |
(( $# > 0 && $+functions[_omz::plugin::$1] )) || { | |
cat <<EOF | |
Usage: omz plugin <command> [options] | |
Available commands: | |
info <plugin> Get information of a plugin | |
list List all available Oh My Zsh plugins | |
EOF | |
return 1 | |
} | |
local command="$1" | |
shift | |
_omz::plugin::$command "$@" | |
} | |
function _omz::plugin::info { | |
if [[ -z "$1" ]]; then | |
echo >&2 "Usage: omz plugin info <plugin>" | |
return 1 | |
fi | |
local readme | |
for readme in "$ZSH_CUSTOM/plugins/$1/README.md" "$ZSH/plugins/$1/README.md"; do | |
if [[ -f "$readme" ]]; then | |
(( ${+commands[less]} )) && less "$readme" || cat "$readme" | |
return 0 | |
fi | |
done | |
if [[ -d "$ZSH_CUSTOM/plugins/$1" || -d "$ZSH/plugins/$1" ]]; then | |
_omz::log error "the '$1' plugin doesn't have a README file" | |
else | |
_omz::log error "'$1' plugin not found" | |
fi | |
return 1 | |
} | |
function _omz::plugin::list { | |
local -a custom_plugins builtin_plugins | |
custom_plugins=("$ZSH_CUSTOM"/plugins/*(-/N:t)) | |
builtin_plugins=("$ZSH"/plugins/*(-/N:t)) | |
# If the command is being piped, print all found line by line | |
if [[ ! -t 1 ]]; then | |
print -l ${(q-)custom_plugins} ${(q-)builtin_plugins} | |
return | |
fi | |
if (( ${#custom_plugins} )); then | |
print -P "%U%BCustom plugins%b%u:" | |
print -l ${(q-)custom_plugins} | column | |
fi | |
if (( ${#builtin_plugins} )); then | |
(( ${#custom_plugins} )) && echo # add a line of separation | |
print -P "%U%BBuilt-in plugins%b%u:" | |
print -l ${(q-)builtin_plugins} | column | |
fi | |
} | |
function _omz::pr { | |
(( $# > 0 && $+functions[_omz::pr::$1] )) || { | |
cat <<EOF | |
Usage: omz pr <command> [options] | |
Available commands: | |
clean Delete all PR branches (ohmyzsh/pull-*) | |
test <PR_number_or_URL> Fetch PR #NUMBER and rebase against master | |
EOF | |
return 1 | |
} | |
local command="$1" | |
shift | |
_omz::pr::$command "$@" | |
} | |
function _omz::pr::clean { | |
( | |
set -e | |
builtin cd -q "$ZSH" | |
# Check if there are PR branches | |
local fmt branches | |
fmt="%(color:bold blue)%(align:18,right)%(refname:short)%(end)%(color:reset) %(color:dim bold red)%(objectname:short)%(color:reset) %(color:yellow)%(contents:subject)" | |
branches="$(command git for-each-ref --sort=-committerdate --color --format="$fmt" "refs/heads/ohmyzsh/pull-*")" | |
# Exit if there are no PR branches | |
if [[ -z "$branches" ]]; then | |
_omz::log info "there are no Pull Request branches to remove." | |
return | |
fi | |
# Print found PR branches | |
echo "$branches\n" | |
# Confirm before removing the branches | |
_omz::confirm "do you want remove these Pull Request branches? [Y/n] " | |
# Only proceed if the answer is a valid yes option | |
[[ "$REPLY" != [yY$'\n'] ]] && return | |
_omz::log info "removing all Oh My Zsh Pull Request branches..." | |
command git branch --list 'ohmyzsh/pull-*' | while read branch; do | |
command git branch -D "$branch" | |
done | |
) | |
} | |
function _omz::pr::test { | |
# Allow $1 to be a URL to the pull request | |
if [[ "$1" = https://* ]]; then | |
1="${1:t}" | |
fi | |
# Check the input | |
if ! [[ -n "$1" && "$1" =~ ^[[:digit:]]+$ ]]; then | |
echo >&2 "Usage: omz pr test <PR_NUMBER_or_URL>" | |
return 1 | |
fi | |
# Save current git HEAD | |
local branch | |
branch=$(builtin cd -q "$ZSH"; git symbolic-ref --short HEAD) || { | |
_omz::log error "error when getting the current git branch. Aborting..." | |
return 1 | |
} | |
# Fetch PR onto ohmyzsh/pull-<PR_NUMBER> branch and rebase against master | |
# If any of these operations fail, undo the changes made | |
( | |
set -e | |
builtin cd -q "$ZSH" | |
# Get the ohmyzsh git remote | |
command git remote -v | while read remote url _; do | |
case "$url" in | |
https://github.com/ohmyzsh/ohmyzsh(|.git)) found=1; break ;; | |
[email protected]:ohmyzsh/ohmyzsh(|.git)) found=1; break ;; | |
esac | |
done | |
(( $found )) || { | |
_omz::log error "could not found the ohmyzsh git remote. Aborting..." | |
return 1 | |
} | |
# Fetch pull request head | |
_omz::log info "fetching PR #$1 to ohmyzsh/pull-$1..." | |
command git fetch -f "$remote" refs/pull/$1/head:ohmyzsh/pull-$1 || { | |
_omz::log error "error when trying to fetch PR #$1." | |
return 1 | |
} | |
# Rebase pull request branch against the current master | |
_omz::log info "rebasing PR #$1..." | |
command git rebase master ohmyzsh/pull-$1 || { | |
command git rebase --abort &>/dev/null | |
_omz::log warn "could not rebase PR #$1 on top of master." | |
_omz::log warn "you might not see the latest stable changes." | |
_omz::log info "run \`zsh\` to test the changes." | |
return 1 | |
} | |
_omz::log info "fetch of PR #${1} successful." | |
) | |
# If there was an error, abort running zsh to test the PR | |
[[ $? -eq 0 ]] || return 1 | |
# Run zsh to test the changes | |
_omz::log info "running \`zsh\` to test the changes. Run \`exit\` to go back." | |
command zsh -l | |
# After testing, go back to the previous HEAD if the user wants | |
_omz::confirm "do you want to go back to the previous branch? [Y/n] " | |
# Only proceed if the answer is a valid yes option | |
[[ "$REPLY" != [yY$'\n'] ]] && return | |
( | |
set -e | |
builtin cd -q "$ZSH" | |
command git checkout "$branch" -- || { | |
_omz::log error "could not go back to the previous branch ('$branch')." | |
return 1 | |
} | |
) | |
} | |
function _omz::theme { | |
(( $# > 0 && $+functions[_omz::theme::$1] )) || { | |
cat <<EOF | |
Usage: omz theme <command> [options] | |
Available commands: | |
list List all available Oh My Zsh themes | |
use <theme> Load an Oh My Zsh theme | |
EOF | |
return 1 | |
} | |
local command="$1" | |
shift | |
_omz::theme::$command "$@" | |
} | |
function _omz::theme::list { | |
local -a custom_themes builtin_themes | |
custom_themes=("$ZSH_CUSTOM"/**/*.zsh-theme(-.N:r:gs:"$ZSH_CUSTOM"/themes/:::gs:"$ZSH_CUSTOM"/:::)) | |
builtin_themes=("$ZSH"/themes/*.zsh-theme(-.N:t:r)) | |
# If the command is being piped, print all found line by line | |
if [[ ! -t 1 ]]; then | |
print -l ${(q-)custom_themes} ${(q-)builtin_themes} | |
return | |
fi | |
if (( ${#custom_themes} )); then | |
print -P "%U%BCustom themes%b%u:" | |
print -l ${(q-)custom_themes} | column | |
fi | |
if (( ${#builtin_themes} )); then | |
(( ${#custom_themes} )) && echo # add a line of separation | |
print -P "%U%BBuilt-in themes%b%u:" | |
print -l ${(q-)builtin_themes} | column | |
fi | |
} | |
function _omz::theme::use { | |
if [[ -z "$1" ]]; then | |
echo >&2 "Usage: omz theme use <theme>" | |
return 1 | |
fi | |
# Respect compatibility with old lookup order | |
if [[ -f "$ZSH_CUSTOM/$1.zsh-theme" ]]; then | |
source "$ZSH_CUSTOM/$1.zsh-theme" | |
elif [[ -f "$ZSH_CUSTOM/themes/$1.zsh-theme" ]]; then | |
source "$ZSH_CUSTOM/themes/$1.zsh-theme" | |
elif [[ -f "$ZSH/themes/$1.zsh-theme" ]]; then | |
source "$ZSH/themes/$1.zsh-theme" | |
else | |
_omz::log error "theme '$1' not found" | |
return 1 | |
fi | |
} | |
function _omz::update { | |
local last_commit=$(cd "$ZSH"; git rev-parse HEAD) | |
# Run update script | |
if [[ "$1" != --unattended ]]; then | |
ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" --interactive | |
else | |
ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" | |
fi | |
# Update last updated file | |
zmodload zsh/datetime | |
echo "LAST_EPOCH=$(( EPOCHSECONDS / 60 / 60 / 24 ))" >! "${ZSH_CACHE_DIR}/.zsh-update" | |
# Remove update lock if it exists | |
command rm -rf "$ZSH/log/update.lock" | |
# Restart the zsh session if there were changes | |
if [[ "$1" != --unattended && "$(cd "$ZSH"; git rev-parse HEAD)" != "$last_commit" ]]; then | |
# Old zsh versions don't have ZSH_ARGZERO | |
local zsh="${ZSH_ARGZERO:-${functrace[-1]%:*}}" | |
# Check whether to run a login shell | |
[[ "$zsh" = -* || -o login ]] && exec -l "${zsh#-}" || exec "$zsh" | |
fi | |
} | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/compfix.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/compfix.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/compfix.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/compfix.zsh | |
# Handle completions insecurities (i.e., completion-dependent directories with | |
# insecure ownership or permissions) by: | |
# | |
# * Human-readably notifying the user of these insecurities. | |
function handle_completion_insecurities() { | |
# List of the absolute paths of all unique insecure directories, split on | |
# newline from compaudit()'s output resembling: | |
# | |
# There are insecure directories: | |
# /usr/share/zsh/site-functions | |
# /usr/share/zsh/5.0.6/functions | |
# /usr/share/zsh | |
# /usr/share/zsh/5.0.6 | |
# | |
# Since the ignorable first line is printed to stderr and thus not captured, | |
# stderr is squelched to prevent this output from leaking to the user. | |
local -aU insecure_dirs | |
insecure_dirs=( ${(f@):-"$(compaudit 2>/dev/null)"} ) | |
# If no such directories exist, get us out of here. | |
[[ -z "${insecure_dirs}" ]] && return | |
# List ownership and permissions of all insecure directories. | |
print "[oh-my-zsh] Insecure completion-dependent directories detected:" | |
ls -ld "${(@)insecure_dirs}" | |
cat <<EOD | |
[oh-my-zsh] For safety, we will not load completions from these directories until | |
[oh-my-zsh] you fix their permissions and ownership and restart zsh. | |
[oh-my-zsh] See the above list for directories with group or other writability. | |
[oh-my-zsh] To fix your permissions you can do so by disabling | |
[oh-my-zsh] the write permission of "group" and "others" and making sure that the | |
[oh-my-zsh] owner of these directories is either root or your current user. | |
[oh-my-zsh] The following command may help: | |
[oh-my-zsh] compaudit | xargs chmod g-w,o-w | |
[oh-my-zsh] If the above didn't help or you want to skip the verification of | |
[oh-my-zsh] insecure directories you can set the variable ZSH_DISABLE_COMPFIX to | |
[oh-my-zsh] "true" before oh-my-zsh is sourced in your zshrc file. | |
EOD | |
} | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/completion.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/completion.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/completion.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/completion.zsh | |
# fixme - the load process here seems a bit bizarre | |
zmodload -i zsh/complist | |
+/home/h/.oh-my-zsh/lib/completion.zsh:2> zmodload -i zsh/complist | |
WORDCHARS='' | |
+/home/h/.oh-my-zsh/lib/completion.zsh:4> WORDCHARS='' | |
unsetopt menu_complete # do not autoselect the first completion entry | |
+/home/h/.oh-my-zsh/lib/completion.zsh:6> unsetopt menu_complete | |
unsetopt flowcontrol | |
+/home/h/.oh-my-zsh/lib/completion.zsh:7> unsetopt flowcontrol | |
setopt auto_menu # show completion menu on successive tab press | |
+/home/h/.oh-my-zsh/lib/completion.zsh:8> setopt auto_menu | |
setopt complete_in_word | |
+/home/h/.oh-my-zsh/lib/completion.zsh:9> setopt complete_in_word | |
setopt always_to_end | |
+/home/h/.oh-my-zsh/lib/completion.zsh:10> setopt always_to_end | |
# should this be in keybindings? | |
bindkey -M menuselect '^o' accept-and-infer-next-history | |
+/home/h/.oh-my-zsh/lib/completion.zsh:13> bindkey -M menuselect '^o' accept-and-infer-next-history | |
zstyle ':completion:*:*:*:*:*' menu select | |
+/home/h/.oh-my-zsh/lib/completion.zsh:14> zstyle ':completion:*:*:*:*:*' menu select | |
# case insensitive (all), partial-word and substring completion | |
if [[ "$CASE_SENSITIVE" = true ]]; then | |
zstyle ':completion:*' matcher-list 'r:|=*' 'l:|=* r:|=*' | |
else | |
if [[ "$HYPHEN_INSENSITIVE" = true ]]; then | |
zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|=*' | |
else | |
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*' | |
fi | |
fi | |
+/home/h/.oh-my-zsh/lib/completion.zsh:17> [[ '' = true ]] | |
+/home/h/.oh-my-zsh/lib/completion.zsh:20> [[ '' = true ]] | |
+/home/h/.oh-my-zsh/lib/completion.zsh:23> zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*' | |
unset CASE_SENSITIVE HYPHEN_INSENSITIVE | |
+/home/h/.oh-my-zsh/lib/completion.zsh:26> unset CASE_SENSITIVE HYPHEN_INSENSITIVE | |
# Complete . and .. special directories | |
zstyle ':completion:*' special-dirs true | |
+/home/h/.oh-my-zsh/lib/completion.zsh:29> zstyle ':completion:*' special-dirs true | |
zstyle ':completion:*' list-colors '' | |
+/home/h/.oh-my-zsh/lib/completion.zsh:31> zstyle ':completion:*' list-colors '' | |
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01' | |
+/home/h/.oh-my-zsh/lib/completion.zsh:32> zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01' | |
if [[ "$OSTYPE" = solaris* ]]; then | |
zstyle ':completion:*:*:*:*:processes' command "ps -u $USERNAME -o pid,user,comm" | |
else | |
zstyle ':completion:*:*:*:*:processes' command "ps -u $USERNAME -o pid,user,comm -w -w" | |
fi | |
+/home/h/.oh-my-zsh/lib/completion.zsh:34> [[ linux-gnu = solaris* ]] | |
+/home/h/.oh-my-zsh/lib/completion.zsh:37> zstyle ':completion:*:*:*:*:processes' command 'ps -u h -o pid,user,comm -w -w' | |
# disable named-directories autocompletion | |
zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-directories | |
+/home/h/.oh-my-zsh/lib/completion.zsh:41> zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-directories | |
# Use caching so that commands like apt and dpkg complete are useable | |
zstyle ':completion:*' use-cache yes | |
+/home/h/.oh-my-zsh/lib/completion.zsh:44> zstyle ':completion:*' use-cache yes | |
zstyle ':completion:*' cache-path $ZSH_CACHE_DIR | |
+/home/h/.oh-my-zsh/lib/completion.zsh:45> zstyle ':completion:*' cache-path /home/h/.oh-my-zsh/cache | |
# Don't complete uninteresting users | |
zstyle ':completion:*:*:*:users' ignored-patterns \ | |
adm amanda apache at avahi avahi-autoipd beaglidx bin cacti canna \ | |
clamav daemon dbus distcache dnsmasq dovecot fax ftp games gdm \ | |
gkrellmd gopher hacluster haldaemon halt hsqldb ident junkbust kdm \ | |
ldap lp mail mailman mailnull man messagebus mldonkey mysql nagios \ | |
named netdump news nfsnobody nobody nscd ntp nut nx obsrun openvpn \ | |
operator pcap polkitd postfix postgres privoxy pulse pvm quagga radvd \ | |
rpc rpcuser rpm rtkit scard shutdown squid sshd statd svn sync tftp \ | |
usbmux uucp vcsa wwwrun xfs '_*' | |
+/home/h/.oh-my-zsh/lib/completion.zsh:48> zstyle ':completion:*:*:*:users' ignored-patterns adm amanda apache at avahi avahi-autoipd beaglidx bin cacti canna clamav daemon dbus distcache dnsmasq dovecot fax ftp games gdm gkrellmd gopher hacluster haldaemon halt hsqldb ident junkbust kdm ldap lp mail mailman mailnull man messagebus mldonkey mysql nagios named netdump news nfsnobody nobody nscd ntp nut nx obsrun openvpn operator pcap polkitd postfix postgres privoxy pulse pvm quagga radvd rpc rpcuser rpm rtkit scard shutdown squid sshd statd svn sync tftp usbmux uucp vcsa wwwrun xfs '_*' | |
# ... unless we really want to. | |
zstyle '*' single-ignored show | |
+/home/h/.oh-my-zsh/lib/completion.zsh:59> zstyle '*' single-ignored show | |
if [[ $COMPLETION_WAITING_DOTS = true ]]; then | |
expand-or-complete-with-dots() { | |
print -Pn "%F{red}…%f" | |
zle expand-or-complete | |
zle redisplay | |
} | |
zle -N expand-or-complete-with-dots | |
# Set the function as the default tab completion widget | |
bindkey -M emacs "^I" expand-or-complete-with-dots | |
bindkey -M viins "^I" expand-or-complete-with-dots | |
bindkey -M vicmd "^I" expand-or-complete-with-dots | |
fi | |
+/home/h/.oh-my-zsh/lib/completion.zsh:61> [[ '' = true ]] | |
# automatically load bash completion functions | |
autoload -U +X bashcompinit && bashcompinit | |
+/home/h/.oh-my-zsh/lib/completion.zsh:75> autoload -U +X bashcompinit | |
+/home/h/.oh-my-zsh/lib/completion.zsh:75> bashcompinit | |
+bashcompinit:177> unfunction bashcompinit | |
+bashcompinit:178> autoload -Uz bashcompinit | |
+bashcompinit:179> return 0 | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/correction.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/correction.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/correction.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/correction.zsh | |
if [[ "$ENABLE_CORRECTION" == "true" ]]; then | |
alias cp='nocorrect cp' | |
alias ebuild='nocorrect ebuild' | |
alias gist='nocorrect gist' | |
alias heroku='nocorrect heroku' | |
alias hpodder='nocorrect hpodder' | |
alias man='nocorrect man' | |
alias mkdir='nocorrect mkdir' | |
alias mv='nocorrect mv' | |
alias mysql='nocorrect mysql' | |
alias sudo='nocorrect sudo' | |
setopt correct_all | |
fi | |
+/home/h/.oh-my-zsh/lib/correction.zsh:1> [[ '' == true ]] | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/diagnostics.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/diagnostics.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/diagnostics.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/diagnostics.zsh | |
# diagnostics.zsh | |
# | |
# Diagnostic and debugging support for oh-my-zsh | |
# omz_diagnostic_dump() | |
# | |
# Author: Andrew Janke <[email protected]> | |
# | |
# Usage: | |
# | |
# omz_diagnostic_dump [-v] [-V] [file] | |
# | |
# NOTE: This is a work in progress. Its interface and behavior are going to change, | |
# and probably in non-back-compatible ways. | |
# | |
# Outputs a bunch of information about the state and configuration of | |
# oh-my-zsh, zsh, and the user's system. This is intended to provide a | |
# bunch of context for diagnosing your own or a third party's problems, and to | |
# be suitable for posting to public bug reports. | |
# | |
# The output is human-readable and its format may change over time. It is not | |
# suitable for parsing. All the output is in one single file so it can be posted | |
# as a gist or bug comment on GitHub. GitHub doesn't support attaching tarballs | |
# or other files to bugs; otherwise, this would probably have an option to produce | |
# tarballs that contain copies of the config and customization files instead of | |
# catting them all in to one file. | |
# | |
# This is intended to be widely portable, and run anywhere that oh-my-zsh does. | |
# Feel free to report any portability issues as bugs. | |
# | |
# This is written in a defensive style so it still works (and can detect) cases when | |
# basic functionality like echo and which have been redefined. In particular, almost | |
# everything is invoked with "builtin" or "command", to work in the face of user | |
# redefinitions. | |
# | |
# OPTIONS | |
# | |
# [file] Specifies the output file. If not given, a file in the current directory | |
# is selected automatically. | |
# | |
# -v Increase the verbosity of the dump output. May be specified multiple times. | |
# Verbosity levels: | |
# 0 - Basic info, shell state, omz configuration, git state | |
# 1 - (default) Adds key binding info and configuration file contents | |
# 2 - Adds zcompdump file contents | |
# | |
# -V Reduce the verbosity of the dump output. May be specified multiple times. | |
# | |
# TODO: | |
# * Multi-file capture | |
# * Add automatic gist uploading | |
# * Consider whether to move default output file location to TMPDIR. More robust | |
# but less user friendly. | |
# | |
autoload -Uz is-at-least | |
+/home/h/.oh-my-zsh/lib/diagnostics.zsh:56> autoload -Uz is-at-least | |
function omz_diagnostic_dump() { | |
emulate -L zsh | |
builtin echo "Generating diagnostic dump; please be patient..." | |
local thisfcn=omz_diagnostic_dump | |
local -A opts | |
local opt_verbose opt_noverbose opt_outfile | |
local timestamp=$(date +%Y%m%d-%H%M%S) | |
local outfile=omz_diagdump_$timestamp.txt | |
builtin zparseopts -A opts -D -- "v+=opt_verbose" "V+=opt_noverbose" | |
local verbose n_verbose=${#opt_verbose} n_noverbose=${#opt_noverbose} | |
(( verbose = 1 + n_verbose - n_noverbose )) | |
if [[ ${#*} > 0 ]]; then | |
opt_outfile=$1 | |
fi | |
if [[ ${#*} > 1 ]]; then | |
builtin echo "$thisfcn: error: too many arguments" >&2 | |
return 1 | |
fi | |
if [[ -n "$opt_outfile" ]]; then | |
outfile="$opt_outfile" | |
fi | |
# Always write directly to a file so terminal escape sequences are | |
# captured cleanly | |
_omz_diag_dump_one_big_text &> "$outfile" | |
if [[ $? != 0 ]]; then | |
builtin echo "$thisfcn: error while creating diagnostic dump; see $outfile for details" | |
fi | |
builtin echo | |
builtin echo Diagnostic dump file created at: "$outfile" | |
builtin echo | |
builtin echo To share this with OMZ developers, post it as a gist on GitHub | |
builtin echo at "https://gist.github.com" and share the link to the gist. | |
builtin echo | |
builtin echo "WARNING: This dump file contains all your zsh and omz configuration files," | |
builtin echo "so don't share it publicly if there's sensitive information in them." | |
builtin echo | |
} | |
function _omz_diag_dump_one_big_text() { | |
local program programs progfile md5 | |
builtin echo oh-my-zsh diagnostic dump | |
builtin echo | |
builtin echo $outfile | |
builtin echo | |
# Basic system and zsh information | |
command date | |
command uname -a | |
builtin echo OSTYPE=$OSTYPE | |
builtin echo ZSH_VERSION=$ZSH_VERSION | |
builtin echo User: $USERNAME | |
builtin echo umask: $(umask) | |
builtin echo | |
_omz_diag_dump_os_specific_version | |
builtin echo | |
# Installed programs | |
programs=(sh zsh ksh bash sed cat grep ls find git posh) | |
local progfile="" extra_str="" sha_str="" | |
for program in $programs; do | |
extra_str="" sha_str="" | |
progfile=$(builtin which $program) | |
if [[ $? == 0 ]]; then | |
if [[ -e $progfile ]]; then | |
if builtin whence shasum &>/dev/null; then | |
sha_str=($(command shasum $progfile)) | |
sha_str=$sha_str[1] | |
extra_str+=" SHA $sha_str" | |
fi | |
if [[ -h "$progfile" ]]; then | |
extra_str+=" ( -> ${progfile:A} )" | |
fi | |
fi | |
builtin printf '%-9s %-20s %s\n' "$program is" "$progfile" "$extra_str" | |
else | |
builtin echo "$program: not found" | |
fi | |
done | |
builtin echo | |
builtin echo Command Versions: | |
builtin echo "zsh: $(zsh --version)" | |
builtin echo "this zsh session: $ZSH_VERSION" | |
builtin echo "bash: $(bash --version | command grep bash)" | |
builtin echo "git: $(git --version)" | |
builtin echo "grep: $(grep --version)" | |
builtin echo | |
# Core command definitions | |
_omz_diag_dump_check_core_commands || return 1 | |
builtin echo | |
# ZSH Process state | |
builtin echo Process state: | |
builtin echo pwd: $PWD | |
if builtin whence pstree &>/dev/null; then | |
builtin echo Process tree for this shell: | |
pstree -p $$ | |
else | |
ps -fT | |
fi | |
builtin set | command grep -a '^\(ZSH\|plugins\|TERM\|LC_\|LANG\|precmd\|chpwd\|preexec\|FPATH\|TTY\|DISPLAY\|PATH\)\|OMZ' | |
builtin echo | |
#TODO: Should this include `env` instead of or in addition to `export`? | |
builtin echo Exported: | |
builtin echo $(builtin export | command sed 's/=.*//') | |
builtin echo | |
builtin echo Locale: | |
command locale | |
builtin echo | |
# Zsh installation and configuration | |
builtin echo Zsh configuration: | |
builtin echo setopt: $(builtin setopt) | |
builtin echo | |
builtin echo zstyle: | |
builtin zstyle | |
builtin echo | |
builtin echo 'compaudit output:' | |
compaudit | |
builtin echo | |
builtin echo '$fpath directories:' | |
command ls -lad $fpath | |
builtin echo | |
# Oh-my-zsh installation | |
builtin echo oh-my-zsh installation: | |
command ls -ld ~/.z* | |
command ls -ld ~/.oh* | |
builtin echo | |
builtin echo oh-my-zsh git state: | |
(builtin cd $ZSH && builtin echo "HEAD: $(git rev-parse HEAD)" && git remote -v && git status | command grep "[^[:space:]]") | |
if [[ $verbose -ge 1 ]]; then | |
(builtin cd $ZSH && git reflog --date=default | command grep pull) | |
fi | |
builtin echo | |
if [[ -e $ZSH_CUSTOM ]]; then | |
local custom_dir=$ZSH_CUSTOM | |
if [[ -h $custom_dir ]]; then | |
custom_dir=$(builtin cd $custom_dir && pwd -P) | |
fi | |
builtin echo "oh-my-zsh custom dir:" | |
builtin echo " $ZSH_CUSTOM ($custom_dir)" | |
(builtin cd ${custom_dir:h} && command find ${custom_dir:t} -name .git -prune -o -print) | |
builtin echo | |
fi | |
# Key binding and terminal info | |
if [[ $verbose -ge 1 ]]; then | |
builtin echo "bindkey:" | |
builtin bindkey | |
builtin echo | |
builtin echo "infocmp:" | |
command infocmp -L | |
builtin echo | |
fi | |
# Configuration file info | |
local zdotdir=${ZDOTDIR:-$HOME} | |
builtin echo "Zsh configuration files:" | |
local cfgfile cfgfiles | |
# Some files for bash that zsh does not use are intentionally included | |
# to help with diagnosing behavior differences between bash and zsh | |
cfgfiles=( /etc/zshenv /etc/zprofile /etc/zshrc /etc/zlogin /etc/zlogout | |
$zdotdir/.zshenv $zdotdir/.zprofile $zdotdir/.zshrc $zdotdir/.zlogin $zdotdir/.zlogout | |
~/.zsh.pre-oh-my-zsh | |
/etc/bashrc /etc/profile ~/.bashrc ~/.profile ~/.bash_profile ~/.bash_logout ) | |
command ls -lad $cfgfiles 2>&1 | |
builtin echo | |
if [[ $verbose -ge 1 ]]; then | |
for cfgfile in $cfgfiles; do | |
_omz_diag_dump_echo_file_w_header $cfgfile | |
done | |
fi | |
builtin echo | |
builtin echo "Zsh compdump files:" | |
local dumpfile dumpfiles | |
command ls -lad $zdotdir/.zcompdump* | |
dumpfiles=( $zdotdir/.zcompdump*(N) ) | |
if [[ $verbose -ge 2 ]]; then | |
for dumpfile in $dumpfiles; do | |
_omz_diag_dump_echo_file_w_header $dumpfile | |
done | |
fi | |
} | |
function _omz_diag_dump_check_core_commands() { | |
builtin echo "Core command check:" | |
local redefined name builtins externals reserved_words | |
redefined=() | |
# All the zsh non-module builtin commands | |
# These are taken from the zsh reference manual for 5.0.2 | |
# Commands from modules should not be included. | |
# (For back-compatibility, if any of these are newish, they should be removed, | |
# or at least made conditional on the version of the current running zsh.) | |
# "history" is also excluded because OMZ is known to redefine that | |
reserved_words=( do done esac then elif else fi for case if while function | |
repeat time until select coproc nocorrect foreach end '!' '[[' '{' '}' | |
) | |
builtins=( alias autoload bg bindkey break builtin bye cd chdir command | |
comparguments compcall compctl compdescribe compfiles compgroups compquote comptags | |
comptry compvalues continue dirs disable disown echo echotc echoti emulate | |
enable eval exec exit false fc fg functions getln getopts hash | |
jobs kill let limit log logout noglob popd print printf | |
pushd pushln pwd r read rehash return sched set setopt shift | |
source suspend test times trap true ttyctl type ulimit umask unalias | |
unfunction unhash unlimit unset unsetopt vared wait whence where which zcompile | |
zle zmodload zparseopts zregexparse zstyle ) | |
if is-at-least 5.1; then | |
reserved_word+=( declare export integer float local readonly typeset ) | |
else | |
builtins+=( declare export integer float local readonly typeset ) | |
fi | |
builtins_fatal=( builtin command local ) | |
externals=( zsh ) | |
for name in $reserved_words; do | |
if [[ $(builtin whence -w $name) != "$name: reserved" ]]; then | |
builtin echo "reserved word '$name' has been redefined" | |
builtin which $name | |
redefined+=$name | |
fi | |
done | |
for name in $builtins; do | |
if [[ $(builtin whence -w $name) != "$name: builtin" ]]; then | |
builtin echo "builtin '$name' has been redefined" | |
builtin which $name | |
redefined+=$name | |
fi | |
done | |
for name in $externals; do | |
if [[ $(builtin whence -w $name) != "$name: command" ]]; then | |
builtin echo "command '$name' has been redefined" | |
builtin which $name | |
redefined+=$name | |
fi | |
done | |
if [[ -n "$redefined" ]]; then | |
builtin echo "SOME CORE COMMANDS HAVE BEEN REDEFINED: $redefined" | |
else | |
builtin echo "All core commands are defined normally" | |
fi | |
} | |
function _omz_diag_dump_echo_file_w_header() { | |
local file=$1 | |
if [[ ( -f $file || -h $file ) ]]; then | |
builtin echo "========== $file ==========" | |
if [[ -h $file ]]; then | |
builtin echo "========== ( => ${file:A} ) ==========" | |
fi | |
command cat $file | |
builtin echo "========== end $file ==========" | |
builtin echo | |
elif [[ -d $file ]]; then | |
builtin echo "File '$file' is a directory" | |
elif [[ ! -e $file ]]; then | |
builtin echo "File '$file' does not exist" | |
else | |
command ls -lad "$file" | |
fi | |
} | |
function _omz_diag_dump_os_specific_version() { | |
local osname osver version_file version_files | |
case "$OSTYPE" in | |
darwin*) | |
osname=$(command sw_vers -productName) | |
osver=$(command sw_vers -productVersion) | |
builtin echo "OS Version: $osname $osver build $(sw_vers -buildVersion)" | |
;; | |
cygwin) | |
command systeminfo | command head -4 | command tail -2 | |
;; | |
esac | |
if builtin which lsb_release >/dev/null; then | |
builtin echo "OS Release: $(command lsb_release -s -d)" | |
fi | |
version_files=( /etc/*-release(N) /etc/*-version(N) /etc/*_version(N) ) | |
for version_file in $version_files; do | |
builtin echo "$version_file:" | |
command cat "$version_file" | |
builtin echo | |
done | |
} | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/directories.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/directories.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/directories.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/directories.zsh | |
# Changing/making/removing directory | |
setopt auto_pushd | |
+/home/h/.oh-my-zsh/lib/directories.zsh:2> setopt auto_pushd | |
setopt pushd_ignore_dups | |
+/home/h/.oh-my-zsh/lib/directories.zsh:3> setopt pushd_ignore_dups | |
setopt pushdminus | |
+/home/h/.oh-my-zsh/lib/directories.zsh:4> setopt pushdminus | |
alias -g ...='../..' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:6> alias -g '...=../..' | |
alias -g ....='../../..' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:7> alias -g '....=../../..' | |
alias -g .....='../../../..' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:8> alias -g '.....=../../../..' | |
alias -g ......='../../../../..' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:9> alias -g '......=../../../../..' | |
alias -- -='cd -' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:11> alias -- '-=cd -' | |
alias 1='cd -' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:12> alias '1=cd -' | |
alias 2='cd -2' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:13> alias '2=cd -2' | |
alias 3='cd -3' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:14> alias '3=cd -3' | |
alias 4='cd -4' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:15> alias '4=cd -4' | |
alias 5='cd -5' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:16> alias '5=cd -5' | |
alias 6='cd -6' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:17> alias '6=cd -6' | |
alias 7='cd -7' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:18> alias '7=cd -7' | |
alias 8='cd -8' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:19> alias '8=cd -8' | |
alias 9='cd -9' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:20> alias '9=cd -9' | |
alias md='mkdir -p' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:22> alias 'md=mkdir -p' | |
alias rd=rmdir | |
+/home/h/.oh-my-zsh/lib/directories.zsh:23> alias 'rd=rmdir' | |
function d () { | |
if [[ -n $1 ]]; then | |
dirs "$@" | |
else | |
dirs -v | head -10 | |
fi | |
} | |
compdef _dirs d | |
+/home/h/.oh-my-zsh/lib/directories.zsh:32> compdef _dirs d | |
+compdef:1> local opt autol type func delete eval new i ret=0 cmd svc | |
+compdef:2> local -a match mbegin mend | |
+compdef:4> emulate -L zsh | |
+compdef:5> setopt extendedglob | |
+compdef:9> (( ! 2 )) | |
+compdef:14> getopts anpPkKde opt | |
+compdef:38> shift OPTIND-1 | |
+compdef:40> (( ! 2 )) | |
+compdef:45> [[ -z '' ]] | |
+compdef:49> [[ -z '' ]] | |
+compdef:49> [[ _dirs = *=* ]] | |
+compdef:79> func=_dirs | |
+compdef:80> [[ -n '' ]] | |
+compdef:81> shift | |
+compdef:83> case (widgetkey) | |
+compdef:83> case (key) | |
+compdef:83> case (*) | |
+compdef:131> (( 1 )) | |
+compdef:132> [[ d = -N ]] | |
+compdef:134> [[ d = -p ]] | |
+compdef:136> [[ d = -P ]] | |
+compdef:139> case (pattern) | |
+compdef:139> case (postpattern) | |
+compdef:139> case (*) | |
+compdef:155> [[ d = *=* ]] | |
+compdef:159> cmd=d | |
+compdef:160> svc='' | |
+compdef:162> [[ -z '' ]] | |
+compdef:163> _comps[$cmd]=_dirs | |
+compdef:164> [[ -n '' ]] | |
+compdef:169> shift | |
+compdef:131> (( 0 )) | |
# List directory contents | |
alias lsa='ls -lah' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:35> alias 'lsa=ls -lah' | |
alias l='ls -lah' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:36> alias 'l=ls -lah' | |
alias ll='ls -lh' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:37> alias 'll=ls -lh' | |
alias la='ls -lAh' | |
+/home/h/.oh-my-zsh/lib/directories.zsh:38> alias 'la=ls -lAh' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/functions.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/functions.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/functions.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/functions.zsh | |
function zsh_stats() { | |
fc -l 1 \ | |
| awk '{ CMD[$2]++; count++; } END { for (a in CMD) print CMD[a] " " CMD[a]*100/count "% " a }' \ | |
| grep -v "./" | sort -nr | head -20 | column -c3 -s " " -t | nl | |
} | |
function uninstall_oh_my_zsh() { | |
env ZSH="$ZSH" sh "$ZSH/tools/uninstall.sh" | |
} | |
function upgrade_oh_my_zsh() { | |
echo >&2 "${fg[yellow]}Note: \`$0\` is deprecated. Use \`omz update\` instead.$reset_color" | |
omz update | |
} | |
function takedir() { | |
mkdir -p $@ && cd ${@:$#} | |
} | |
function open_command() { | |
local open_cmd | |
# define the open command | |
case "$OSTYPE" in | |
darwin*) open_cmd='open' ;; | |
cygwin*) open_cmd='cygstart' ;; | |
linux*) [[ "$(uname -r)" != *icrosoft* ]] && open_cmd='nohup xdg-open' || { | |
open_cmd='cmd.exe /c start ""' | |
[[ -e "$1" ]] && { 1="$(wslpath -w "${1:a}")" || return 1 } | |
} ;; | |
msys*) open_cmd='start ""' ;; | |
*) echo "Platform $OSTYPE not supported" | |
return 1 | |
;; | |
esac | |
${=open_cmd} "$@" &>/dev/null | |
} | |
function takeurl() { | |
data=$(mktemp) | |
curl -L $1 > $data | |
tar xf $data | |
thedir=$(tar tf $data | head -1) | |
rm $data | |
cd $thedir | |
} | |
function takegit() { | |
git clone $1 | |
cd $(basename ${1%%.git}) | |
} | |
function take() { | |
if [[ $1 =~ ^(https?|ftp).*\.tar\.(gz|bz2|xz)$ ]]; then | |
takeurl $1 | |
elif [[ $1 =~ ^([A-Za-z0-9]\+@|https?|git|ssh|ftps?|rsync).*\.git/?$ ]]; then | |
takegit $1 | |
else | |
takedir $1 | |
fi | |
} | |
# | |
# Get the value of an alias. | |
# | |
# Arguments: | |
# 1. alias - The alias to get its value from | |
# STDOUT: | |
# The value of alias $1 (if it has one). | |
# Return value: | |
# 0 if the alias was found, | |
# 1 if it does not exist | |
# | |
function alias_value() { | |
(( $+aliases[$1] )) && echo $aliases[$1] | |
} | |
# | |
# Try to get the value of an alias, | |
# otherwise return the input. | |
# | |
# Arguments: | |
# 1. alias - The alias to get its value from | |
# STDOUT: | |
# The value of alias $1, or $1 if there is no alias $1. | |
# Return value: | |
# Always 0 | |
# | |
function try_alias_value() { | |
alias_value "$1" || echo "$1" | |
} | |
# | |
# Set variable "$1" to default value "$2" if "$1" is not yet defined. | |
# | |
# Arguments: | |
# 1. name - The variable to set | |
# 2. val - The default value | |
# Return value: | |
# 0 if the variable exists, 3 if it was set | |
# | |
function default() { | |
(( $+parameters[$1] )) && return 0 | |
typeset -g "$1"="$2" && return 3 | |
} | |
# | |
# Set environment variable "$1" to default value "$2" if "$1" is not yet defined. | |
# | |
# Arguments: | |
# 1. name - The env variable to set | |
# 2. val - The default value | |
# Return value: | |
# 0 if the env variable exists, 3 if it was set | |
# | |
function env_default() { | |
[[ ${parameters[$1]} = *-export* ]] && return 0 | |
export "$1=$2" && return 3 | |
} | |
# Required for $langinfo | |
zmodload zsh/langinfo | |
+/home/h/.oh-my-zsh/lib/functions.zsh:124> zmodload zsh/langinfo | |
# URL-encode a string | |
# | |
# Encodes a string using RFC 2396 URL-encoding (%-escaped). | |
# See: https://www.ietf.org/rfc/rfc2396.txt | |
# | |
# By default, reserved characters and unreserved "mark" characters are | |
# not escaped by this function. This allows the common usage of passing | |
# an entire URL in, and encoding just special characters in it, with | |
# the expectation that reserved and mark characters are used appropriately. | |
# The -r and -m options turn on escaping of the reserved and mark characters, | |
# respectively, which allows arbitrary strings to be fully escaped for | |
# embedding inside URLs, where reserved characters might be misinterpreted. | |
# | |
# Prints the encoded string on stdout. | |
# Returns nonzero if encoding failed. | |
# | |
# Usage: | |
# omz_urlencode [-r] [-m] [-P] <string> | |
# | |
# -r causes reserved characters (;/?:@&=+$,) to be escaped | |
# | |
# -m causes "mark" characters (_.!~*''()-) to be escaped | |
# | |
# -P causes spaces to be encoded as '%20' instead of '+' | |
function omz_urlencode() { | |
emulate -L zsh | |
local -a opts | |
zparseopts -D -E -a opts r m P | |
local in_str=$1 | |
local url_str="" | |
local spaces_as_plus | |
if [[ -z $opts[(r)-P] ]]; then spaces_as_plus=1; fi | |
local str="$in_str" | |
# URLs must use UTF-8 encoding; convert str to UTF-8 if required | |
local encoding=$langinfo[CODESET] | |
local safe_encodings | |
safe_encodings=(UTF-8 utf8 US-ASCII) | |
if [[ -z ${safe_encodings[(r)$encoding]} ]]; then | |
str=$(echo -E "$str" | iconv -f $encoding -t UTF-8) | |
if [[ $? != 0 ]]; then | |
echo "Error converting string from $encoding to UTF-8" >&2 | |
return 1 | |
fi | |
fi | |
# Use LC_CTYPE=C to process text byte-by-byte | |
local i byte ord LC_ALL=C | |
export LC_ALL | |
local reserved=';/?:@&=+$,' | |
local mark='_.!~*''()-' | |
local dont_escape="[A-Za-z0-9" | |
if [[ -z $opts[(r)-r] ]]; then | |
dont_escape+=$reserved | |
fi | |
# $mark must be last because of the "-" | |
if [[ -z $opts[(r)-m] ]]; then | |
dont_escape+=$mark | |
fi | |
dont_escape+="]" | |
# Implemented to use a single printf call and avoid subshells in the loop, | |
# for performance (primarily on Windows). | |
local url_str="" | |
for (( i = 1; i <= ${#str}; ++i )); do | |
byte="$str[i]" | |
if [[ "$byte" =~ "$dont_escape" ]]; then | |
url_str+="$byte" | |
else | |
if [[ "$byte" == " " && -n $spaces_as_plus ]]; then | |
url_str+="+" | |
else | |
ord=$(( [##16] #byte )) | |
url_str+="%$ord" | |
fi | |
fi | |
done | |
echo -E "$url_str" | |
} | |
# URL-decode a string | |
# | |
# Decodes a RFC 2396 URL-encoded (%-escaped) string. | |
# This decodes the '+' and '%' escapes in the input string, and leaves | |
# other characters unchanged. Does not enforce that the input is a | |
# valid URL-encoded string. This is a convenience to allow callers to | |
# pass in a full URL or similar strings and decode them for human | |
# presentation. | |
# | |
# Outputs the encoded string on stdout. | |
# Returns nonzero if encoding failed. | |
# | |
# Usage: | |
# omz_urldecode <urlstring> - prints decoded string followed by a newline | |
function omz_urldecode { | |
emulate -L zsh | |
local encoded_url=$1 | |
# Work bytewise, since URLs escape UTF-8 octets | |
local caller_encoding=$langinfo[CODESET] | |
local LC_ALL=C | |
export LC_ALL | |
# Change + back to ' ' | |
local tmp=${encoded_url:gs/+/ /} | |
# Protect other escapes to pass through the printf unchanged | |
tmp=${tmp:gs/\\/\\\\/} | |
# Handle %-escapes by turning them into `\xXX` printf escapes | |
tmp=${tmp:gs/%/\\x/} | |
local decoded | |
eval "decoded=\$'$tmp'" | |
# Now we have a UTF-8 encoded string in the variable. We need to re-encode | |
# it if caller is in a non-UTF-8 locale. | |
local safe_encodings | |
safe_encodings=(UTF-8 utf8 US-ASCII) | |
if [[ -z ${safe_encodings[(r)$caller_encoding]} ]]; then | |
decoded=$(echo -E "$decoded" | iconv -f UTF-8 -t $caller_encoding) | |
if [[ $? != 0 ]]; then | |
echo "Error converting string from UTF-8 to $caller_encoding" >&2 | |
return 1 | |
fi | |
fi | |
echo -E "$decoded" | |
} | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/git.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/git.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/git.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/git.zsh | |
# The git prompt's git commands are read-only and should not interfere with | |
# other processes. This environment variable is equivalent to running with `git | |
# --no-optional-locks`, but falls back gracefully for older versions of git. | |
# See git(1) for and git-status(1) for a description of that flag. | |
# | |
# We wrap in a local function instead of exporting the variable directly in | |
# order to avoid interfering with manually-run git commands by the user. | |
function __git_prompt_git() { | |
GIT_OPTIONAL_LOCKS=0 command git "$@" | |
} | |
function git_prompt_info() { | |
# If we are on a folder not tracked by git, get out. | |
# Otherwise, check for hide-info at global and local repository level | |
if ! __git_prompt_git rev-parse --git-dir &> /dev/null \ | |
|| [[ "$(__git_prompt_git config --get oh-my-zsh.hide-info 2>/dev/null)" == 1 ]]; then | |
return 0 | |
fi | |
local ref | |
ref=$(__git_prompt_git symbolic-ref --short HEAD 2> /dev/null) \ | |
|| ref=$(__git_prompt_git rev-parse --short HEAD 2> /dev/null) \ | |
|| return 0 | |
# Use global ZSH_THEME_GIT_SHOW_UPSTREAM=1 for including upstream remote info | |
local upstream | |
if (( ${+ZSH_THEME_GIT_SHOW_UPSTREAM} )); then | |
upstream=$(__git_prompt_git rev-parse --abbrev-ref --symbolic-full-name "@{upstream}" 2>/dev/null) \ | |
&& upstream=" -> ${upstream}" | |
fi | |
echo "${ZSH_THEME_GIT_PROMPT_PREFIX}${ref}${upstream}$(parse_git_dirty)${ZSH_THEME_GIT_PROMPT_SUFFIX}" | |
} | |
# Checks if working tree is dirty | |
function parse_git_dirty() { | |
local STATUS | |
local -a FLAGS | |
FLAGS=('--porcelain') | |
if [[ "$(__git_prompt_git config --get oh-my-zsh.hide-dirty)" != "1" ]]; then | |
if [[ "${DISABLE_UNTRACKED_FILES_DIRTY:-}" == "true" ]]; then | |
FLAGS+='--untracked-files=no' | |
fi | |
case "${GIT_STATUS_IGNORE_SUBMODULES:-}" in | |
git) | |
# let git decide (this respects per-repo config in .gitmodules) | |
;; | |
*) | |
# if unset: ignore dirty submodules | |
# other values are passed to --ignore-submodules | |
FLAGS+="--ignore-submodules=${GIT_STATUS_IGNORE_SUBMODULES:-dirty}" | |
;; | |
esac | |
STATUS=$(__git_prompt_git status ${FLAGS} 2> /dev/null | tail -1) | |
fi | |
if [[ -n $STATUS ]]; then | |
echo "$ZSH_THEME_GIT_PROMPT_DIRTY" | |
else | |
echo "$ZSH_THEME_GIT_PROMPT_CLEAN" | |
fi | |
} | |
# Gets the difference between the local and remote branches | |
function git_remote_status() { | |
local remote ahead behind git_remote_status git_remote_status_detailed | |
remote=${$(__git_prompt_git rev-parse --verify ${hook_com[branch]}@{upstream} --symbolic-full-name 2>/dev/null)/refs\/remotes\/} | |
if [[ -n ${remote} ]]; then | |
ahead=$(__git_prompt_git rev-list ${hook_com[branch]}@{upstream}..HEAD 2>/dev/null | wc -l) | |
behind=$(__git_prompt_git rev-list HEAD..${hook_com[branch]}@{upstream} 2>/dev/null | wc -l) | |
if [[ $ahead -eq 0 ]] && [[ $behind -eq 0 ]]; then | |
git_remote_status="$ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE" | |
elif [[ $ahead -gt 0 ]] && [[ $behind -eq 0 ]]; then | |
git_remote_status="$ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE" | |
git_remote_status_detailed="$ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE_COLOR$ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE$((ahead))%{$reset_color%}" | |
elif [[ $behind -gt 0 ]] && [[ $ahead -eq 0 ]]; then | |
git_remote_status="$ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE" | |
git_remote_status_detailed="$ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE_COLOR$ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE$((behind))%{$reset_color%}" | |
elif [[ $ahead -gt 0 ]] && [[ $behind -gt 0 ]]; then | |
git_remote_status="$ZSH_THEME_GIT_PROMPT_DIVERGED_REMOTE" | |
git_remote_status_detailed="$ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE_COLOR$ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE$((ahead))%{$reset_color%}$ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE_COLOR$ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE$((behind))%{$reset_color%}" | |
fi | |
if [[ -n $ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_DETAILED ]]; then | |
git_remote_status="$ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_PREFIX$remote$git_remote_status_detailed$ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_SUFFIX" | |
fi | |
echo $git_remote_status | |
fi | |
} | |
# Outputs the name of the current branch | |
# Usage example: git pull origin $(git_current_branch) | |
# Using '--quiet' with 'symbolic-ref' will not cause a fatal error (128) if | |
# it's not a symbolic ref, but in a Git repo. | |
function git_current_branch() { | |
local ref | |
ref=$(__git_prompt_git symbolic-ref --quiet HEAD 2> /dev/null) | |
local ret=$? | |
if [[ $ret != 0 ]]; then | |
[[ $ret == 128 ]] && return # no git repo. | |
ref=$(__git_prompt_git rev-parse --short HEAD 2> /dev/null) || return | |
fi | |
echo ${ref#refs/heads/} | |
} | |
# Gets the number of commits ahead from remote | |
function git_commits_ahead() { | |
if __git_prompt_git rev-parse --git-dir &>/dev/null; then | |
local commits="$(__git_prompt_git rev-list --count @{upstream}..HEAD 2>/dev/null)" | |
if [[ -n "$commits" && "$commits" != 0 ]]; then | |
echo "$ZSH_THEME_GIT_COMMITS_AHEAD_PREFIX$commits$ZSH_THEME_GIT_COMMITS_AHEAD_SUFFIX" | |
fi | |
fi | |
} | |
# Gets the number of commits behind remote | |
function git_commits_behind() { | |
if __git_prompt_git rev-parse --git-dir &>/dev/null; then | |
local commits="$(__git_prompt_git rev-list --count HEAD..@{upstream} 2>/dev/null)" | |
if [[ -n "$commits" && "$commits" != 0 ]]; then | |
echo "$ZSH_THEME_GIT_COMMITS_BEHIND_PREFIX$commits$ZSH_THEME_GIT_COMMITS_BEHIND_SUFFIX" | |
fi | |
fi | |
} | |
# Outputs if current branch is ahead of remote | |
function git_prompt_ahead() { | |
if [[ -n "$(__git_prompt_git rev-list origin/$(git_current_branch)..HEAD 2> /dev/null)" ]]; then | |
echo "$ZSH_THEME_GIT_PROMPT_AHEAD" | |
fi | |
} | |
# Outputs if current branch is behind remote | |
function git_prompt_behind() { | |
if [[ -n "$(__git_prompt_git rev-list HEAD..origin/$(git_current_branch) 2> /dev/null)" ]]; then | |
echo "$ZSH_THEME_GIT_PROMPT_BEHIND" | |
fi | |
} | |
# Outputs if current branch exists on remote or not | |
function git_prompt_remote() { | |
if [[ -n "$(__git_prompt_git show-ref origin/$(git_current_branch) 2> /dev/null)" ]]; then | |
echo "$ZSH_THEME_GIT_PROMPT_REMOTE_EXISTS" | |
else | |
echo "$ZSH_THEME_GIT_PROMPT_REMOTE_MISSING" | |
fi | |
} | |
# Formats prompt string for current git commit short SHA | |
function git_prompt_short_sha() { | |
local SHA | |
SHA=$(__git_prompt_git rev-parse --short HEAD 2> /dev/null) && echo "$ZSH_THEME_GIT_PROMPT_SHA_BEFORE$SHA$ZSH_THEME_GIT_PROMPT_SHA_AFTER" | |
} | |
# Formats prompt string for current git commit long SHA | |
function git_prompt_long_sha() { | |
local SHA | |
SHA=$(__git_prompt_git rev-parse HEAD 2> /dev/null) && echo "$ZSH_THEME_GIT_PROMPT_SHA_BEFORE$SHA$ZSH_THEME_GIT_PROMPT_SHA_AFTER" | |
} | |
function git_prompt_status() { | |
[[ "$(__git_prompt_git config --get oh-my-zsh.hide-status 2>/dev/null)" = 1 ]] && return | |
# Maps a git status prefix to an internal constant | |
# This cannot use the prompt constants, as they may be empty | |
local -A prefix_constant_map | |
prefix_constant_map=( | |
'\?\? ' 'UNTRACKED' | |
'A ' 'ADDED' | |
'M ' 'ADDED' | |
'MM ' 'MODIFIED' | |
' M ' 'MODIFIED' | |
'AM ' 'MODIFIED' | |
' T ' 'MODIFIED' | |
'R ' 'RENAMED' | |
' D ' 'DELETED' | |
'D ' 'DELETED' | |
'UU ' 'UNMERGED' | |
'ahead' 'AHEAD' | |
'behind' 'BEHIND' | |
'diverged' 'DIVERGED' | |
'stashed' 'STASHED' | |
) | |
# Maps the internal constant to the prompt theme | |
local -A constant_prompt_map | |
constant_prompt_map=( | |
'UNTRACKED' "$ZSH_THEME_GIT_PROMPT_UNTRACKED" | |
'ADDED' "$ZSH_THEME_GIT_PROMPT_ADDED" | |
'MODIFIED' "$ZSH_THEME_GIT_PROMPT_MODIFIED" | |
'RENAMED' "$ZSH_THEME_GIT_PROMPT_RENAMED" | |
'DELETED' "$ZSH_THEME_GIT_PROMPT_DELETED" | |
'UNMERGED' "$ZSH_THEME_GIT_PROMPT_UNMERGED" | |
'AHEAD' "$ZSH_THEME_GIT_PROMPT_AHEAD" | |
'BEHIND' "$ZSH_THEME_GIT_PROMPT_BEHIND" | |
'DIVERGED' "$ZSH_THEME_GIT_PROMPT_DIVERGED" | |
'STASHED' "$ZSH_THEME_GIT_PROMPT_STASHED" | |
) | |
# The order that the prompt displays should be added to the prompt | |
local status_constants | |
status_constants=( | |
UNTRACKED ADDED MODIFIED RENAMED DELETED | |
STASHED UNMERGED AHEAD BEHIND DIVERGED | |
) | |
local status_text="$(__git_prompt_git status --porcelain -b 2> /dev/null)" | |
# Don't continue on a catastrophic failure | |
if [[ $? -eq 128 ]]; then | |
return 1 | |
fi | |
# A lookup table of each git status encountered | |
local -A statuses_seen | |
if __git_prompt_git rev-parse --verify refs/stash &>/dev/null; then | |
statuses_seen[STASHED]=1 | |
fi | |
local status_lines | |
status_lines=("${(@f)${status_text}}") | |
# If the tracking line exists, get and parse it | |
if [[ "$status_lines[1]" =~ "^## [^ ]+ \[(.*)\]" ]]; then | |
local branch_statuses | |
branch_statuses=("${(@s/,/)match}") | |
for branch_status in $branch_statuses; do | |
if [[ ! $branch_status =~ "(behind|diverged|ahead) ([0-9]+)?" ]]; then | |
continue | |
fi | |
local last_parsed_status=$prefix_constant_map[$match[1]] | |
statuses_seen[$last_parsed_status]=$match[2] | |
done | |
fi | |
# For each status prefix, do a regex comparison | |
for status_prefix in ${(k)prefix_constant_map}; do | |
local status_constant="${prefix_constant_map[$status_prefix]}" | |
local status_regex=$'(^|\n)'"$status_prefix" | |
if [[ "$status_text" =~ $status_regex ]]; then | |
statuses_seen[$status_constant]=1 | |
fi | |
done | |
# Display the seen statuses in the order specified | |
local status_prompt | |
for status_constant in $status_constants; do | |
if (( ${+statuses_seen[$status_constant]} )); then | |
local next_display=$constant_prompt_map[$status_constant] | |
status_prompt="$next_display$status_prompt" | |
fi | |
done | |
echo $status_prompt | |
} | |
# Outputs the name of the current user | |
# Usage example: $(git_current_user_name) | |
function git_current_user_name() { | |
__git_prompt_git config user.name 2>/dev/null | |
} | |
# Outputs the email of the current user | |
# Usage example: $(git_current_user_email) | |
function git_current_user_email() { | |
__git_prompt_git config user.email 2>/dev/null | |
} | |
# Output the name of the root directory of the git repository | |
# Usage example: $(git_repo_name) | |
function git_repo_name() { | |
local repo_path | |
if repo_path="$(__git_prompt_git rev-parse --show-toplevel 2>/dev/null)" && [[ -n "$repo_path" ]]; then | |
echo ${repo_path:t} | |
fi | |
} | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/grep.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/grep.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/grep.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/grep.zsh | |
__GREP_CACHE_FILE="$ZSH_CACHE_DIR"/grep-alias | |
+/home/h/.oh-my-zsh/lib/grep.zsh:1> __GREP_CACHE_FILE=/home/h/.oh-my-zsh/cache/grep-alias | |
# See if there's a cache file modified in the last day | |
__GREP_ALIAS_CACHES=("$__GREP_CACHE_FILE"(Nm-1)) | |
+/home/h/.oh-my-zsh/lib/grep.zsh:4> __GREP_ALIAS_CACHES=( /home/h/.oh-my-zsh/cache/grep-alias ) | |
if [[ -n "$__GREP_ALIAS_CACHES" ]]; then | |
source "$__GREP_CACHE_FILE" | |
else | |
grep-flags-available() { | |
command grep "$@" "" &>/dev/null <<< "" | |
} | |
# Ignore these folders (if the necessary grep flags are available) | |
EXC_FOLDERS="{.bzr,CVS,.git,.hg,.svn,.idea,.tox}" | |
# Check for --exclude-dir, otherwise check for --exclude. If --exclude | |
# isn't available, --color won't be either (they were released at the same | |
# time (v2.5): https://git.savannah.gnu.org/cgit/grep.git/tree/NEWS?id=1236f007 | |
if grep-flags-available --color=auto --exclude-dir=.cvs; then | |
GREP_OPTIONS="--color=auto --exclude-dir=$EXC_FOLDERS" | |
elif grep-flags-available --color=auto --exclude=.cvs; then | |
GREP_OPTIONS="--color=auto --exclude=$EXC_FOLDERS" | |
fi | |
if [[ -n "$GREP_OPTIONS" ]]; then | |
# export grep, egrep and fgrep settings | |
alias grep="grep $GREP_OPTIONS" | |
alias egrep="egrep $GREP_OPTIONS" | |
alias fgrep="fgrep $GREP_OPTIONS" | |
# write to cache file if cache directory is writable | |
if [[ -w "$ZSH_CACHE_DIR" ]]; then | |
alias -L grep egrep fgrep >| "$__GREP_CACHE_FILE" | |
fi | |
fi | |
# Clean up | |
unset GREP_OPTIONS EXC_FOLDERS | |
unfunction grep-flags-available | |
fi | |
+/home/h/.oh-my-zsh/lib/grep.zsh:5> [[ -n /home/h/.oh-my-zsh/cache/grep-alias ]] | |
+/home/h/.oh-my-zsh/lib/grep.zsh:6> source /home/h/.oh-my-zsh/cache/grep-alias | |
alias grep='grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' | |
+/home/h/.oh-my-zsh/cache/grep-alias:1> alias 'grep=grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' | |
alias egrep='egrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' | |
+/home/h/.oh-my-zsh/cache/grep-alias:2> alias 'egrep=egrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' | |
alias fgrep='fgrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' | |
+/home/h/.oh-my-zsh/cache/grep-alias:3> alias 'fgrep=fgrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' | |
unset __GREP_CACHE_FILE __GREP_ALIAS_CACHES | |
+/home/h/.oh-my-zsh/lib/grep.zsh:41> unset __GREP_CACHE_FILE __GREP_ALIAS_CACHES | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/history.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/history.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/history.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/history.zsh | |
## History wrapper | |
function omz_history { | |
local clear list | |
zparseopts -E c=clear l=list | |
if [[ -n "$clear" ]]; then | |
# if -c provided, clobber the history file | |
echo -n >| "$HISTFILE" | |
fc -p "$HISTFILE" | |
echo >&2 History file deleted. | |
elif [[ -n "$list" ]]; then | |
# if -l provided, run as if calling `fc' directly | |
builtin fc "$@" | |
else | |
# unless a number is provided, show all history events (starting from 1) | |
[[ ${@[-1]-} = *[0-9]* ]] && builtin fc -l "$@" || builtin fc -l "$@" 1 | |
fi | |
} | |
# Timestamp format | |
case ${HIST_STAMPS-} in | |
"mm/dd/yyyy") alias history='omz_history -f' ;; | |
"dd.mm.yyyy") alias history='omz_history -E' ;; | |
"yyyy-mm-dd") alias history='omz_history -i' ;; | |
"") alias history='omz_history' ;; | |
*) alias history="omz_history -t '$HIST_STAMPS'" ;; | |
esac | |
+/home/h/.oh-my-zsh/lib/history.zsh:21> case (mm/dd/yyyy) | |
+/home/h/.oh-my-zsh/lib/history.zsh:21> case (dd.mm.yyyy) | |
+/home/h/.oh-my-zsh/lib/history.zsh:21> case (yyyy-mm-dd) | |
+/home/h/.oh-my-zsh/lib/history.zsh:21> case () | |
+/home/h/.oh-my-zsh/lib/history.zsh:25> alias 'history=omz_history' | |
## History file configuration | |
[ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history" | |
+/home/h/.oh-my-zsh/lib/history.zsh:30> [ -z '' ']' | |
+/home/h/.oh-my-zsh/lib/history.zsh:30> HISTFILE=/home/h/.zsh_history | |
[ "$HISTSIZE" -lt 50000 ] && HISTSIZE=50000 | |
+/home/h/.oh-my-zsh/lib/history.zsh:31> [ 30 -lt 50000 ']' | |
+/home/h/.oh-my-zsh/lib/history.zsh:31> HISTSIZE=50000 | |
[ "$SAVEHIST" -lt 10000 ] && SAVEHIST=10000 | |
+/home/h/.oh-my-zsh/lib/history.zsh:32> [ 0 -lt 10000 ']' | |
+/home/h/.oh-my-zsh/lib/history.zsh:32> SAVEHIST=10000 | |
## History command configuration | |
setopt extended_history # record timestamp of command in HISTFILE | |
+/home/h/.oh-my-zsh/lib/history.zsh:35> setopt extended_history | |
setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE | |
+/home/h/.oh-my-zsh/lib/history.zsh:36> setopt hist_expire_dups_first | |
setopt hist_ignore_dups # ignore duplicated commands history list | |
+/home/h/.oh-my-zsh/lib/history.zsh:37> setopt hist_ignore_dups | |
setopt hist_ignore_space # ignore commands that start with space | |
+/home/h/.oh-my-zsh/lib/history.zsh:38> setopt hist_ignore_space | |
setopt hist_verify # show command with history expansion to user before running it | |
+/home/h/.oh-my-zsh/lib/history.zsh:39> setopt hist_verify | |
setopt share_history # share command history data | |
+/home/h/.oh-my-zsh/lib/history.zsh:40> setopt share_history | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/key-bindings.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/key-bindings.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/key-bindings.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/key-bindings.zsh | |
# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html | |
# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Zle-Builtins | |
# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Standard-Widgets | |
# Make sure that the terminal is in application mode when zle is active, since | |
# only then values from $terminfo are valid | |
if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then | |
function zle-line-init() { | |
echoti smkx | |
} | |
function zle-line-finish() { | |
echoti rmkx | |
} | |
zle -N zle-line-init | |
zle -N zle-line-finish | |
fi | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:7> (( 1 )) | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:7> (( 1 )) | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:14> zle -N zle-line-init | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:15> zle -N zle-line-finish | |
# Use emacs key bindings | |
bindkey -e | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:19> bindkey -e | |
# [PageUp] - Up a line of history | |
if [[ -n "${terminfo[kpp]}" ]]; then | |
bindkey -M emacs "${terminfo[kpp]}" up-line-or-history | |
bindkey -M viins "${terminfo[kpp]}" up-line-or-history | |
bindkey -M vicmd "${terminfo[kpp]}" up-line-or-history | |
fi | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:22> [[ -n $'\C-[[5~' ]] | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:23> bindkey -M emacs $'\C-[[5~' up-line-or-history | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:24> bindkey -M viins $'\C-[[5~' up-line-or-history | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:25> bindkey -M vicmd $'\C-[[5~' up-line-or-history | |
# [PageDown] - Down a line of history | |
if [[ -n "${terminfo[knp]}" ]]; then | |
bindkey -M emacs "${terminfo[knp]}" down-line-or-history | |
bindkey -M viins "${terminfo[knp]}" down-line-or-history | |
bindkey -M vicmd "${terminfo[knp]}" down-line-or-history | |
fi | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:28> [[ -n $'\C-[[6~' ]] | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:29> bindkey -M emacs $'\C-[[6~' down-line-or-history | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:30> bindkey -M viins $'\C-[[6~' down-line-or-history | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:31> bindkey -M vicmd $'\C-[[6~' down-line-or-history | |
# Start typing + [Up-Arrow] - fuzzy find history forward | |
if [[ -n "${terminfo[kcuu1]}" ]]; then | |
autoload -U up-line-or-beginning-search | |
zle -N up-line-or-beginning-search | |
bindkey -M emacs "${terminfo[kcuu1]}" up-line-or-beginning-search | |
bindkey -M viins "${terminfo[kcuu1]}" up-line-or-beginning-search | |
bindkey -M vicmd "${terminfo[kcuu1]}" up-line-or-beginning-search | |
fi | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:35> [[ -n $'\C-[OA' ]] | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:36> autoload -U up-line-or-beginning-search | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:37> zle -N up-line-or-beginning-search | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:39> bindkey -M emacs $'\C-[OA' up-line-or-beginning-search | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:40> bindkey -M viins $'\C-[OA' up-line-or-beginning-search | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:41> bindkey -M vicmd $'\C-[OA' up-line-or-beginning-search | |
# Start typing + [Down-Arrow] - fuzzy find history backward | |
if [[ -n "${terminfo[kcud1]}" ]]; then | |
autoload -U down-line-or-beginning-search | |
zle -N down-line-or-beginning-search | |
bindkey -M emacs "${terminfo[kcud1]}" down-line-or-beginning-search | |
bindkey -M viins "${terminfo[kcud1]}" down-line-or-beginning-search | |
bindkey -M vicmd "${terminfo[kcud1]}" down-line-or-beginning-search | |
fi | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:44> [[ -n $'\C-[OB' ]] | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:45> autoload -U down-line-or-beginning-search | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:46> zle -N down-line-or-beginning-search | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:48> bindkey -M emacs $'\C-[OB' down-line-or-beginning-search | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:49> bindkey -M viins $'\C-[OB' down-line-or-beginning-search | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:50> bindkey -M vicmd $'\C-[OB' down-line-or-beginning-search | |
# [Home] - Go to beginning of line | |
if [[ -n "${terminfo[khome]}" ]]; then | |
bindkey -M emacs "${terminfo[khome]}" beginning-of-line | |
bindkey -M viins "${terminfo[khome]}" beginning-of-line | |
bindkey -M vicmd "${terminfo[khome]}" beginning-of-line | |
fi | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:54> [[ -n $'\C-[OH' ]] | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:55> bindkey -M emacs $'\C-[OH' beginning-of-line | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:56> bindkey -M viins $'\C-[OH' beginning-of-line | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:57> bindkey -M vicmd $'\C-[OH' beginning-of-line | |
# [End] - Go to end of line | |
if [[ -n "${terminfo[kend]}" ]]; then | |
bindkey -M emacs "${terminfo[kend]}" end-of-line | |
bindkey -M viins "${terminfo[kend]}" end-of-line | |
bindkey -M vicmd "${terminfo[kend]}" end-of-line | |
fi | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:60> [[ -n $'\C-[OF' ]] | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:61> bindkey -M emacs $'\C-[OF' end-of-line | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:62> bindkey -M viins $'\C-[OF' end-of-line | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:63> bindkey -M vicmd $'\C-[OF' end-of-line | |
# [Shift-Tab] - move through the completion menu backwards | |
if [[ -n "${terminfo[kcbt]}" ]]; then | |
bindkey -M emacs "${terminfo[kcbt]}" reverse-menu-complete | |
bindkey -M viins "${terminfo[kcbt]}" reverse-menu-complete | |
bindkey -M vicmd "${terminfo[kcbt]}" reverse-menu-complete | |
fi | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:67> [[ -n $'\C-[[Z' ]] | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:68> bindkey -M emacs $'\C-[[Z' reverse-menu-complete | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:69> bindkey -M viins $'\C-[[Z' reverse-menu-complete | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:70> bindkey -M vicmd $'\C-[[Z' reverse-menu-complete | |
# [Backspace] - delete backward | |
bindkey -M emacs '^?' backward-delete-char | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:74> bindkey -M emacs '^?' backward-delete-char | |
bindkey -M viins '^?' backward-delete-char | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:75> bindkey -M viins '^?' backward-delete-char | |
bindkey -M vicmd '^?' backward-delete-char | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:76> bindkey -M vicmd '^?' backward-delete-char | |
# [Delete] - delete forward | |
if [[ -n "${terminfo[kdch1]}" ]]; then | |
bindkey -M emacs "${terminfo[kdch1]}" delete-char | |
bindkey -M viins "${terminfo[kdch1]}" delete-char | |
bindkey -M vicmd "${terminfo[kdch1]}" delete-char | |
else | |
bindkey -M emacs "^[[3~" delete-char | |
bindkey -M viins "^[[3~" delete-char | |
bindkey -M vicmd "^[[3~" delete-char | |
bindkey -M emacs "^[3;5~" delete-char | |
bindkey -M viins "^[3;5~" delete-char | |
bindkey -M vicmd "^[3;5~" delete-char | |
fi | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:78> [[ -n $'\C-[[3~' ]] | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:79> bindkey -M emacs $'\C-[[3~' delete-char | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:80> bindkey -M viins $'\C-[[3~' delete-char | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:81> bindkey -M vicmd $'\C-[[3~' delete-char | |
# [Ctrl-Delete] - delete whole forward-word | |
bindkey -M emacs '^[[3;5~' kill-word | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:93> bindkey -M emacs '^[[3;5~' kill-word | |
bindkey -M viins '^[[3;5~' kill-word | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:94> bindkey -M viins '^[[3;5~' kill-word | |
bindkey -M vicmd '^[[3;5~' kill-word | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:95> bindkey -M vicmd '^[[3;5~' kill-word | |
# [Ctrl-RightArrow] - move forward one word | |
bindkey -M emacs '^[[1;5C' forward-word | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:98> bindkey -M emacs '^[[1;5C' forward-word | |
bindkey -M viins '^[[1;5C' forward-word | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:99> bindkey -M viins '^[[1;5C' forward-word | |
bindkey -M vicmd '^[[1;5C' forward-word | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:100> bindkey -M vicmd '^[[1;5C' forward-word | |
# [Ctrl-LeftArrow] - move backward one word | |
bindkey -M emacs '^[[1;5D' backward-word | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:102> bindkey -M emacs '^[[1;5D' backward-word | |
bindkey -M viins '^[[1;5D' backward-word | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:103> bindkey -M viins '^[[1;5D' backward-word | |
bindkey -M vicmd '^[[1;5D' backward-word | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:104> bindkey -M vicmd '^[[1;5D' backward-word | |
bindkey '\ew' kill-region # [Esc-w] - Kill from the cursor to the mark | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:107> bindkey '\ew' kill-region | |
bindkey -s '\el' 'ls\n' # [Esc-l] - run command: ls | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:108> bindkey -s '\el' 'ls\n' | |
bindkey '^r' history-incremental-search-backward # [Ctrl-r] - Search backward incrementally for a specified string. The string may begin with ^ to anchor the search to the beginning of the line. | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:109> bindkey '^r' history-incremental-search-backward | |
bindkey ' ' magic-space # [Space] - don't do history expansion | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:110> bindkey ' ' magic-space | |
# Edit the current command line in $EDITOR | |
autoload -U edit-command-line | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:114> autoload -U edit-command-line | |
zle -N edit-command-line | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:115> zle -N edit-command-line | |
bindkey '\C-x\C-e' edit-command-line | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:116> bindkey '\C-x\C-e' edit-command-line | |
# file rename magick | |
bindkey "^[m" copy-prev-shell-word | |
+/home/h/.oh-my-zsh/lib/key-bindings.zsh:119> bindkey '^[m' copy-prev-shell-word | |
# consider emacs keybindings: | |
#bindkey -e ## emacs key bindings | |
# | |
#bindkey '^[[A' up-line-or-search | |
#bindkey '^[[B' down-line-or-search | |
#bindkey '^[^[[C' emacs-forward-word | |
#bindkey '^[^[[D' emacs-backward-word | |
# | |
#bindkey -s '^X^Z' '%-^M' | |
#bindkey '^[e' expand-cmd-path | |
#bindkey '^[^I' reverse-menu-complete | |
#bindkey '^X^N' accept-and-infer-next-history | |
#bindkey '^W' kill-region | |
#bindkey '^I' complete-word | |
## Fix weird sequence that rxvt produces | |
#bindkey -s '^[[Z' '\t' | |
# | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/misc.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/misc.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/misc.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/misc.zsh | |
autoload -Uz is-at-least | |
+/home/h/.oh-my-zsh/lib/misc.zsh:1> autoload -Uz is-at-least | |
# *-magic is known buggy in some versions; disable if so | |
if [[ $DISABLE_MAGIC_FUNCTIONS != true ]]; then | |
for d in $fpath; do | |
if [[ -e "$d/url-quote-magic" ]]; then | |
if is-at-least 5.1; then | |
autoload -Uz bracketed-paste-magic | |
zle -N bracketed-paste bracketed-paste-magic | |
fi | |
autoload -Uz url-quote-magic | |
zle -N self-insert url-quote-magic | |
break | |
fi | |
done | |
fi | |
+/home/h/.oh-my-zsh/lib/misc.zsh:4> [[ '' != true ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/home/h/.oh-my-zsh/functions | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /home/h/.oh-my-zsh/functions/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/home/h/.oh-my-zsh/completions | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /home/h/.oh-my-zsh/completions/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/local/share/zsh/site-functions | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/local/share/zsh/site-functions/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/site-functions | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/site-functions/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Calendar | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Calendar/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Chpwd | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Chpwd/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Completion | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Completion/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Completion/Base | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Completion/Base/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Completion/Linux | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Completion/Linux/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Completion/Unix | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Completion/Unix/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Completion/X | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Completion/X/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Completion/Zsh | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Completion/Zsh/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Exceptions | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Exceptions/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Math | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Math/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/MIME | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/MIME/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Misc | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Misc/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Newuser | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Newuser/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Prompts | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Prompts/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/TCP | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/TCP/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/VCS_Info | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/VCS_Info/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/VCS_Info/Backends | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/VCS_Info/Backends/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Zftp | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Zftp/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:5> d=/usr/share/zsh/functions/Zle | |
+/home/h/.oh-my-zsh/lib/misc.zsh:6> [[ -e /usr/share/zsh/functions/Zle/url-quote-magic ]] | |
+/home/h/.oh-my-zsh/lib/misc.zsh:7> is-at-least 5.1 | |
+is-at-least:23> emulate -L zsh | |
+is-at-least:25> local IFS=.- min_cnt=0 ver_cnt=0 part min_ver version order | |
+is-at-least:27> min_ver=( 5 1 ) | |
+is-at-least:28> version=( 5 8 0 ) | |
+is-at-least:30> (( 0 <= 2 )) | |
+is-at-least:31> [[ '' != <-> ]] | |
+is-at-least:32> (( ++ver_cnt > 3 )) | |
+is-at-least:33> [[ 5 = *[0-9][^0-9]* ]] | |
+is-at-least:45> part=5 | |
+is-at-least:31> [[ 5 != <-> ]] | |
+is-at-least:48> true | |
+is-at-least:49> (( ++min_cnt > 2 )) | |
+is-at-least:50> [[ 5 = <-> ]] | |
+is-at-least:50> break | |
+is-at-least:53> (( part > min_ver[min_cnt] )) | |
+is-at-least:54> (( part < min_ver[min_cnt] )) | |
+is-at-least:55> part='' | |
+is-at-least:30> (( 1 <= 2 )) | |
+is-at-least:31> [[ '' != <-> ]] | |
+is-at-least:32> (( ++ver_cnt > 3 )) | |
+is-at-least:33> [[ 8 = *[0-9][^0-9]* ]] | |
+is-at-least:45> part=8 | |
+is-at-least:31> [[ 8 != <-> ]] | |
+is-at-least:48> true | |
+is-at-least:49> (( ++min_cnt > 2 )) | |
+is-at-least:50> [[ 1 = <-> ]] | |
+is-at-least:50> break | |
+is-at-least:53> (( part > min_ver[min_cnt] )) | |
+is-at-least:53> return 0 | |
+/home/h/.oh-my-zsh/lib/misc.zsh:8> autoload -Uz bracketed-paste-magic | |
+/home/h/.oh-my-zsh/lib/misc.zsh:9> zle -N bracketed-paste bracketed-paste-magic | |
+/home/h/.oh-my-zsh/lib/misc.zsh:11> autoload -Uz url-quote-magic | |
+/home/h/.oh-my-zsh/lib/misc.zsh:12> zle -N self-insert url-quote-magic | |
+/home/h/.oh-my-zsh/lib/misc.zsh:13> break | |
## jobs | |
setopt long_list_jobs | |
+/home/h/.oh-my-zsh/lib/misc.zsh:19> setopt long_list_jobs | |
env_default 'PAGER' 'less' | |
+/home/h/.oh-my-zsh/lib/misc.zsh:21> env_default PAGER less | |
+env_default:1> [[ scalar-export = *-export* ]] | |
+env_default:1> return 0 | |
env_default 'LESS' '-R' | |
+/home/h/.oh-my-zsh/lib/misc.zsh:22> env_default LESS -R | |
+env_default:1> [[ scalar-export = *-export* ]] | |
+env_default:1> return 0 | |
## super user alias | |
alias _='sudo ' | |
+/home/h/.oh-my-zsh/lib/misc.zsh:25> alias '_=sudo ' | |
## more intelligent acking for ubuntu users | |
if (( $+commands[ack-grep] )); then | |
alias afind='ack-grep -il' | |
else | |
alias afind='ack -il' | |
fi | |
+/home/h/.oh-my-zsh/lib/misc.zsh:28> (( 0 )) | |
+/home/h/.oh-my-zsh/lib/misc.zsh:31> alias 'afind=ack -il' | |
# recognize comments | |
setopt interactivecomments | |
+/home/h/.oh-my-zsh/lib/misc.zsh:35> setopt interactivecomments | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/nvm.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/nvm.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/nvm.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/nvm.zsh | |
# get the nvm-controlled node.js version | |
function nvm_prompt_info() { | |
which nvm &>/dev/null || return | |
local nvm_prompt=${$(nvm current)#v} | |
echo "${ZSH_THEME_NVM_PROMPT_PREFIX}${nvm_prompt}${ZSH_THEME_NVM_PROMPT_SUFFIX}" | |
} | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/prompt_info_functions.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/prompt_info_functions.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/prompt_info_functions.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/prompt_info_functions.zsh | |
# *_prompt_info functions for usage in your prompt | |
# | |
# Plugin creators, please add your *_prompt_info function to the list | |
# of dummy implementations to help theme creators not receiving errors | |
# without the need of implementing conditional clauses. | |
# | |
# See also lib/bzr.zsh, lib/git.zsh and lib/nvm.zsh for | |
# git_prompt_info, bzr_prompt_info and nvm_prompt_info | |
# Dummy implementations that return false to prevent command_not_found | |
# errors with themes, that implement these functions | |
# Real implementations will be used when the respective plugins are loaded | |
function chruby_prompt_info \ | |
rbenv_prompt_info \ | |
hg_prompt_info \ | |
pyenv_prompt_info \ | |
svn_prompt_info \ | |
vi_mode_prompt_info \ | |
virtualenv_prompt_info \ | |
jenv_prompt_info \ | |
tf_prompt_info \ | |
{ | |
return 1 | |
} | |
# oh-my-zsh supports an rvm prompt by default | |
# get the name of the rvm ruby version | |
function rvm_prompt_info() { | |
[ -f $HOME/.rvm/bin/rvm-prompt ] || return 1 | |
local rvm_prompt | |
rvm_prompt=$($HOME/.rvm/bin/rvm-prompt ${=ZSH_THEME_RVM_PROMPT_OPTIONS} 2>/dev/null) | |
[[ -z "${rvm_prompt}" ]] && return 1 | |
echo "${ZSH_THEME_RUBY_PROMPT_PREFIX}${rvm_prompt}${ZSH_THEME_RUBY_PROMPT_SUFFIX}" | |
} | |
ZSH_THEME_RVM_PROMPT_OPTIONS="i v g" | |
+/home/h/.oh-my-zsh/lib/prompt_info_functions.zsh:36> ZSH_THEME_RVM_PROMPT_OPTIONS='i v g' | |
# use this to enable users to see their ruby version, no matter which | |
# version management system they use | |
function ruby_prompt_info() { | |
echo $(rvm_prompt_info || rbenv_prompt_info || chruby_prompt_info) | |
} | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/spectrum.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/spectrum.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/spectrum.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/spectrum.zsh | |
# A script to make using 256 colors in zsh less painful. | |
# P.C. Shyamshankar <[email protected]> | |
# Copied from https://github.com/sykora/etc/blob/master/zsh/functions/spectrum/ | |
typeset -AHg FX FG BG | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:5> typeset -AHg FX FG BG | |
FX=( | |
reset "%{[00m%}" | |
bold "%{[01m%}" no-bold "%{[22m%}" | |
italic "%{[03m%}" no-italic "%{[23m%}" | |
underline "%{[04m%}" no-underline "%{[24m%}" | |
blink "%{[05m%}" no-blink "%{[25m%}" | |
reverse "%{[07m%}" no-reverse "%{[27m%}" | |
) | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:7> FX=( reset $'%{\C-[[00m%}' bold $'%{\C-[[01m%}' no-bold $'%{\C-[[22m%}' italic $'%{\C-[[03m%}' no-italic $'%{\C-[[23m%}' underline $'%{\C-[[04m%}' no-underline $'%{\C-[[24m%}' blink $'%{\C-[[05m%}' no-blink $'%{\C-[[25m%}' reverse $'%{\C-[[07m%}' no-reverse $'%{\C-[[27m%}' ) | |
for color in {000..255}; do | |
FG[$color]="%{[38;5;${color}m%}" | |
BG[$color]="%{[48;5;${color}m%}" | |
done | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=000 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;000m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;000m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=001 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;001m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;001m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=002 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;002m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;002m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=003 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;003m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;003m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=004 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;004m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;004m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=005 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;005m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;005m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=006 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;006m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;006m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=007 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;007m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;007m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=008 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;008m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;008m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=009 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;009m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;009m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=010 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;010m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;010m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=011 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;011m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;011m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=012 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;012m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;012m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=013 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;013m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;013m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=014 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;014m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;014m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=015 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;015m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;015m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=016 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;016m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;016m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=017 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;017m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;017m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=018 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;018m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;018m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=019 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;019m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;019m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=020 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;020m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;020m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=021 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;021m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;021m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=022 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;022m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;022m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=023 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;023m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;023m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=024 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;024m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;024m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=025 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;025m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;025m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=026 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;026m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;026m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=027 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;027m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;027m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=028 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;028m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;028m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=029 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;029m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;029m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=030 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;030m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;030m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=031 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;031m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;031m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=032 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;032m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;032m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=033 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;033m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;033m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=034 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;034m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;034m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=035 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;035m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;035m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=036 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;036m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;036m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=037 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;037m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;037m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=038 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;038m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;038m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=039 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;039m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;039m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=040 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;040m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;040m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=041 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;041m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;041m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=042 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;042m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;042m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=043 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;043m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;043m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=044 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;044m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;044m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=045 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;045m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;045m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=046 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;046m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;046m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=047 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;047m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;047m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=048 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;048m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;048m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=049 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;049m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;049m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=050 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;050m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;050m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=051 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;051m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;051m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=052 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;052m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;052m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=053 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;053m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;053m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=054 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;054m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;054m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=055 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;055m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;055m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=056 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;056m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;056m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=057 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;057m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;057m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=058 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;058m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;058m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=059 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;059m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;059m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=060 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;060m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;060m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=061 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;061m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;061m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=062 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;062m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;062m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=063 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;063m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;063m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=064 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;064m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;064m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=065 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;065m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;065m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=066 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;066m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;066m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=067 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;067m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;067m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=068 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;068m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;068m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=069 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;069m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;069m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=070 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;070m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;070m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=071 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;071m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;071m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=072 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;072m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;072m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=073 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;073m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;073m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=074 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;074m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;074m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=075 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;075m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;075m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=076 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;076m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;076m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=077 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;077m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;077m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=078 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;078m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;078m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=079 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;079m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;079m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=080 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;080m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;080m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=081 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;081m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;081m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=082 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;082m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;082m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=083 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;083m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;083m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=084 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;084m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;084m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=085 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;085m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;085m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=086 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;086m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;086m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=087 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;087m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;087m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=088 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;088m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;088m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=089 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;089m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;089m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=090 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;090m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;090m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=091 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;091m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;091m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=092 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;092m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;092m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=093 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;093m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;093m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=094 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;094m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;094m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=095 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;095m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;095m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=096 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;096m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;096m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=097 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;097m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;097m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=098 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;098m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;098m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=099 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;099m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;099m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=100 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;100m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;100m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=101 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;101m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;101m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=102 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;102m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;102m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=103 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;103m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;103m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=104 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;104m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;104m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=105 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;105m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;105m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=106 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;106m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;106m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=107 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;107m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;107m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=108 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;108m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;108m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=109 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;109m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;109m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=110 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;110m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;110m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=111 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;111m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;111m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=112 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;112m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;112m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=113 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;113m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;113m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=114 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;114m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;114m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=115 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;115m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;115m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=116 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;116m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;116m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=117 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;117m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;117m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=118 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;118m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;118m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=119 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;119m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;119m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=120 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;120m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;120m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=121 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;121m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;121m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=122 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;122m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;122m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=123 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;123m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;123m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=124 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;124m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;124m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=125 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;125m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;125m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=126 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;126m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;126m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=127 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;127m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;127m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=128 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;128m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;128m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=129 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;129m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;129m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=130 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;130m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;130m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=131 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;131m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;131m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=132 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;132m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;132m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=133 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;133m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;133m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=134 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;134m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;134m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=135 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;135m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;135m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=136 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;136m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;136m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=137 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;137m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;137m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=138 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;138m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;138m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=139 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;139m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;139m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=140 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;140m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;140m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=141 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;141m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;141m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=142 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;142m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;142m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=143 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;143m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;143m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=144 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;144m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;144m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=145 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;145m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;145m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=146 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;146m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;146m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=147 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;147m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;147m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=148 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;148m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;148m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=149 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;149m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;149m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=150 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;150m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;150m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=151 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;151m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;151m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=152 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;152m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;152m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=153 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;153m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;153m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=154 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;154m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;154m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=155 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;155m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;155m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=156 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;156m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;156m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=157 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;157m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;157m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=158 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;158m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;158m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=159 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;159m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;159m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=160 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;160m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;160m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=161 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;161m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;161m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=162 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;162m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;162m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=163 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;163m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;163m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=164 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;164m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;164m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=165 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;165m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;165m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=166 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;166m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;166m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=167 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;167m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;167m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=168 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;168m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;168m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=169 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;169m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;169m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=170 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;170m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;170m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=171 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;171m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;171m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=172 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;172m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;172m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=173 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;173m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;173m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=174 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;174m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;174m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=175 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;175m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;175m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=176 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;176m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;176m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=177 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;177m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;177m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=178 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;178m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;178m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=179 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;179m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;179m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=180 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;180m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;180m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=181 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;181m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;181m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=182 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;182m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;182m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=183 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;183m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;183m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=184 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;184m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;184m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=185 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;185m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;185m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=186 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;186m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;186m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=187 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;187m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;187m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=188 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;188m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;188m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=189 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;189m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;189m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=190 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;190m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;190m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=191 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;191m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;191m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=192 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;192m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;192m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=193 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;193m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;193m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=194 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;194m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;194m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=195 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;195m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;195m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=196 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;196m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;196m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=197 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;197m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;197m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=198 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;198m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;198m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=199 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;199m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;199m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=200 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;200m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;200m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=201 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;201m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;201m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=202 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;202m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;202m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=203 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;203m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;203m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=204 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;204m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;204m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=205 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;205m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;205m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=206 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;206m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;206m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=207 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;207m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;207m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=208 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;208m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;208m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=209 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;209m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;209m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=210 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;210m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;210m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=211 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;211m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;211m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=212 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;212m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;212m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=213 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;213m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;213m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=214 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;214m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;214m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=215 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;215m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;215m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=216 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;216m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;216m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=217 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;217m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;217m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=218 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;218m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;218m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=219 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;219m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;219m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=220 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;220m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;220m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=221 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;221m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;221m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=222 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;222m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;222m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=223 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;223m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;223m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=224 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;224m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;224m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=225 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;225m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;225m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=226 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;226m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;226m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=227 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;227m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;227m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=228 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;228m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;228m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=229 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;229m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;229m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=230 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;230m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;230m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=231 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;231m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;231m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=232 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;232m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;232m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=233 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;233m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;233m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=234 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;234m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;234m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=235 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;235m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;235m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=236 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;236m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;236m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=237 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;237m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;237m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=238 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;238m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;238m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=239 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;239m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;239m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=240 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;240m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;240m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=241 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;241m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;241m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=242 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;242m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;242m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=243 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;243m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;243m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=244 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;244m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;244m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=245 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;245m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;245m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=246 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;246m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;246m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=247 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;247m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;247m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=248 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;248m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;248m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=249 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;249m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;249m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=250 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;250m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;250m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=251 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;251m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;251m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=252 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;252m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;252m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=253 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;253m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;253m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=254 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;254m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;254m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:16> color=255 | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:17> FG[$color]=$'%{\C-[[38;5;255m%}' | |
+/home/h/.oh-my-zsh/lib/spectrum.zsh:18> BG[$color]=$'%{\C-[[48;5;255m%}' | |
# Show all 256 colors with color number | |
function spectrum_ls() { | |
local ZSH_SPECTRUM_TEXT=${ZSH_SPECTRUM_TEXT:-Arma virumque cano Troiae qui primus ab oris} | |
for code in {000..255}; do | |
print -P -- "$code: $FG[$code]$ZSH_SPECTRUM_TEXT%{$reset_color%}" | |
done | |
} | |
# Show all 256 colors where the background is set to specific color | |
function spectrum_bls() { | |
local ZSH_SPECTRUM_TEXT=${ZSH_SPECTRUM_TEXT:-Arma virumque cano Troiae qui primus ab oris} | |
for code in {000..255}; do | |
print -P -- "$code: $BG[$code]$ZSH_SPECTRUM_TEXT%{$reset_color%}" | |
done | |
} | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/termsupport.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/termsupport.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/termsupport.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/termsupport.zsh | |
# Set terminal window and tab/icon title | |
# | |
# usage: title short_tab_title [long_window_title] | |
# | |
# See: http://www.faqs.org/docs/Linux-mini/Xterm-Title.html#ss3.1 | |
# Fully supports screen, iterm, and probably most modern xterm and rxvt | |
# (In screen, only short_tab_title is used) | |
# Limited support for Apple Terminal (Terminal can't set window and tab separately) | |
function title { | |
emulate -L zsh | |
setopt prompt_subst | |
[[ "$INSIDE_EMACS" == *term* ]] && return | |
# if $2 is unset use $1 as default | |
# if it is set and empty, leave it as is | |
: ${2=$1} | |
case "$TERM" in | |
cygwin|xterm*|putty*|rxvt*|konsole*|ansi|mlterm*|alacritty|st*) | |
print -Pn "\e]2;${2:q}\a" # set window name | |
print -Pn "\e]1;${1:q}\a" # set tab name | |
;; | |
screen*|tmux*) | |
print -Pn "\ek${1:q}\e\\" # set screen hardstatus | |
;; | |
*) | |
if [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then | |
print -Pn "\e]2;${2:q}\a" # set window name | |
print -Pn "\e]1;${1:q}\a" # set tab name | |
else | |
# Try to use terminfo to set the title | |
# If the feature is available set title | |
if [[ -n "$terminfo[fsl]" ]] && [[ -n "$terminfo[tsl]" ]]; then | |
echoti tsl | |
print -Pn "$1" | |
echoti fsl | |
fi | |
fi | |
;; | |
esac | |
} | |
ZSH_THEME_TERM_TAB_TITLE_IDLE="%15<..<%~%<<" #15 char left truncated PWD | |
+/home/h/.oh-my-zsh/lib/termsupport.zsh:44> ZSH_THEME_TERM_TAB_TITLE_IDLE='%15<..<%~%<<' | |
ZSH_THEME_TERM_TITLE_IDLE="%n@%m:%~" | |
+/home/h/.oh-my-zsh/lib/termsupport.zsh:45> ZSH_THEME_TERM_TITLE_IDLE='%n@%m:%~' | |
# Avoid duplication of directory in terminals with independent dir display | |
if [[ "$TERM_PROGRAM" == Apple_Terminal ]]; then | |
ZSH_THEME_TERM_TITLE_IDLE="%n@%m" | |
fi | |
+/home/h/.oh-my-zsh/lib/termsupport.zsh:47> [[ '' == Apple_Terminal ]] | |
# Runs before showing the prompt | |
function omz_termsupport_precmd { | |
[[ "${DISABLE_AUTO_TITLE:-}" == true ]] && return | |
title $ZSH_THEME_TERM_TAB_TITLE_IDLE $ZSH_THEME_TERM_TITLE_IDLE | |
} | |
# Runs before executing the command | |
function omz_termsupport_preexec { | |
[[ "${DISABLE_AUTO_TITLE:-}" == true ]] && return | |
emulate -L zsh | |
setopt extended_glob | |
# split command into array of arguments | |
local -a cmdargs | |
cmdargs=("${(z)2}") | |
# if running fg, extract the command from the job description | |
if [[ "${cmdargs[1]}" = fg ]]; then | |
# get the job id from the first argument passed to the fg command | |
local job_id jobspec="${cmdargs[2]#%}" | |
# logic based on jobs arguments: | |
# http://zsh.sourceforge.net/Doc/Release/Jobs-_0026-Signals.html#Jobs | |
# https://www.zsh.org/mla/users/2007/msg00704.html | |
case "$jobspec" in | |
<->) # %number argument: | |
# use the same <number> passed as an argument | |
job_id=${jobspec} ;; | |
""|%|+) # empty, %% or %+ argument: | |
# use the current job, which appears with a + in $jobstates: | |
# suspended:+:5071=suspended (tty output) | |
job_id=${(k)jobstates[(r)*:+:*]} ;; | |
-) # %- argument: | |
# use the previous job, which appears with a - in $jobstates: | |
# suspended:-:6493=suspended (signal) | |
job_id=${(k)jobstates[(r)*:-:*]} ;; | |
[?]*) # %?string argument: | |
# use $jobtexts to match for a job whose command *contains* <string> | |
job_id=${(k)jobtexts[(r)*${(Q)jobspec}*]} ;; | |
*) # %string argument: | |
# use $jobtexts to match for a job whose command *starts with* <string> | |
job_id=${(k)jobtexts[(r)${(Q)jobspec}*]} ;; | |
esac | |
# override preexec function arguments with job command | |
if [[ -n "${jobtexts[$job_id]}" ]]; then | |
1="${jobtexts[$job_id]}" | |
2="${jobtexts[$job_id]}" | |
fi | |
fi | |
# cmd name only, or if this is sudo or ssh, the next cmd | |
local CMD=${1[(wr)^(*=*|sudo|ssh|mosh|rake|-*)]:gs/%/%%} | |
local LINE="${2:gs/%/%%}" | |
title '$CMD' '%100>...>$LINE%<<' | |
} | |
autoload -U add-zsh-hook | |
+/home/h/.oh-my-zsh/lib/termsupport.zsh:108> autoload -U add-zsh-hook | |
add-zsh-hook precmd omz_termsupport_precmd | |
+/home/h/.oh-my-zsh/lib/termsupport.zsh:109> add-zsh-hook precmd omz_termsupport_precmd | |
+add-zsh-hook:15> emulate -L zsh | |
+add-zsh-hook:17> local -a hooktypes | |
+add-zsh-hook:18> hooktypes=( chpwd precmd preexec periodic zshaddhistory zshexit zsh_directory_name ) | |
+add-zsh-hook:22> local usage='Usage: add-zsh-hook hook function\nValid hooks are:\n chpwd precmd preexec periodic zshaddhistory zshexit zsh_directory_name' | |
+add-zsh-hook:24> local opt | |
+add-zsh-hook:25> local -a autoopts | |
+add-zsh-hook:26> integer del list help | |
+add-zsh-hook:28> getopts dDhLUzk opt | |
+add-zsh-hook:55> shift 0 | |
+add-zsh-hook:57> (( list )) | |
+add-zsh-hook:60> (( help || 2 != 2 || 2 == 0 )) | |
+add-zsh-hook:65> local hook=precmd_functions | |
+add-zsh-hook:66> local fn=omz_termsupport_precmd | |
+add-zsh-hook:68> (( del )) | |
+add-zsh-hook:83> (( 0 )) | |
+add-zsh-hook:89> typeset -ga precmd_functions | |
+add-zsh-hook:90> set -A precmd_functions omz_termsupport_precmd | |
+add-zsh-hook:92> autoload -- omz_termsupport_precmd | |
add-zsh-hook preexec omz_termsupport_preexec | |
+/home/h/.oh-my-zsh/lib/termsupport.zsh:110> add-zsh-hook preexec omz_termsupport_preexec | |
+add-zsh-hook:15> emulate -L zsh | |
+add-zsh-hook:17> local -a hooktypes | |
+add-zsh-hook:18> hooktypes=( chpwd precmd preexec periodic zshaddhistory zshexit zsh_directory_name ) | |
+add-zsh-hook:22> local usage='Usage: add-zsh-hook hook function\nValid hooks are:\n chpwd precmd preexec periodic zshaddhistory zshexit zsh_directory_name' | |
+add-zsh-hook:24> local opt | |
+add-zsh-hook:25> local -a autoopts | |
+add-zsh-hook:26> integer del list help | |
+add-zsh-hook:28> getopts dDhLUzk opt | |
+add-zsh-hook:55> shift 0 | |
+add-zsh-hook:57> (( list )) | |
+add-zsh-hook:60> (( help || 2 != 2 || 3 == 0 )) | |
+add-zsh-hook:65> local hook=preexec_functions | |
+add-zsh-hook:66> local fn=omz_termsupport_preexec | |
+add-zsh-hook:68> (( del )) | |
+add-zsh-hook:83> (( 0 )) | |
+add-zsh-hook:89> typeset -ga preexec_functions | |
+add-zsh-hook:90> set -A preexec_functions omz_termsupport_preexec | |
+add-zsh-hook:92> autoload -- omz_termsupport_preexec | |
# Keep Apple Terminal.app's current working directory updated | |
# Based on this answer: https://superuser.com/a/315029 | |
# With extra fixes to handle multibyte chars and non-UTF-8 locales | |
if [[ "$TERM_PROGRAM" == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]]; then | |
# Emits the control sequence to notify Terminal.app of the cwd | |
# Identifies the directory using a file: URI scheme, including | |
# the host name to disambiguate local vs. remote paths. | |
function update_terminalapp_cwd() { | |
emulate -L zsh | |
# Percent-encode the host and path names. | |
local URL_HOST URL_PATH | |
URL_HOST="$(omz_urlencode -P $HOST)" || return 1 | |
URL_PATH="$(omz_urlencode -P $PWD)" || return 1 | |
# Undocumented Terminal.app-specific control sequence | |
printf '\e]7;%s\a' "file://$URL_HOST$URL_PATH" | |
} | |
# Use a precmd hook instead of a chpwd hook to avoid contaminating output | |
add-zsh-hook precmd update_terminalapp_cwd | |
# Run once to get initial cwd set | |
update_terminalapp_cwd | |
fi | |
+/home/h/.oh-my-zsh/lib/termsupport.zsh:117> [[ '' == Apple_Terminal ]] | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:100> config_file=/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:101> custom_config_file=/home/h/.oh-my-zsh/custom/lib/theme-and-appearance.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:102> [ -f /home/h/.oh-my-zsh/custom/lib/theme-and-appearance.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:103> source /home/h/.oh-my-zsh/lib/theme-and-appearance.zsh | |
# ls colors | |
autoload -U colors && colors | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:2> autoload -U colors | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:2> colors | |
+colors:4> emulate -L zsh | |
+colors:6> typeset -Ag color colour | |
+colors:8> color=( 00 none 01 bold 02 faint 22 normal 03 standout 23 no-standout 04 underline 24 no-underline 05 blink 25 no-blink 07 reverse 27 no-reverse 08 conceal 28 no-conceal 30 black 40 bg-black 31 red 41 bg-red 32 green 42 bg-green 33 yellow 43 bg-yellow 34 blue 44 bg-blue 35 magenta 45 bg-magenta 36 cyan 46 bg-cyan 37 white 47 bg-white 39 default 49 bg-default ) | |
+colors:76> local k | |
+colors:77> k=44 | |
+colors:77> color[${color[$k]}]=44 | |
+colors:77> k=33 | |
+colors:77> color[${color[$k]}]=33 | |
+colors:77> k=22 | |
+colors:77> color[${color[$k]}]=22 | |
+colors:77> k=00 | |
+colors:77> color[${color[$k]}]=00 | |
+colors:77> k=45 | |
+colors:77> color[${color[$k]}]=45 | |
+colors:77> k=34 | |
+colors:77> color[${color[$k]}]=34 | |
+colors:77> k=23 | |
+colors:77> color[${color[$k]}]=23 | |
+colors:77> k=01 | |
+colors:77> color[${color[$k]}]=01 | |
+colors:77> k=46 | |
+colors:77> color[${color[$k]}]=46 | |
+colors:77> k=35 | |
+colors:77> color[${color[$k]}]=35 | |
+colors:77> k=24 | |
+colors:77> color[${color[$k]}]=24 | |
+colors:77> k=02 | |
+colors:77> color[${color[$k]}]=02 | |
+colors:77> k=47 | |
+colors:77> color[${color[$k]}]=47 | |
+colors:77> k=36 | |
+colors:77> color[${color[$k]}]=36 | |
+colors:77> k=25 | |
+colors:77> color[${color[$k]}]=25 | |
+colors:77> k=03 | |
+colors:77> color[${color[$k]}]=03 | |
+colors:77> k=37 | |
+colors:77> color[${color[$k]}]=37 | |
+colors:77> k=04 | |
+colors:77> color[${color[$k]}]=04 | |
+colors:77> k=49 | |
+colors:77> color[${color[$k]}]=49 | |
+colors:77> k=27 | |
+colors:77> color[${color[$k]}]=27 | |
+colors:77> k=05 | |
+colors:77> color[${color[$k]}]=05 | |
+colors:77> k=39 | |
+colors:77> color[${color[$k]}]=39 | |
+colors:77> k=28 | |
+colors:77> color[${color[$k]}]=28 | |
+colors:77> k=07 | |
+colors:77> color[${color[$k]}]=07 | |
+colors:77> k=08 | |
+colors:77> color[${color[$k]}]=08 | |
+colors:77> k=40 | |
+colors:77> color[${color[$k]}]=40 | |
+colors:77> k=41 | |
+colors:77> color[${color[$k]}]=41 | |
+colors:77> k=30 | |
+colors:77> color[${color[$k]}]=30 | |
+colors:77> k=42 | |
+colors:77> color[${color[$k]}]=42 | |
+colors:77> k=31 | |
+colors:77> color[${color[$k]}]=31 | |
+colors:77> k=43 | |
+colors:77> color[${color[$k]}]=43 | |
+colors:77> k=32 | |
+colors:77> color[${color[$k]}]=32 | |
+colors:81> k=30 | |
+colors:81> color[fg-${color[$k]}]=30 | |
+colors:81> k=31 | |
+colors:81> color[fg-${color[$k]}]=31 | |
+colors:81> k=32 | |
+colors:81> color[fg-${color[$k]}]=32 | |
+colors:81> k=33 | |
+colors:81> color[fg-${color[$k]}]=33 | |
+colors:81> k=34 | |
+colors:81> color[fg-${color[$k]}]=34 | |
+colors:81> k=35 | |
+colors:81> color[fg-${color[$k]}]=35 | |
+colors:81> k=36 | |
+colors:81> color[fg-${color[$k]}]=36 | |
+colors:81> k=37 | |
+colors:81> color[fg-${color[$k]}]=37 | |
+colors:81> k=39 | |
+colors:81> color[fg-${color[$k]}]=39 | |
+colors:85> color[grey]=30 | |
+colors:86> color[fg-grey]=30 | |
+colors:87> color[bg-grey]=40 | |
+colors:91> colour=( 00 none 22 normal 44 bg-blue fg-red 31 01 bold 23 no-standout 45 bg-magenta 02 faint 24 no-underline 46 bg-cyan 03 standout 25 no-blink 47 bg-white 04 underline yellow 33 bg-red 41 bold 01 05 blink 27 no-reverse 49 bg-default no-reverse 27 28 no-conceal 07 reverse 08 conceal fg-black 30 red 31 conceal 08 default 39 faint 02 fg-green 32 no-underline 24 bg-magenta 45 magenta 35 blink 05 blue 34 grey 30 fg-default 39 bg-white 47 30 black no-standout 23 31 red 32 green bg-yellow 43 33 yellow cyan 36 34 blue 35 magenta white 37 36 cyan standout 03 37 white bg-blue 44 fg-magenta 35 39 default bg-grey 40 no-conceal 28 reverse 07 bg-cyan 46 underline 04 fg-yellow 33 fg-white 37 bg-black 40 normal 22 fg-blue 34 bg-green 42 none 00 fg-grey 30 black 30 no-blink 25 bg-default 49 40 bg-black fg-cyan 36 green 32 41 bg-red 42 bg-green 43 bg-yellow ) | |
+colors:95> local lc=$'\C-[[' rc=m | |
+colors:97> typeset -Hg reset_color bold_color | |
+colors:98> reset_color=$'\C-[[00m' | |
+colors:99> bold_color=$'\C-[[01m' | |
+colors:103> typeset -AHg fg fg_bold fg_no_bold | |
+colors:104> k=fg-red | |
+colors:105> fg[${k#fg-}]=$'\C-[[31m' | |
+colors:106> fg_bold[${k#fg-}]=$'\C-[[01;31m' | |
+colors:107> fg_no_bold[${k#fg-}]=$'\C-[[22;31m' | |
+colors:104> k=fg-black | |
+colors:105> fg[${k#fg-}]=$'\C-[[30m' | |
+colors:106> fg_bold[${k#fg-}]=$'\C-[[01;30m' | |
+colors:107> fg_no_bold[${k#fg-}]=$'\C-[[22;30m' | |
+colors:104> k=fg-green | |
+colors:105> fg[${k#fg-}]=$'\C-[[32m' | |
+colors:106> fg_bold[${k#fg-}]=$'\C-[[01;32m' | |
+colors:107> fg_no_bold[${k#fg-}]=$'\C-[[22;32m' | |
+colors:104> k=fg-default | |
+colors:105> fg[${k#fg-}]=$'\C-[[39m' | |
+colors:106> fg_bold[${k#fg-}]=$'\C-[[01;39m' | |
+colors:107> fg_no_bold[${k#fg-}]=$'\C-[[22;39m' | |
+colors:104> k=fg-magenta | |
+colors:105> fg[${k#fg-}]=$'\C-[[35m' | |
+colors:106> fg_bold[${k#fg-}]=$'\C-[[01;35m' | |
+colors:107> fg_no_bold[${k#fg-}]=$'\C-[[22;35m' | |
+colors:104> k=fg-yellow | |
+colors:105> fg[${k#fg-}]=$'\C-[[33m' | |
+colors:106> fg_bold[${k#fg-}]=$'\C-[[01;33m' | |
+colors:107> fg_no_bold[${k#fg-}]=$'\C-[[22;33m' | |
+colors:104> k=fg-white | |
+colors:105> fg[${k#fg-}]=$'\C-[[37m' | |
+colors:106> fg_bold[${k#fg-}]=$'\C-[[01;37m' | |
+colors:107> fg_no_bold[${k#fg-}]=$'\C-[[22;37m' | |
+colors:104> k=fg-blue | |
+colors:105> fg[${k#fg-}]=$'\C-[[34m' | |
+colors:106> fg_bold[${k#fg-}]=$'\C-[[01;34m' | |
+colors:107> fg_no_bold[${k#fg-}]=$'\C-[[22;34m' | |
+colors:104> k=fg-grey | |
+colors:105> fg[${k#fg-}]=$'\C-[[30m' | |
+colors:106> fg_bold[${k#fg-}]=$'\C-[[01;30m' | |
+colors:107> fg_no_bold[${k#fg-}]=$'\C-[[22;30m' | |
+colors:104> k=fg-cyan | |
+colors:105> fg[${k#fg-}]=$'\C-[[36m' | |
+colors:106> fg_bold[${k#fg-}]=$'\C-[[01;36m' | |
+colors:107> fg_no_bold[${k#fg-}]=$'\C-[[22;36m' | |
+colors:112> typeset -AHg bg bg_bold bg_no_bold | |
+colors:113> k=bg-red | |
+colors:114> bg[${k#bg-}]=$'\C-[[41m' | |
+colors:115> bg_bold[${k#bg-}]=$'\C-[[01;41m' | |
+colors:116> bg_no_bold[${k#bg-}]=$'\C-[[22;41m' | |
+colors:113> k=bg-magenta | |
+colors:114> bg[${k#bg-}]=$'\C-[[45m' | |
+colors:115> bg_bold[${k#bg-}]=$'\C-[[01;45m' | |
+colors:116> bg_no_bold[${k#bg-}]=$'\C-[[22;45m' | |
+colors:113> k=bg-white | |
+colors:114> bg[${k#bg-}]=$'\C-[[47m' | |
+colors:115> bg_bold[${k#bg-}]=$'\C-[[01;47m' | |
+colors:116> bg_no_bold[${k#bg-}]=$'\C-[[22;47m' | |
+colors:113> k=bg-yellow | |
+colors:114> bg[${k#bg-}]=$'\C-[[43m' | |
+colors:115> bg_bold[${k#bg-}]=$'\C-[[01;43m' | |
+colors:116> bg_no_bold[${k#bg-}]=$'\C-[[22;43m' | |
+colors:113> k=bg-blue | |
+colors:114> bg[${k#bg-}]=$'\C-[[44m' | |
+colors:115> bg_bold[${k#bg-}]=$'\C-[[01;44m' | |
+colors:116> bg_no_bold[${k#bg-}]=$'\C-[[22;44m' | |
+colors:113> k=bg-grey | |
+colors:114> bg[${k#bg-}]=$'\C-[[40m' | |
+colors:115> bg_bold[${k#bg-}]=$'\C-[[01;40m' | |
+colors:116> bg_no_bold[${k#bg-}]=$'\C-[[22;40m' | |
+colors:113> k=bg-cyan | |
+colors:114> bg[${k#bg-}]=$'\C-[[46m' | |
+colors:115> bg_bold[${k#bg-}]=$'\C-[[01;46m' | |
+colors:116> bg_no_bold[${k#bg-}]=$'\C-[[22;46m' | |
+colors:113> k=bg-black | |
+colors:114> bg[${k#bg-}]=$'\C-[[40m' | |
+colors:115> bg_bold[${k#bg-}]=$'\C-[[01;40m' | |
+colors:116> bg_no_bold[${k#bg-}]=$'\C-[[22;40m' | |
+colors:113> k=bg-green | |
+colors:114> bg[${k#bg-}]=$'\C-[[42m' | |
+colors:115> bg_bold[${k#bg-}]=$'\C-[[01;42m' | |
+colors:116> bg_no_bold[${k#bg-}]=$'\C-[[22;42m' | |
+colors:113> k=bg-default | |
+colors:114> bg[${k#bg-}]=$'\C-[[49m' | |
+colors:115> bg_bold[${k#bg-}]=$'\C-[[01;49m' | |
+colors:116> bg_no_bold[${k#bg-}]=$'\C-[[22;49m' | |
# Enable ls colors | |
export LSCOLORS="Gxfxcxdxbxegedabagacad" | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:5> export LSCOLORS=Gxfxcxdxbxegedabagacad | |
# TODO organise this chaotic logic | |
if [[ "$DISABLE_LS_COLORS" != "true" ]]; then | |
# Find the option for using colors in ls, depending on the version | |
if [[ "$OSTYPE" == netbsd* ]]; then | |
# On NetBSD, test if "gls" (GNU ls) is installed (this one supports colors); | |
# otherwise, leave ls as is, because NetBSD's ls doesn't support -G | |
gls --color -d . &>/dev/null && alias ls='gls --color=tty' | |
elif [[ "$OSTYPE" == openbsd* ]]; then | |
# On OpenBSD, "gls" (ls from GNU coreutils) and "colorls" (ls from base, | |
# with color and multibyte support) are available from ports. "colorls" | |
# will be installed on purpose and can't be pulled in by installing | |
# coreutils, so prefer it to "gls". | |
gls --color -d . &>/dev/null && alias ls='gls --color=tty' | |
colorls -G -d . &>/dev/null && alias ls='colorls -G' | |
elif [[ "$OSTYPE" == (darwin|freebsd)* ]]; then | |
# this is a good alias, it works by default just using $LSCOLORS | |
ls -G . &>/dev/null && alias ls='ls -G' | |
# only use coreutils ls if there is a dircolors customization present ($LS_COLORS or .dircolors file) | |
# otherwise, gls will use the default color scheme which is ugly af | |
[[ -n "$LS_COLORS" || -f "$HOME/.dircolors" ]] && gls --color -d . &>/dev/null && alias ls='gls --color=tty' | |
else | |
# For GNU ls, we use the default ls color theme. They can later be overwritten by themes. | |
if [[ -z "$LS_COLORS" ]]; then | |
(( $+commands[dircolors] )) && eval "$(dircolors -b)" | |
fi | |
ls --color -d . &>/dev/null && alias ls='ls --color=tty' || { ls -G . &>/dev/null && alias ls='ls -G' } | |
# Take advantage of $LS_COLORS for completion as well. | |
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" | |
fi | |
fi | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:9> [[ '' != true ]] | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:11> [[ linux-gnu == netbsd* ]] | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:15> [[ linux-gnu == openbsd* ]] | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:22> [[ linux-gnu == (darwin|freebsd)* ]] | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:31> [[ -z 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' ]] | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:35> ls --color -d . | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:35> alias 'ls=ls --color=tty' | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:38> zstyle ':completion:*' list-colors 'rs=0' 'di=01;34' 'ln=01;36' 'mh=00' 'pi=40;33' 'so=01;35' 'do=01;35' 'bd=40;33;01' 'cd=40;33;01' 'or=40;31;01' 'mi=00' 'su=37;41' 'sg=30;43' 'ca=30;41' 'tw=30;42' 'ow=34;42' 'st=37;44' 'ex=01;32' '*.tar=01;31' '*.tgz=01;31' '*.arc=01;31' '*.arj=01;31' '*.taz=01;31' '*.lha=01;31' '*.lz4=01;31' '*.lzh=01;31' '*.lzma=01;31' '*.tlz=01;31' '*.txz=01;31' '*.tzo=01;31' '*.t7z=01;31' '*.zip=01;31' '*.z=01;31' '*.dz=01;31' '*.gz=01;31' '*.lrz=01;31' '*.lz=01;31' '*.lzo=01;31' '*.xz=01;31' '*.zst=01;31' '*.tzst=01;31' '*.bz2=01;31' '*.bz=01;31' '*.tbz=01;31' '*.tbz2=01;31' '*.tz=01;31' '*.deb=01;31' '*.rpm=01;31' '*.jar=01;31' '*.war=01;31' '*.ear=01;31' '*.sar=01;31' '*.rar=01;31' '*.alz=01;31' '*.ace=01;31' '*.zoo=01;31' '*.cpio=01;31' '*.7z=01;31' '*.rz=01;31' '*.cab=01;31' '*.wim=01;31' '*.swm=01;31' '*.dwm=01;31' '*.esd=01;31' '*.jpg=01;35' '*.jpeg=01;35' '*.mjpg=01;35' '*.mjpeg=01;35' '*.gif=01;35' '*.bmp=01;35' '*.pbm=01;35' '*.pgm=01;35' '*.ppm=01;35' '*.tga=01;35' '*.xbm=01;35' '*.xpm=01;35' '*.tif=01;35' '*.tiff=01;35' '*.png=01;35' '*.svg=01;35' '*.svgz=01;35' '*.mng=01;35' '*.pcx=01;35' '*.mov=01;35' '*.mpg=01;35' '*.mpeg=01;35' '*.m2v=01;35' '*.mkv=01;35' '*.webm=01;35' '*.webp=01;35' '*.ogm=01;35' '*.mp4=01;35' '*.m4v=01;35' '*.mp4v=01;35' '*.vob=01;35' '*.qt=01;35' '*.nuv=01;35' '*.wmv=01;35' '*.asf=01;35' '*.rm=01;35' '*.rmvb=01;35' '*.flc=01;35' '*.avi=01;35' '*.fli=01;35' '*.flv=01;35' '*.gl=01;35' '*.dl=01;35' '*.xcf=01;35' '*.xwd=01;35' '*.yuv=01;35' '*.cgm=01;35' '*.emf=01;35' '*.ogv=01;35' '*.ogx=01;35' '*.aac=00;36' '*.au=00;36' '*.flac=00;36' '*.m4a=00;36' '*.mid=00;36' '*.midi=00;36' '*.mka=00;36' '*.mp3=00;36' '*.mpc=00;36' '*.ogg=00;36' '*.ra=00;36' '*.wav=00;36' '*.oga=00;36' '*.opus=00;36' '*.spx=00;36' '*.xspf=00;36' '' | |
# enable diff color if possible. | |
if command diff --color . . &>/dev/null; then | |
alias diff='diff --color' | |
fi | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:43> diff --color . . | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:44> alias 'diff=diff --color' | |
setopt auto_cd | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:47> setopt auto_cd | |
setopt multios | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:48> setopt multios | |
setopt prompt_subst | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:49> setopt prompt_subst | |
[[ -n "$WINDOW" ]] && SCREEN_NO="%B$WINDOW%b " || SCREEN_NO="" | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:51> [[ -n '' ]] | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:51> SCREEN_NO='' | |
# git theming default: Variables for theming the git info prompt | |
ZSH_THEME_GIT_PROMPT_PREFIX="git:(" # Prefix at the very beginning of the prompt, before the branch name | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:54> ZSH_THEME_GIT_PROMPT_PREFIX='git:(' | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")" # At the very end of the prompt | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:55> ZSH_THEME_GIT_PROMPT_SUFFIX=')' | |
ZSH_THEME_GIT_PROMPT_DIRTY="*" # Text to display if the branch is dirty | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:56> ZSH_THEME_GIT_PROMPT_DIRTY='*' | |
ZSH_THEME_GIT_PROMPT_CLEAN="" # Text to display if the branch is clean | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:57> ZSH_THEME_GIT_PROMPT_CLEAN='' | |
ZSH_THEME_RUBY_PROMPT_PREFIX="(" | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:58> ZSH_THEME_RUBY_PROMPT_PREFIX='(' | |
ZSH_THEME_RUBY_PROMPT_SUFFIX=")" | |
+/home/h/.oh-my-zsh/lib/theme-and-appearance.zsh:59> ZSH_THEME_RUBY_PROMPT_SUFFIX=')' | |
# Load all of the plugins that were defined in ~/.zshrc | |
for plugin ($plugins); do | |
if [ -f $ZSH_CUSTOM/plugins/$plugin/$plugin.plugin.zsh ]; then | |
source $ZSH_CUSTOM/plugins/$plugin/$plugin.plugin.zsh | |
elif [ -f $ZSH/plugins/$plugin/$plugin.plugin.zsh ]; then | |
source $ZSH/plugins/$plugin/$plugin.plugin.zsh | |
fi | |
done | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:107> plugin=zsh-autosuggestions | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:108> [ -f /home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:109> source /home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh | |
source ${0:A:h}/zsh-autosuggestions.zsh | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh:1> source /home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh | |
# Fish-like fast/unobtrusive autosuggestions for zsh. | |
# https://github.com/zsh-users/zsh-autosuggestions | |
# v0.6.4 | |
# Copyright (c) 2013 Thiago de Arruda | |
# Copyright (c) 2016-2019 Eric Freese | |
# | |
# Permission is hereby granted, free of charge, to any person | |
# obtaining a copy of this software and associated documentation | |
# files (the "Software"), to deal in the Software without | |
# restriction, including without limitation the rights to use, | |
# copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the | |
# Software is furnished to do so, subject to the following | |
# conditions: | |
# | |
# The above copyright notice and this permission notice shall be | |
# included in all copies or substantial portions of the Software. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | |
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
# OTHER DEALINGS IN THE SOFTWARE. | |
#--------------------------------------------------------------------# | |
# Global Configuration Variables # | |
#--------------------------------------------------------------------# | |
# Color to use when highlighting suggestion | |
# Uses format of `region_highlight` | |
# More info: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Zle-Widgets | |
(( ! ${+ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE} )) && | |
typeset -g ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:35> (( ! 0 )) | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:36> typeset -g ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' | |
# Prefix to use when saving original versions of bound widgets | |
(( ! ${+ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX} )) && | |
typeset -g ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX=autosuggest-orig- | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:39> (( ! 0 )) | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:40> typeset -g ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX=autosuggest-orig- | |
# Strategies to use to fetch a suggestion | |
# Will try each strategy in order until a suggestion is returned | |
(( ! ${+ZSH_AUTOSUGGEST_STRATEGY} )) && { | |
typeset -ga ZSH_AUTOSUGGEST_STRATEGY | |
ZSH_AUTOSUGGEST_STRATEGY=(history) | |
} | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:44> (( ! 0 )) | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:45> typeset -ga ZSH_AUTOSUGGEST_STRATEGY | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:46> ZSH_AUTOSUGGEST_STRATEGY=( history ) | |
# Widgets that clear the suggestion | |
(( ! ${+ZSH_AUTOSUGGEST_CLEAR_WIDGETS} )) && { | |
typeset -ga ZSH_AUTOSUGGEST_CLEAR_WIDGETS | |
ZSH_AUTOSUGGEST_CLEAR_WIDGETS=( | |
history-search-forward | |
history-search-backward | |
history-beginning-search-forward | |
history-beginning-search-backward | |
history-substring-search-up | |
history-substring-search-down | |
up-line-or-beginning-search | |
down-line-or-beginning-search | |
up-line-or-history | |
down-line-or-history | |
accept-line | |
copy-earlier-word | |
) | |
} | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:50> (( ! 0 )) | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:51> typeset -ga ZSH_AUTOSUGGEST_CLEAR_WIDGETS | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:52> ZSH_AUTOSUGGEST_CLEAR_WIDGETS=( history-search-forward history-search-backward history-beginning-search-forward history-beginning-search-backward history-substring-search-up history-substring-search-down up-line-or-beginning-search down-line-or-beginning-search up-line-or-history down-line-or-history accept-line copy-earlier-word ) | |
# Widgets that accept the entire suggestion | |
(( ! ${+ZSH_AUTOSUGGEST_ACCEPT_WIDGETS} )) && { | |
typeset -ga ZSH_AUTOSUGGEST_ACCEPT_WIDGETS | |
ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=( | |
forward-char | |
end-of-line | |
vi-forward-char | |
vi-end-of-line | |
vi-add-eol | |
) | |
} | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:69> (( ! 0 )) | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:70> typeset -ga ZSH_AUTOSUGGEST_ACCEPT_WIDGETS | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:71> ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=( forward-char end-of-line vi-forward-char vi-end-of-line vi-add-eol ) | |
# Widgets that accept the entire suggestion and execute it | |
(( ! ${+ZSH_AUTOSUGGEST_EXECUTE_WIDGETS} )) && { | |
typeset -ga ZSH_AUTOSUGGEST_EXECUTE_WIDGETS | |
ZSH_AUTOSUGGEST_EXECUTE_WIDGETS=( | |
) | |
} | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:81> (( ! 0 )) | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:82> typeset -ga ZSH_AUTOSUGGEST_EXECUTE_WIDGETS | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:83> ZSH_AUTOSUGGEST_EXECUTE_WIDGETS=( ) | |
# Widgets that accept the suggestion as far as the cursor moves | |
(( ! ${+ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS} )) && { | |
typeset -ga ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS | |
ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS=( | |
forward-word | |
emacs-forward-word | |
vi-forward-word | |
vi-forward-word-end | |
vi-forward-blank-word | |
vi-forward-blank-word-end | |
vi-find-next-char | |
vi-find-next-char-skip | |
) | |
} | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:88> (( ! 0 )) | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:89> typeset -ga ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:90> ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS=( forward-word emacs-forward-word vi-forward-word vi-forward-word-end vi-forward-blank-word vi-forward-blank-word-end vi-find-next-char vi-find-next-char-skip ) | |
# Widgets that should be ignored (globbing supported but must be escaped) | |
(( ! ${+ZSH_AUTOSUGGEST_IGNORE_WIDGETS} )) && { | |
typeset -ga ZSH_AUTOSUGGEST_IGNORE_WIDGETS | |
ZSH_AUTOSUGGEST_IGNORE_WIDGETS=( | |
orig-\* | |
beep | |
run-help | |
set-local-history | |
which-command | |
yank | |
yank-pop | |
zle-\* | |
) | |
} | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:103> (( ! 0 )) | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:104> typeset -ga ZSH_AUTOSUGGEST_IGNORE_WIDGETS | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:105> ZSH_AUTOSUGGEST_IGNORE_WIDGETS=( 'orig-*' beep run-help set-local-history which-command yank yank-pop 'zle-*' ) | |
# Pty name for capturing completions for completion suggestion strategy | |
(( ! ${+ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME} )) && | |
typeset -g ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME=zsh_autosuggest_completion_pty | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:118> (( ! 0 )) | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:119> typeset -g ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME=zsh_autosuggest_completion_pty | |
#--------------------------------------------------------------------# | |
# Utility Functions # | |
#--------------------------------------------------------------------# | |
_zsh_autosuggest_escape_command() { | |
setopt localoptions EXTENDED_GLOB | |
# Escape special chars in the string (requires EXTENDED_GLOB) | |
echo -E "${1//(#m)[\"\'\\()\[\]|*?~]/\\$MATCH}" | |
} | |
#--------------------------------------------------------------------# | |
# Widget Helpers # | |
#--------------------------------------------------------------------# | |
_zsh_autosuggest_incr_bind_count() { | |
typeset -gi bind_count=$((_ZSH_AUTOSUGGEST_BIND_COUNTS[$1]+1)) | |
_ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=$bind_count | |
} | |
# Bind a single widget to an autosuggest widget, saving a reference to the original widget | |
_zsh_autosuggest_bind_widget() { | |
typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
local widget=$1 | |
local autosuggest_action=$2 | |
local prefix=$ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX | |
local -i bind_count | |
# Save a reference to the original widget | |
case $widgets[$widget] in | |
# Already bound | |
user:_zsh_autosuggest_(bound|orig)_*) | |
bind_count=$((_ZSH_AUTOSUGGEST_BIND_COUNTS[$widget])) | |
;; | |
# User-defined widget | |
user:*) | |
_zsh_autosuggest_incr_bind_count $widget | |
zle -N $prefix$bind_count-$widget ${widgets[$widget]#*:} | |
;; | |
# Built-in widget | |
builtin) | |
_zsh_autosuggest_incr_bind_count $widget | |
eval "_zsh_autosuggest_orig_${(q)widget}() { zle .${(q)widget} }" | |
zle -N $prefix$bind_count-$widget _zsh_autosuggest_orig_$widget | |
;; | |
# Completion widget | |
completion:*) | |
_zsh_autosuggest_incr_bind_count $widget | |
eval "zle -C $prefix$bind_count-${(q)widget} ${${(s.:.)widgets[$widget]}[2,3]}" | |
;; | |
esac | |
# Pass the original widget's name explicitly into the autosuggest | |
# function. Use this passed in widget name to call the original | |
# widget instead of relying on the $WIDGET variable being set | |
# correctly. $WIDGET cannot be trusted because other plugins call | |
# zle without the `-w` flag (e.g. `zle self-insert` instead of | |
# `zle self-insert -w`). | |
eval "_zsh_autosuggest_bound_${bind_count}_${(q)widget}() { | |
_zsh_autosuggest_widget_$autosuggest_action $prefix$bind_count-${(q)widget} \$@ | |
}" | |
# Create the bound widget | |
zle -N -- $widget _zsh_autosuggest_bound_${bind_count}_$widget | |
} | |
# Map all configured widgets to the right autosuggest widgets | |
_zsh_autosuggest_bind_widgets() { | |
emulate -L zsh | |
local widget | |
local ignore_widgets | |
ignore_widgets=( | |
.\* | |
_\* | |
autosuggest-\* | |
$ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\* | |
$ZSH_AUTOSUGGEST_IGNORE_WIDGETS | |
) | |
# Find every widget we might want to bind and bind it appropriately | |
for widget in ${${(f)"$(builtin zle -la)"}:#${(j:|:)~ignore_widgets}}; do | |
if [[ -n ${ZSH_AUTOSUGGEST_CLEAR_WIDGETS[(r)$widget]} ]]; then | |
_zsh_autosuggest_bind_widget $widget clear | |
elif [[ -n ${ZSH_AUTOSUGGEST_ACCEPT_WIDGETS[(r)$widget]} ]]; then | |
_zsh_autosuggest_bind_widget $widget accept | |
elif [[ -n ${ZSH_AUTOSUGGEST_EXECUTE_WIDGETS[(r)$widget]} ]]; then | |
_zsh_autosuggest_bind_widget $widget execute | |
elif [[ -n ${ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS[(r)$widget]} ]]; then | |
_zsh_autosuggest_bind_widget $widget partial_accept | |
else | |
# Assume any unspecified widget might modify the buffer | |
_zsh_autosuggest_bind_widget $widget modify | |
fi | |
done | |
} | |
# Given the name of an original widget and args, invoke it, if it exists | |
_zsh_autosuggest_invoke_original_widget() { | |
# Do nothing unless called with at least one arg | |
(( $# )) || return 0 | |
local original_widget_name="$1" | |
shift | |
if (( ${+widgets[$original_widget_name]} )); then | |
zle $original_widget_name -- $@ | |
fi | |
} | |
#--------------------------------------------------------------------# | |
# Highlighting # | |
#--------------------------------------------------------------------# | |
# If there was a highlight, remove it | |
_zsh_autosuggest_highlight_reset() { | |
typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT | |
if [[ -n "$_ZSH_AUTOSUGGEST_LAST_HIGHLIGHT" ]]; then | |
region_highlight=("${(@)region_highlight:#$_ZSH_AUTOSUGGEST_LAST_HIGHLIGHT}") | |
unset _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT | |
fi | |
} | |
# If there's a suggestion, highlight it | |
_zsh_autosuggest_highlight_apply() { | |
typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT | |
if (( $#POSTDISPLAY )); then | |
typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT="$#BUFFER $(($#BUFFER + $#POSTDISPLAY)) $ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE" | |
region_highlight+=("$_ZSH_AUTOSUGGEST_LAST_HIGHLIGHT") | |
else | |
unset _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT | |
fi | |
} | |
#--------------------------------------------------------------------# | |
# Autosuggest Widget Implementations # | |
#--------------------------------------------------------------------# | |
# Disable suggestions | |
_zsh_autosuggest_disable() { | |
typeset -g _ZSH_AUTOSUGGEST_DISABLED | |
_zsh_autosuggest_clear | |
} | |
# Enable suggestions | |
_zsh_autosuggest_enable() { | |
unset _ZSH_AUTOSUGGEST_DISABLED | |
if (( $#BUFFER )); then | |
_zsh_autosuggest_fetch | |
fi | |
} | |
# Toggle suggestions (enable/disable) | |
_zsh_autosuggest_toggle() { | |
if [[ -n "${_ZSH_AUTOSUGGEST_DISABLED+x}" ]]; then | |
_zsh_autosuggest_enable | |
else | |
_zsh_autosuggest_disable | |
fi | |
} | |
# Clear the suggestion | |
_zsh_autosuggest_clear() { | |
# Remove the suggestion | |
unset POSTDISPLAY | |
_zsh_autosuggest_invoke_original_widget $@ | |
} | |
# Modify the buffer and get a new suggestion | |
_zsh_autosuggest_modify() { | |
local -i retval | |
# Only available in zsh >= 5.4 | |
local -i KEYS_QUEUED_COUNT | |
# Save the contents of the buffer/postdisplay | |
local orig_buffer="$BUFFER" | |
local orig_postdisplay="$POSTDISPLAY" | |
# Clear suggestion while waiting for next one | |
unset POSTDISPLAY | |
# Original widget may modify the buffer | |
_zsh_autosuggest_invoke_original_widget $@ | |
retval=$? | |
emulate -L zsh | |
# Don't fetch a new suggestion if there's more input to be read immediately | |
if (( $PENDING > 0 || $KEYS_QUEUED_COUNT > 0 )); then | |
POSTDISPLAY="$orig_postdisplay" | |
return $retval | |
fi | |
# Optimize if manually typing in the suggestion | |
if (( $#BUFFER > $#orig_buffer )); then | |
local added=${BUFFER#$orig_buffer} | |
# If the string added matches the beginning of the postdisplay | |
if [[ "$added" = "${orig_postdisplay:0:$#added}" ]]; then | |
POSTDISPLAY="${orig_postdisplay:$#added}" | |
return $retval | |
fi | |
fi | |
# Don't fetch a new suggestion if the buffer hasn't changed | |
if [[ "$BUFFER" = "$orig_buffer" ]]; then | |
POSTDISPLAY="$orig_postdisplay" | |
return $retval | |
fi | |
# Bail out if suggestions are disabled | |
if [[ -n "${_ZSH_AUTOSUGGEST_DISABLED+x}" ]]; then | |
return $? | |
fi | |
# Get a new suggestion if the buffer is not empty after modification | |
if (( $#BUFFER > 0 )); then | |
if [[ -z "$ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE" ]] || (( $#BUFFER <= $ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE )); then | |
_zsh_autosuggest_fetch | |
fi | |
fi | |
return $retval | |
} | |
# Fetch a new suggestion based on what's currently in the buffer | |
_zsh_autosuggest_fetch() { | |
if (( ${+ZSH_AUTOSUGGEST_USE_ASYNC} )); then | |
_zsh_autosuggest_async_request "$BUFFER" | |
else | |
local suggestion | |
_zsh_autosuggest_fetch_suggestion "$BUFFER" | |
_zsh_autosuggest_suggest "$suggestion" | |
fi | |
} | |
# Offer a suggestion | |
_zsh_autosuggest_suggest() { | |
emulate -L zsh | |
local suggestion="$1" | |
if [[ -n "$suggestion" ]] && (( $#BUFFER )); then | |
POSTDISPLAY="${suggestion#$BUFFER}" | |
else | |
unset POSTDISPLAY | |
fi | |
} | |
# Accept the entire suggestion | |
_zsh_autosuggest_accept() { | |
local -i retval max_cursor_pos=$#BUFFER | |
# When vicmd keymap is active, the cursor can't move all the way | |
# to the end of the buffer | |
if [[ "$KEYMAP" = "vicmd" ]]; then | |
max_cursor_pos=$((max_cursor_pos - 1)) | |
fi | |
# If we're not in a valid state to accept a suggestion, just run the | |
# original widget and bail out | |
if (( $CURSOR != $max_cursor_pos || !$#POSTDISPLAY )); then | |
_zsh_autosuggest_invoke_original_widget $@ | |
return | |
fi | |
# Only accept if the cursor is at the end of the buffer | |
# Add the suggestion to the buffer | |
BUFFER="$BUFFER$POSTDISPLAY" | |
# Remove the suggestion | |
unset POSTDISPLAY | |
# Run the original widget before manually moving the cursor so that the | |
# cursor movement doesn't make the widget do something unexpected | |
_zsh_autosuggest_invoke_original_widget $@ | |
retval=$? | |
# Move the cursor to the end of the buffer | |
if [[ "$KEYMAP" = "vicmd" ]]; then | |
CURSOR=$(($#BUFFER - 1)) | |
else | |
CURSOR=$#BUFFER | |
fi | |
return $retval | |
} | |
# Accept the entire suggestion and execute it | |
_zsh_autosuggest_execute() { | |
# Add the suggestion to the buffer | |
BUFFER="$BUFFER$POSTDISPLAY" | |
# Remove the suggestion | |
unset POSTDISPLAY | |
# Call the original `accept-line` to handle syntax highlighting or | |
# other potential custom behavior | |
_zsh_autosuggest_invoke_original_widget "accept-line" | |
} | |
# Partially accept the suggestion | |
_zsh_autosuggest_partial_accept() { | |
local -i retval cursor_loc | |
# Save the contents of the buffer so we can restore later if needed | |
local original_buffer="$BUFFER" | |
# Temporarily accept the suggestion. | |
BUFFER="$BUFFER$POSTDISPLAY" | |
# Original widget moves the cursor | |
_zsh_autosuggest_invoke_original_widget $@ | |
retval=$? | |
# Normalize cursor location across vi/emacs modes | |
cursor_loc=$CURSOR | |
if [[ "$KEYMAP" = "vicmd" ]]; then | |
cursor_loc=$((cursor_loc + 1)) | |
fi | |
# If we've moved past the end of the original buffer | |
if (( $cursor_loc > $#original_buffer )); then | |
# Set POSTDISPLAY to text right of the cursor | |
POSTDISPLAY="${BUFFER[$(($cursor_loc + 1)),$#BUFFER]}" | |
# Clip the buffer at the cursor | |
BUFFER="${BUFFER[1,$cursor_loc]}" | |
else | |
# Restore the original buffer | |
BUFFER="$original_buffer" | |
fi | |
return $retval | |
} | |
() { | |
local action | |
for action in clear modify fetch suggest accept partial_accept execute enable disable toggle; do | |
eval "_zsh_autosuggest_widget_$action() { | |
local -i retval | |
_zsh_autosuggest_highlight_reset | |
_zsh_autosuggest_$action \$@ | |
retval=\$? | |
_zsh_autosuggest_highlight_apply | |
zle -R | |
return \$retval | |
}" | |
done | |
zle -N autosuggest-fetch _zsh_autosuggest_widget_fetch | |
zle -N autosuggest-suggest _zsh_autosuggest_widget_suggest | |
zle -N autosuggest-accept _zsh_autosuggest_widget_accept | |
zle -N autosuggest-clear _zsh_autosuggest_widget_clear | |
zle -N autosuggest-execute _zsh_autosuggest_widget_execute | |
zle -N autosuggest-enable _zsh_autosuggest_widget_enable | |
zle -N autosuggest-disable _zsh_autosuggest_widget_disable | |
zle -N autosuggest-toggle _zsh_autosuggest_widget_toggle | |
} | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:469> '(anon)' | |
+(anon):1> local action | |
+(anon):2> action=clear | |
+(anon):3> eval $'_zsh_autosuggest_widget_clear() {\n\t\t\tlocal -i retval\n\n\t\t\t_zsh_autosuggest_highlight_reset\n\n\t\t\t_zsh_autosuggest_clear $@\n\t\t\tretval=$?\n\n\t\t\t_zsh_autosuggest_highlight_apply\n\n\t\t\tzle -R\n\n\t\t\treturn $retval\n\t\t}' | |
+(anon):2> action=modify | |
+(anon):3> eval $'_zsh_autosuggest_widget_modify() {\n\t\t\tlocal -i retval\n\n\t\t\t_zsh_autosuggest_highlight_reset\n\n\t\t\t_zsh_autosuggest_modify $@\n\t\t\tretval=$?\n\n\t\t\t_zsh_autosuggest_highlight_apply\n\n\t\t\tzle -R\n\n\t\t\treturn $retval\n\t\t}' | |
+(anon):2> action=fetch | |
+(anon):3> eval $'_zsh_autosuggest_widget_fetch() {\n\t\t\tlocal -i retval\n\n\t\t\t_zsh_autosuggest_highlight_reset\n\n\t\t\t_zsh_autosuggest_fetch $@\n\t\t\tretval=$?\n\n\t\t\t_zsh_autosuggest_highlight_apply\n\n\t\t\tzle -R\n\n\t\t\treturn $retval\n\t\t}' | |
+(anon):2> action=suggest | |
+(anon):3> eval $'_zsh_autosuggest_widget_suggest() {\n\t\t\tlocal -i retval\n\n\t\t\t_zsh_autosuggest_highlight_reset\n\n\t\t\t_zsh_autosuggest_suggest $@\n\t\t\tretval=$?\n\n\t\t\t_zsh_autosuggest_highlight_apply\n\n\t\t\tzle -R\n\n\t\t\treturn $retval\n\t\t}' | |
+(anon):2> action=accept | |
+(anon):3> eval $'_zsh_autosuggest_widget_accept() {\n\t\t\tlocal -i retval\n\n\t\t\t_zsh_autosuggest_highlight_reset\n\n\t\t\t_zsh_autosuggest_accept $@\n\t\t\tretval=$?\n\n\t\t\t_zsh_autosuggest_highlight_apply\n\n\t\t\tzle -R\n\n\t\t\treturn $retval\n\t\t}' | |
+(anon):2> action=partial_accept | |
+(anon):3> eval $'_zsh_autosuggest_widget_partial_accept() {\n\t\t\tlocal -i retval\n\n\t\t\t_zsh_autosuggest_highlight_reset\n\n\t\t\t_zsh_autosuggest_partial_accept $@\n\t\t\tretval=$?\n\n\t\t\t_zsh_autosuggest_highlight_apply\n\n\t\t\tzle -R\n\n\t\t\treturn $retval\n\t\t}' | |
+(anon):2> action=execute | |
+(anon):3> eval $'_zsh_autosuggest_widget_execute() {\n\t\t\tlocal -i retval\n\n\t\t\t_zsh_autosuggest_highlight_reset\n\n\t\t\t_zsh_autosuggest_execute $@\n\t\t\tretval=$?\n\n\t\t\t_zsh_autosuggest_highlight_apply\n\n\t\t\tzle -R\n\n\t\t\treturn $retval\n\t\t}' | |
+(anon):2> action=enable | |
+(anon):3> eval $'_zsh_autosuggest_widget_enable() {\n\t\t\tlocal -i retval\n\n\t\t\t_zsh_autosuggest_highlight_reset\n\n\t\t\t_zsh_autosuggest_enable $@\n\t\t\tretval=$?\n\n\t\t\t_zsh_autosuggest_highlight_apply\n\n\t\t\tzle -R\n\n\t\t\treturn $retval\n\t\t}' | |
+(anon):2> action=disable | |
+(anon):3> eval $'_zsh_autosuggest_widget_disable() {\n\t\t\tlocal -i retval\n\n\t\t\t_zsh_autosuggest_highlight_reset\n\n\t\t\t_zsh_autosuggest_disable $@\n\t\t\tretval=$?\n\n\t\t\t_zsh_autosuggest_highlight_apply\n\n\t\t\tzle -R\n\n\t\t\treturn $retval\n\t\t}' | |
+(anon):2> action=toggle | |
+(anon):3> eval $'_zsh_autosuggest_widget_toggle() {\n\t\t\tlocal -i retval\n\n\t\t\t_zsh_autosuggest_highlight_reset\n\n\t\t\t_zsh_autosuggest_toggle $@\n\t\t\tretval=$?\n\n\t\t\t_zsh_autosuggest_highlight_apply\n\n\t\t\tzle -R\n\n\t\t\treturn $retval\n\t\t}' | |
+(anon):19> zle -N autosuggest-fetch _zsh_autosuggest_widget_fetch | |
+(anon):20> zle -N autosuggest-suggest _zsh_autosuggest_widget_suggest | |
+(anon):21> zle -N autosuggest-accept _zsh_autosuggest_widget_accept | |
+(anon):22> zle -N autosuggest-clear _zsh_autosuggest_widget_clear | |
+(anon):23> zle -N autosuggest-execute _zsh_autosuggest_widget_execute | |
+(anon):24> zle -N autosuggest-enable _zsh_autosuggest_widget_enable | |
+(anon):25> zle -N autosuggest-disable _zsh_autosuggest_widget_disable | |
+(anon):26> zle -N autosuggest-toggle _zsh_autosuggest_widget_toggle | |
#--------------------------------------------------------------------# | |
# Completion Suggestion Strategy # | |
#--------------------------------------------------------------------# | |
# Fetches a suggestion from the completion engine | |
# | |
_zsh_autosuggest_capture_postcompletion() { | |
# Always insert the first completion into the buffer | |
compstate[insert]=1 | |
# Don't list completions | |
unset 'compstate[list]' | |
} | |
_zsh_autosuggest_capture_completion_widget() { | |
# Add a post-completion hook to be called after all completions have been | |
# gathered. The hook can modify compstate to affect what is done with the | |
# gathered completions. | |
local -a +h comppostfuncs | |
comppostfuncs=(_zsh_autosuggest_capture_postcompletion) | |
# Only capture completions at the end of the buffer | |
CURSOR=$#BUFFER | |
# Run the original widget wrapping `.complete-word` so we don't | |
# recursively try to fetch suggestions, since our pty is forked | |
# after autosuggestions is initialized. | |
zle -- ${(k)widgets[(r)completion:.complete-word:_main_complete]} | |
if is-at-least 5.0.3; then | |
# Don't do any cr/lf transformations. We need to do this immediately before | |
# output because if we do it in setup, onlcr will be re-enabled when we enter | |
# vared in the async code path. There is a bug in zpty module in older versions | |
# where the tty is not properly attached to the pty slave, resulting in stty | |
# getting stopped with a SIGTTOU. See zsh-workers thread 31660 and upstream | |
# commit f75904a38 | |
stty -onlcr -ocrnl -F /dev/tty | |
fi | |
# The completion has been added, print the buffer as the suggestion | |
echo -nE - $'\0'$BUFFER$'\0' | |
} | |
zle -N autosuggest-capture-completion _zsh_autosuggest_capture_completion_widget | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:541> zle -N autosuggest-capture-completion _zsh_autosuggest_capture_completion_widget | |
_zsh_autosuggest_capture_setup() { | |
autoload -Uz is-at-least | |
# There is a bug in zpty module in older zsh versions by which a | |
# zpty that exits will kill all zpty processes that were forked | |
# before it. Here we set up a zsh exit hook to SIGKILL the zpty | |
# process immediately, before it has a chance to kill any other | |
# zpty processes. | |
if ! is-at-least 5.4; then | |
zshexit() { | |
# The zsh builtin `kill` fails sometimes in older versions | |
# https://unix.stackexchange.com/a/477647/156673 | |
kill -KILL $$ 2>&- || command kill -KILL $$ | |
# Block for long enough for the signal to come through | |
sleep 1 | |
} | |
fi | |
# Try to avoid any suggestions that wouldn't match the prefix | |
zstyle ':completion:*' matcher-list '' | |
zstyle ':completion:*' path-completion false | |
zstyle ':completion:*' max-errors 0 not-numeric | |
bindkey '^I' autosuggest-capture-completion | |
} | |
_zsh_autosuggest_capture_completion_sync() { | |
_zsh_autosuggest_capture_setup | |
zle autosuggest-capture-completion | |
} | |
_zsh_autosuggest_capture_completion_async() { | |
_zsh_autosuggest_capture_setup | |
zmodload zsh/parameter 2>/dev/null || return # For `$functions` | |
# Make vared completion work as if for a normal command line | |
# https://stackoverflow.com/a/7057118/154703 | |
autoload +X _complete | |
functions[_original_complete]=$functions[_complete] | |
function _complete() { | |
unset 'compstate[vared]' | |
_original_complete "$@" | |
} | |
# Open zle with buffer set so we can capture completions for it | |
vared 1 | |
} | |
_zsh_autosuggest_strategy_completion() { | |
# Reset options to defaults and enable LOCAL_OPTIONS | |
emulate -L zsh | |
# Enable extended glob for completion ignore pattern | |
setopt EXTENDED_GLOB | |
typeset -g suggestion | |
local line REPLY | |
# Exit if we don't have completions | |
whence compdef >/dev/null || return | |
# Exit if we don't have zpty | |
zmodload zsh/zpty 2>/dev/null || return | |
# Exit if our search string matches the ignore pattern | |
[[ -n "$ZSH_AUTOSUGGEST_COMPLETION_IGNORE" ]] && [[ "$1" == $~ZSH_AUTOSUGGEST_COMPLETION_IGNORE ]] && return | |
# Zle will be inactive if we are in async mode | |
if zle; then | |
zpty $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME _zsh_autosuggest_capture_completion_sync | |
else | |
zpty $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME _zsh_autosuggest_capture_completion_async "\$1" | |
zpty -w $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME $'\t' | |
fi | |
{ | |
# The completion result is surrounded by null bytes, so read the | |
# content between the first two null bytes. | |
zpty -r $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME line '*'$'\0''*'$'\0' | |
# Extract the suggestion from between the null bytes. On older | |
# versions of zsh (older than 5.3), we sometimes get extra bytes after | |
# the second null byte, so trim those off the end. | |
# See http://www.zsh.org/mla/workers/2015/msg03290.html | |
suggestion="${${(@0)line}[2]}" | |
} always { | |
# Destroy the pty | |
zpty -d $ZSH_AUTOSUGGEST_COMPLETIONS_PTY_NAME | |
} | |
} | |
#--------------------------------------------------------------------# | |
# History Suggestion Strategy # | |
#--------------------------------------------------------------------# | |
# Suggests the most recent history item that matches the given | |
# prefix. | |
# | |
_zsh_autosuggest_strategy_history() { | |
# Reset options to defaults and enable LOCAL_OPTIONS | |
emulate -L zsh | |
# Enable globbing flags so that we can use (#m) and (x~y) glob operator | |
setopt EXTENDED_GLOB | |
# Escape backslashes and all of the glob operators so we can use | |
# this string as a pattern to search the $history associative array. | |
# - (#m) globbing flag enables setting references for match data | |
# TODO: Use (b) flag when we can drop support for zsh older than v5.0.8 | |
local prefix="${1//(#m)[\\*?[\]<>()|^~#]/\\$MATCH}" | |
# Get the history items that match the prefix, excluding those that match | |
# the ignore pattern | |
local pattern="$prefix*" | |
if [[ -n $ZSH_AUTOSUGGEST_HISTORY_IGNORE ]]; then | |
pattern="($pattern)~($ZSH_AUTOSUGGEST_HISTORY_IGNORE)" | |
fi | |
# Give the first history item matching the pattern as the suggestion | |
# - (r) subscript flag makes the pattern match on values | |
typeset -g suggestion="${history[(r)$pattern]}" | |
} | |
#--------------------------------------------------------------------# | |
# Match Previous Command Suggestion Strategy # | |
#--------------------------------------------------------------------# | |
# Suggests the most recent history item that matches the given | |
# prefix and whose preceding history item also matches the most | |
# recently executed command. | |
# | |
# For example, suppose your history has the following entries: | |
# - pwd | |
# - ls foo | |
# - ls bar | |
# - pwd | |
# | |
# Given the history list above, when you type 'ls', the suggestion | |
# will be 'ls foo' rather than 'ls bar' because your most recently | |
# executed command (pwd) was previously followed by 'ls foo'. | |
# | |
# Note that this strategy won't work as expected with ZSH options that don't | |
# preserve the history order such as `HIST_IGNORE_ALL_DUPS` or | |
# `HIST_EXPIRE_DUPS_FIRST`. | |
_zsh_autosuggest_strategy_match_prev_cmd() { | |
# Reset options to defaults and enable LOCAL_OPTIONS | |
emulate -L zsh | |
# Enable globbing flags so that we can use (#m) and (x~y) glob operator | |
setopt EXTENDED_GLOB | |
# TODO: Use (b) flag when we can drop support for zsh older than v5.0.8 | |
local prefix="${1//(#m)[\\*?[\]<>()|^~#]/\\$MATCH}" | |
# Get the history items that match the prefix, excluding those that match | |
# the ignore pattern | |
local pattern="$prefix*" | |
if [[ -n $ZSH_AUTOSUGGEST_HISTORY_IGNORE ]]; then | |
pattern="($pattern)~($ZSH_AUTOSUGGEST_HISTORY_IGNORE)" | |
fi | |
# Get all history event numbers that correspond to history | |
# entries that match the pattern | |
local history_match_keys | |
history_match_keys=(${(k)history[(R)$~pattern]}) | |
# By default we use the first history number (most recent history entry) | |
local histkey="${history_match_keys[1]}" | |
# Get the previously executed command | |
local prev_cmd="$(_zsh_autosuggest_escape_command "${history[$((HISTCMD-1))]}")" | |
# Iterate up to the first 200 history event numbers that match $prefix | |
for key in "${(@)history_match_keys[1,200]}"; do | |
# Stop if we ran out of history | |
[[ $key -gt 1 ]] || break | |
# See if the history entry preceding the suggestion matches the | |
# previous command, and use it if it does | |
if [[ "${history[$((key - 1))]}" == "$prev_cmd" ]]; then | |
histkey="$key" | |
break | |
fi | |
done | |
# Give back the matched history entry | |
typeset -g suggestion="$history[$histkey]" | |
} | |
#--------------------------------------------------------------------# | |
# Fetch Suggestion # | |
#--------------------------------------------------------------------# | |
# Loops through all specified strategies and returns a suggestion | |
# from the first strategy to provide one. | |
# | |
_zsh_autosuggest_fetch_suggestion() { | |
typeset -g suggestion | |
local -a strategies | |
local strategy | |
# Ensure we are working with an array | |
strategies=(${=ZSH_AUTOSUGGEST_STRATEGY}) | |
for strategy in $strategies; do | |
# Try to get a suggestion from this strategy | |
_zsh_autosuggest_strategy_$strategy "$1" | |
# Ensure the suggestion matches the prefix | |
[[ "$suggestion" != "$1"* ]] && unset suggestion | |
# Break once we've found a valid suggestion | |
[[ -n "$suggestion" ]] && break | |
done | |
} | |
#--------------------------------------------------------------------# | |
# Async # | |
#--------------------------------------------------------------------# | |
_zsh_autosuggest_async_request() { | |
zmodload zsh/system 2>/dev/null # For `$sysparams` | |
typeset -g _ZSH_AUTOSUGGEST_ASYNC_FD _ZSH_AUTOSUGGEST_CHILD_PID | |
# If we've got a pending request, cancel it | |
if [[ -n "$_ZSH_AUTOSUGGEST_ASYNC_FD" ]] && { true <&$_ZSH_AUTOSUGGEST_ASYNC_FD } 2>/dev/null; then | |
# Close the file descriptor and remove the handler | |
exec {_ZSH_AUTOSUGGEST_ASYNC_FD}<&- | |
zle -F $_ZSH_AUTOSUGGEST_ASYNC_FD | |
# We won't know the pid unless the user has zsh/system module installed | |
if [[ -n "$_ZSH_AUTOSUGGEST_CHILD_PID" ]]; then | |
# Zsh will make a new process group for the child process only if job | |
# control is enabled (MONITOR option) | |
if [[ -o MONITOR ]]; then | |
# Send the signal to the process group to kill any processes that may | |
# have been forked by the suggestion strategy | |
kill -TERM -$_ZSH_AUTOSUGGEST_CHILD_PID 2>/dev/null | |
else | |
# Kill just the child process since it wasn't placed in a new process | |
# group. If the suggestion strategy forked any child processes they may | |
# be orphaned and left behind. | |
kill -TERM $_ZSH_AUTOSUGGEST_CHILD_PID 2>/dev/null | |
fi | |
fi | |
fi | |
# Fork a process to fetch a suggestion and open a pipe to read from it | |
exec {_ZSH_AUTOSUGGEST_ASYNC_FD}< <( | |
# Tell parent process our pid | |
echo $sysparams[pid] | |
# Fetch and print the suggestion | |
local suggestion | |
_zsh_autosuggest_fetch_suggestion "$1" | |
echo -nE "$suggestion" | |
) | |
# There's a weird bug here where ^C stops working unless we force a fork | |
# See https://github.com/zsh-users/zsh-autosuggestions/issues/364 | |
command true | |
# Read the pid from the child process | |
read _ZSH_AUTOSUGGEST_CHILD_PID <&$_ZSH_AUTOSUGGEST_ASYNC_FD | |
# When the fd is readable, call the response handler | |
zle -F "$_ZSH_AUTOSUGGEST_ASYNC_FD" _zsh_autosuggest_async_response | |
} | |
# Called when new data is ready to be read from the pipe | |
# First arg will be fd ready for reading | |
# Second arg will be passed in case of error | |
_zsh_autosuggest_async_response() { | |
emulate -L zsh | |
local suggestion | |
if [[ -z "$2" || "$2" == "hup" ]]; then | |
# Read everything from the fd and give it as a suggestion | |
IFS='' read -rd '' -u $1 suggestion | |
zle autosuggest-suggest -- "$suggestion" | |
# Close the fd | |
exec {1}<&- | |
fi | |
# Always remove the handler | |
zle -F "$1" | |
} | |
#--------------------------------------------------------------------# | |
# Start # | |
#--------------------------------------------------------------------# | |
# Start the autosuggestion widgets | |
_zsh_autosuggest_start() { | |
# By default we re-bind widgets on every precmd to ensure we wrap other | |
# wrappers. Specifically, highlighting breaks if our widgets are wrapped by | |
# zsh-syntax-highlighting widgets. This also allows modifications to the | |
# widget list variables to take effect on the next precmd. However this has | |
# a decent performance hit, so users can set ZSH_AUTOSUGGEST_MANUAL_REBIND | |
# to disable the automatic re-binding. | |
if (( ${+ZSH_AUTOSUGGEST_MANUAL_REBIND} )); then | |
add-zsh-hook -d precmd _zsh_autosuggest_start | |
fi | |
_zsh_autosuggest_bind_widgets | |
} | |
# Start the autosuggestion widgets on the next precmd | |
autoload -Uz add-zsh-hook | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:857> autoload -Uz add-zsh-hook | |
add-zsh-hook precmd _zsh_autosuggest_start | |
+/home/h/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:858> add-zsh-hook precmd _zsh_autosuggest_start | |
+add-zsh-hook:15> emulate -L zsh | |
+add-zsh-hook:17> local -a hooktypes | |
+add-zsh-hook:18> hooktypes=( chpwd precmd preexec periodic zshaddhistory zshexit zsh_directory_name ) | |
+add-zsh-hook:22> local usage='Usage: add-zsh-hook hook function\nValid hooks are:\n chpwd precmd preexec periodic zshaddhistory zshexit zsh_directory_name' | |
+add-zsh-hook:24> local opt | |
+add-zsh-hook:25> local -a autoopts | |
+add-zsh-hook:26> integer del list help | |
+add-zsh-hook:28> getopts dDhLUzk opt | |
+add-zsh-hook:55> shift 0 | |
+add-zsh-hook:57> (( list )) | |
+add-zsh-hook:60> (( help || 2 != 2 || 2 == 0 )) | |
+add-zsh-hook:65> local hook=precmd_functions | |
+add-zsh-hook:66> local fn=_zsh_autosuggest_start | |
+add-zsh-hook:68> (( del )) | |
+add-zsh-hook:83> (( 1 )) | |
+add-zsh-hook:84> (( 0 == 0 )) | |
+add-zsh-hook:85> typeset -ga precmd_functions | |
+add-zsh-hook:86> set -A precmd_functions omz_termsupport_precmd _zsh_autosuggest_start | |
+add-zsh-hook:92> autoload -- _zsh_autosuggest_start | |
# Load all of your custom configurations from custom/ | |
for config_file ($ZSH_CUSTOM/*.zsh(N)); do | |
source $config_file | |
done | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:116> config_file=/home/h/.oh-my-zsh/custom/example.zsh | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:117> source /home/h/.oh-my-zsh/custom/example.zsh | |
# You can put files here to add functionality separated per file, which | |
# will be ignored by git. | |
# Files on the custom/ directory will be automatically loaded by the init | |
# script, in alphabetical order. | |
# For example: add yourself some shortcuts to projects you often work on. | |
# | |
# brainstormr=~/Projects/development/planetargon/brainstormr | |
# cd $brainstormr | |
# | |
unset config_file | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:119> unset config_file | |
# Load the theme | |
if [ ! "$ZSH_THEME" = "" ]; then | |
if [ -f "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme" ]; then | |
source "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme" | |
elif [ -f "$ZSH_CUSTOM/themes/$ZSH_THEME.zsh-theme" ]; then | |
source "$ZSH_CUSTOM/themes/$ZSH_THEME.zsh-theme" | |
else | |
source "$ZSH/themes/$ZSH_THEME.zsh-theme" | |
fi | |
fi | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:122> [ '!' aphrodite '=' '' ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:123> [ -f /home/h/.oh-my-zsh/custom/aphrodite.zsh-theme ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:125> [ -f /home/h/.oh-my-zsh/custom/themes/aphrodite.zsh-theme ']' | |
+/home/h/.oh-my-zsh/oh-my-zsh.sh:126> source /home/h/.oh-my-zsh/custom/themes/aphrodite.zsh-theme | |
#!/usr/bin/env zsh | |
# ------------------------------------------------------------------------------ | |
# | |
# Aphrodite Terminal Theme | |
# | |
# Author: Sergei Kolesnikov | |
# https://github.com/win0err/aphrodite-terminal-theme | |
# | |
# ------------------------------------------------------------------------------ | |
ZSH_THEME_GIT_PROMPT_PREFIX=" %F{10}" | |
+/home/h/.oh-my-zsh/custom/themes/aphrodite.zsh-theme:12> ZSH_THEME_GIT_PROMPT_PREFIX=' %F{10}' | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%f" | |
+/home/h/.oh-my-zsh/custom/themes/aphrodite.zsh-theme:13> ZSH_THEME_GIT_PROMPT_SUFFIX=%f | |
ZSH_THEME_GIT_PROMPT_DIRTY="%f%F{11}" | |
+/home/h/.oh-my-zsh/custom/themes/aphrodite.zsh-theme:14> ZSH_THEME_GIT_PROMPT_DIRTY='%f%F{11}' | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
+/home/h/.oh-my-zsh/custom/themes/aphrodite.zsh-theme:15> ZSH_THEME_GIT_PROMPT_CLEAN='' | |
aphrodite_get_welcome_symbol() { | |
echo -n "%(?..%F{1})" | |
local welcome_symbol='$' | |
[ $EUID -ne 0 ] || welcome_symbol='#' | |
echo -n $welcome_symbol | |
echo -n "%(?..%f)" | |
} | |
# local aphrodite_get_time="%F{grey}[%*]%f" | |
aphrodite_get_current_branch() { | |
local branch=$(git_current_branch) | |
if [ -n "$branch" ]; then | |
echo -n $ZSH_THEME_GIT_PROMPT_PREFIX | |
echo -n $(parse_git_dirty) | |
echo -n "‹${branch}›" | |
echo -n $ZSH_THEME_GIT_PROMPT_SUFFIX | |
fi | |
} | |
aphrodite_get_prompt() { | |
# 256-colors check (will be used later): tput colors | |
echo -n "%F{6}%n%f" # User | |
echo -n "%F{8}@%f" # at | |
echo -n "%F{12}%m%f" # Host | |
echo -n "%F{8}:%f" # in | |
echo -n "%{$reset_color%}%~" # Dir | |
# echo -n "$(aphrodite_get_current_branch)" # Git branch | |
# echo -n "\n" | |
echo -n "$(aphrodite_get_welcome_symbol)%{$reset_color%} " # $ or # | |
} | |
export GREP_COLOR='1;31' | |
+/home/h/.oh-my-zsh/custom/themes/aphrodite.zsh-theme:56> export GREP_COLOR='1;31' | |
PROMPT='$(aphrodite_get_prompt)' | |
+/home/h/.oh-my-zsh/custom/themes/aphrodite.zsh-theme:58> PROMPT='$(aphrodite_get_prompt)' | |
# 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" | |
# Set personal aliases, overriding those provided by oh-my-zsh libs, | |
# plugins, and themes. Aliases can be placed here, though oh-my-zsh | |
# users are encouraged to define aliases within the ZSH_CUSTOM folder. | |
# For a full list of active aliases, run `alias`. | |
# | |
# Example aliases | |
# alias zshconfig="mate ~/.zshrc" | |
# alias ohmyzsh="mate ~/.oh-my-zsh" | |
# source ~/powerlevel10k/powerlevel10k.zsh-theme | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
+/home/h/.zshrc:112> [[ ! -f /home/h/.p10k.zsh ]] | |
+/home/h/.zshrc:112> source /home/h/.p10k.zsh | |
# Generated by Powerlevel10k configuration wizard on 2021-04-23 at 10:27 CDT. | |
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 43791. | |
# Wizard options: nerdfont-complete + powerline, small icons, unicode, lean, 1 line, | |
# compact, few icons, concise, transient_prompt, instant_prompt=verbose. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate | |
# your own config based on it. | |
# | |
# Tip: Looking for a nice color? Here's a one-liner to print colormap. | |
# | |
# for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$'\n'}; done | |
# Temporarily change options. | |
'builtin' 'local' '-a' 'p10k_config_opts' | |
+/home/h/.p10k.zsh:15> local -a p10k_config_opts | |
[[ ! -o 'aliases' ]] || p10k_config_opts+=('aliases') | |
+/home/h/.p10k.zsh:16> [[ ! -o aliases ]] | |
+/home/h/.p10k.zsh:16> p10k_config_opts+=( aliases ) | |
[[ ! -o 'sh_glob' ]] || p10k_config_opts+=('sh_glob') | |
+/home/h/.p10k.zsh:17> [[ ! -o sh_glob ]] | |
[[ ! -o 'no_brace_expand' ]] || p10k_config_opts+=('no_brace_expand') | |
+/home/h/.p10k.zsh:18> [[ ! -o no_brace_expand ]] | |
'builtin' 'setopt' 'no_aliases' 'no_sh_glob' 'brace_expand' | |
+/home/h/.p10k.zsh:19> setopt no_aliases no_sh_glob brace_expand | |
() { | |
emulate -L zsh -o extended_glob | |
# Unset all configuration options. This allows you to apply configuration changes without | |
# restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`. | |
unset -m '(POWERLEVEL9K_*|DEFAULT_USER)~POWERLEVEL9K_GITSTATUS_DIR' | |
# Zsh >= 5.1 is required. | |
autoload -Uz is-at-least && is-at-least 5.1 || return | |
# The list of segments shown on the left. Fill it with the most important segments. | |
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( | |
# os_icon # os identifier | |
dir # current directory | |
vcs # git status | |
prompt_char # prompt symbol | |
) | |
# The list of segments shown on the right. Fill it with less important segments. | |
# Right prompt on the last prompt line (where you are typing your commands) gets | |
# automatically hidden when the input line reaches it. Right prompt above the | |
# last prompt line gets hidden if it would overlap with left prompt. | |
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( | |
status # exit code of the last command | |
command_execution_time # duration of the last command | |
background_jobs # presence of background jobs | |
direnv # direnv status (https://direnv.net/) | |
asdf # asdf version manager (https://github.com/asdf-vm/asdf) | |
virtualenv # python virtual environment (https://docs.python.org/3/library/venv.html) | |
anaconda # conda environment (https://conda.io/) | |
pyenv # python environment (https://github.com/pyenv/pyenv) | |
goenv # go environment (https://github.com/syndbg/goenv) | |
nodenv # node.js version from nodenv (https://github.com/nodenv/nodenv) | |
nvm # node.js version from nvm (https://github.com/nvm-sh/nvm) | |
nodeenv # node.js environment (https://github.com/ekalinin/nodeenv) | |
# node_version # node.js version | |
# go_version # go version (https://golang.org) | |
# rust_version # rustc version (https://www.rust-lang.org) | |
# dotnet_version # .NET version (https://dotnet.microsoft.com) | |
# php_version # php version (https://www.php.net/) | |
# laravel_version # laravel php framework version (https://laravel.com/) | |
# java_version # java version (https://www.java.com/) | |
# package # name@version from package.json (https://docs.npmjs.com/files/package.json) | |
rbenv # ruby version from rbenv (https://github.com/rbenv/rbenv) | |
rvm # ruby version from rvm (https://rvm.io) | |
fvm # flutter version management (https://github.com/leoafarias/fvm) | |
luaenv # lua version from luaenv (https://github.com/cehoffman/luaenv) | |
jenv # java version from jenv (https://github.com/jenv/jenv) | |
plenv # perl version from plenv (https://github.com/tokuhirom/plenv) | |
phpenv # php version from phpenv (https://github.com/phpenv/phpenv) | |
scalaenv # scala version from scalaenv (https://github.com/scalaenv/scalaenv) | |
haskell_stack # haskell version from stack (https://haskellstack.org/) | |
kubecontext # current kubernetes context (https://kubernetes.io/) | |
terraform # terraform workspace (https://www.terraform.io) | |
aws # aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) | |
aws_eb_env # aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/) | |
azure # azure account name (https://docs.microsoft.com/en-us/cli/azure) | |
gcloud # google cloud cli account and project (https://cloud.google.com/) | |
google_app_cred # google application credentials (https://cloud.google.com/docs/authentication/production) | |
context # user@hostname | |
nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) | |
ranger # ranger shell (https://github.com/ranger/ranger) | |
nnn # nnn shell (https://github.com/jarun/nnn) | |
vim_shell # vim shell indicator (:sh) | |
midnight_commander # midnight commander shell (https://midnight-commander.org/) | |
nix_shell # nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) | |
# vpn_ip # virtual private network indicator | |
# load # CPU load | |
# disk_usage # disk usage | |
# ram # free RAM | |
# swap # used swap | |
todo # todo items (https://github.com/todotxt/todo.txt-cli) | |
timewarrior # timewarrior tracking status (https://timewarrior.net/) | |
taskwarrior # taskwarrior task count (https://taskwarrior.org/) | |
# time # current time | |
# ip # ip address and bandwidth usage for a specified network interface | |
# public_ip # public IP address | |
# proxy # system-wide http/https/ftp proxy | |
# battery # internal battery | |
# wifi # wifi speed | |
# example # example user-defined segment (see prompt_example function below) | |
) | |
# Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you. | |
typeset -g POWERLEVEL9K_MODE=nerdfont-complete | |
# When set to `moderate`, some icons will have an extra space after them. This is meant to avoid | |
# icon overlap when using non-monospace fonts. When set to `none`, spaces are not added. | |
typeset -g POWERLEVEL9K_ICON_PADDING=none | |
# Basic style options that define the overall look of your prompt. You probably don't want to | |
# change them. | |
typeset -g POWERLEVEL9K_BACKGROUND= # transparent background | |
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_{LEFT,RIGHT}_WHITESPACE= # no surrounding whitespace | |
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_SUBSEGMENT_SEPARATOR=' ' # separate segments with a space | |
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_SEGMENT_SEPARATOR= # no end-of-line symbol | |
# When set to true, icons appear before content on both sides of the prompt. When set | |
# to false, icons go after content. If empty or not set, icons go before content in the left | |
# prompt and after content in the right prompt. | |
# | |
# You can also override it for a specific segment: | |
# | |
# POWERLEVEL9K_STATUS_ICON_BEFORE_CONTENT=false | |
# | |
# Or for a specific segment in specific state: | |
# | |
# POWERLEVEL9K_DIR_NOT_WRITABLE_ICON_BEFORE_CONTENT=false | |
typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT=true | |
# Add an empty line before each prompt. | |
typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=false | |
# Connect left prompt lines with these symbols. | |
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX= | |
typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX= | |
typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX= | |
# Connect right prompt lines with these symbols. | |
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX= | |
typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX= | |
typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_SUFFIX= | |
# The left end of left prompt. | |
typeset -g POWERLEVEL9K_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL= | |
# The right end of right prompt. | |
typeset -g POWERLEVEL9K_RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL= | |
# Ruler, a.k.a. the horizontal line before each prompt. If you set it to true, you'll | |
# probably want to set POWERLEVEL9K_PROMPT_ADD_NEWLINE=false above and | |
# POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' ' below. | |
typeset -g POWERLEVEL9K_SHOW_RULER=false | |
typeset -g POWERLEVEL9K_RULER_CHAR='─' # reasonable alternative: '·' | |
typeset -g POWERLEVEL9K_RULER_FOREGROUND=242 | |
# Filler between left and right prompt on the first prompt line. You can set it to '·' or '─' | |
# to make it easier to see the alignment between left and right prompt and to separate prompt | |
# from command output. It serves the same purpose as ruler (see above) without increasing | |
# the number of prompt lines. You'll probably want to set POWERLEVEL9K_SHOW_RULER=false | |
# if using this. You might also like POWERLEVEL9K_PROMPT_ADD_NEWLINE=false for more compact | |
# prompt. | |
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' ' | |
if [[ $POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR != ' ' ]]; then | |
# The color of the filler. | |
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=242 | |
# Add a space between the end of left prompt and the filler. | |
typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL=' ' | |
# Add a space between the filler and the start of right prompt. | |
typeset -g POWERLEVEL9K_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL=' ' | |
# Start filler from the edge of the screen if there are no left segments on the first line. | |
typeset -g POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_FIRST_SEGMENT_END_SYMBOL='%{%}' | |
# End filler on the edge of the screen if there are no right segments on the first line. | |
typeset -g POWERLEVEL9K_EMPTY_LINE_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='%{%}' | |
fi | |
#################################[ os_icon: os identifier ]################################## | |
# OS identifier color. | |
typeset -g POWERLEVEL9K_OS_ICON_FOREGROUND= | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='⭐' | |
################################[ prompt_char: prompt symbol ]################################ | |
# Green prompt symbol if the last command succeeded. | |
typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=76 | |
# Red prompt symbol if the last command failed. | |
typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=196 | |
# Default prompt symbol. | |
typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIINS_CONTENT_EXPANSION='❯' | |
# Prompt symbol in command vi mode. | |
typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VICMD_CONTENT_EXPANSION='❮' | |
# Prompt symbol in visual vi mode. | |
typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIVIS_CONTENT_EXPANSION='V' | |
# Prompt symbol in overwrite vi mode. | |
typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIOWR_CONTENT_EXPANSION='▶' | |
typeset -g POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true | |
# No line terminator if prompt_char is the last segment. | |
typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='' | |
# No line introducer if prompt_char is the first segment. | |
typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL= | |
##################################[ dir: current directory ]################################## | |
# Default current directory color. | |
typeset -g POWERLEVEL9K_DIR_FOREGROUND=31 | |
# If directory is too long, shorten some of its segments to the shortest possible unique | |
# prefix. The shortened directory can be tab-completed to the original. | |
typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique | |
# Replace removed segment suffixes with this symbol. | |
typeset -g POWERLEVEL9K_SHORTEN_DELIMITER= | |
# Color of the shortened directory segments. | |
typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=103 | |
# Color of the anchor directory segments. Anchor segments are never shortened. The first | |
# segment is always an anchor. | |
typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=39 | |
# Display anchor directory segments in bold. | |
typeset -g POWERLEVEL9K_DIR_ANCHOR_BOLD=true | |
# Don't shorten directories that contain any of these files. They are anchors. | |
local anchor_files=( | |
.bzr | |
.citc | |
.git | |
.hg | |
.node-version | |
.python-version | |
.go-version | |
.ruby-version | |
.lua-version | |
.java-version | |
.perl-version | |
.php-version | |
.tool-version | |
.shorten_folder_marker | |
.svn | |
.terraform | |
CVS | |
Cargo.toml | |
composer.json | |
go.mod | |
package.json | |
stack.yaml | |
) | |
typeset -g POWERLEVEL9K_SHORTEN_FOLDER_MARKER="(${(j:|:)anchor_files})" | |
# If set to "first" ("last"), remove everything before the first (last) subdirectory that contains | |
# files matching $POWERLEVEL9K_SHORTEN_FOLDER_MARKER. For example, when the current directory is | |
# /foo/bar/git_repo/nested_git_repo/baz, prompt will display git_repo/nested_git_repo/baz (first) | |
# or nested_git_repo/baz (last). This assumes that git_repo and nested_git_repo contain markers | |
# and other directories don't. | |
# | |
# Optionally, "first" and "last" can be followed by ":<offset>" where <offset> is an integer. | |
# This moves the truncation point to the right (positive offset) or to the left (negative offset) | |
# relative to the marker. Plain "first" and "last" are equivalent to "first:0" and "last:0" | |
# respectively. | |
typeset -g POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER=false | |
# Don't shorten this many last directory segments. They are anchors. | |
typeset -g POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 | |
# Shorten directory if it's longer than this even if there is space for it. The value can | |
# be either absolute (e.g., '80') or a percentage of terminal width (e.g, '50%'). If empty, | |
# directory will be shortened only when prompt doesn't fit or when other parameters demand it | |
# (see POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS and POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT below). | |
# If set to `0`, directory will always be shortened to its minimum length. | |
typeset -g POWERLEVEL9K_DIR_MAX_LENGTH=80 | |
# When `dir` segment is on the last prompt line, try to shorten it enough to leave at least this | |
# many columns for typing commands. | |
typeset -g POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS=40 | |
# When `dir` segment is on the last prompt line, try to shorten it enough to leave at least | |
# COLUMNS * POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT * 0.01 columns for typing commands. | |
typeset -g POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT=50 | |
# If set to true, embed a hyperlink into the directory. Useful for quickly | |
# opening a directory in the file manager simply by clicking the link. | |
# Can also be handy when the directory is shortened, as it allows you to see | |
# the full directory that was used in previous commands. | |
typeset -g POWERLEVEL9K_DIR_HYPERLINK=false | |
# Enable special styling for non-writable and non-existent directories. See POWERLEVEL9K_LOCK_ICON | |
# and POWERLEVEL9K_DIR_CLASSES below. | |
typeset -g POWERLEVEL9K_DIR_SHOW_WRITABLE=v3 | |
# The default icon shown next to non-writable and non-existent directories when | |
# POWERLEVEL9K_DIR_SHOW_WRITABLE is set to v3. | |
# typeset -g POWERLEVEL9K_LOCK_ICON='⭐' | |
# POWERLEVEL9K_DIR_CLASSES allows you to specify custom icons and colors for different | |
# directories. It must be an array with 3 * N elements. Each triplet consists of: | |
# | |
# 1. A pattern against which the current directory ($PWD) is matched. Matching is done with | |
# extended_glob option enabled. | |
# 2. Directory class for the purpose of styling. | |
# 3. An empty string. | |
# | |
# Triplets are tried in order. The first triplet whose pattern matches $PWD wins. | |
# | |
# If POWERLEVEL9K_DIR_SHOW_WRITABLE is set to v3, non-writable and non-existent directories | |
# acquire class suffix _NOT_WRITABLE and NON_EXISTENT respectively. | |
# | |
# For example, given these settings: | |
# | |
# typeset -g POWERLEVEL9K_DIR_CLASSES=( | |
# '~/work(|/*)' WORK '' | |
# '~(|/*)' HOME '' | |
# '*' DEFAULT '') | |
# | |
# Whenever the current directory is ~/work or a subdirectory of ~/work, it gets styled with one | |
# of the following classes depending on its writability and existence: WORK, WORK_NOT_WRITABLE or | |
# WORK_NON_EXISTENT. | |
# | |
# Simply assigning classes to directories doesn't have any visible effects. It merely gives you an | |
# option to define custom colors and icons for different directory classes. | |
# | |
# # Styling for WORK. | |
# typeset -g POWERLEVEL9K_DIR_WORK_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_DIR_WORK_FOREGROUND=31 | |
# typeset -g POWERLEVEL9K_DIR_WORK_SHORTENED_FOREGROUND=103 | |
# typeset -g POWERLEVEL9K_DIR_WORK_ANCHOR_FOREGROUND=39 | |
# | |
# # Styling for WORK_NOT_WRITABLE. | |
# typeset -g POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_FOREGROUND=31 | |
# typeset -g POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_SHORTENED_FOREGROUND=103 | |
# typeset -g POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_ANCHOR_FOREGROUND=39 | |
# | |
# # Styling for WORK_NON_EXISTENT. | |
# typeset -g POWERLEVEL9K_DIR_WORK_NON_EXISTENT_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_DIR_WORK_NON_EXISTENT_FOREGROUND=31 | |
# typeset -g POWERLEVEL9K_DIR_WORK_NON_EXISTENT_SHORTENED_FOREGROUND=103 | |
# typeset -g POWERLEVEL9K_DIR_WORK_NON_EXISTENT_ANCHOR_FOREGROUND=39 | |
# | |
# If a styling parameter isn't explicitly defined for some class, it falls back to the classless | |
# parameter. For example, if POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_FOREGROUND is not set, it falls | |
# back to POWERLEVEL9K_DIR_FOREGROUND. | |
# | |
typeset -g POWERLEVEL9K_DIR_CLASSES=() | |
# Custom prefix. | |
# typeset -g POWERLEVEL9K_DIR_PREFIX='%fin ' | |
#####################################[ vcs: git status ]###################################### | |
# Branch icon. Set this parameter to '\uF126 ' for the popular Powerline branch icon. | |
typeset -g POWERLEVEL9K_VCS_BRANCH_ICON= | |
# Untracked files icon. It's really a question mark, your font isn't broken. | |
# Change the value of this parameter to show a different icon. | |
typeset -g POWERLEVEL9K_VCS_UNTRACKED_ICON='?' | |
# Formatter for Git status. | |
# | |
# Example output: master ⇣42⇡42 *42 merge ~42 +42 !42 ?42. | |
# | |
# You can edit the function to customize how Git status looks. | |
# | |
# VCS_STATUS_* parameters are set by gitstatus plugin. See reference: | |
# https://github.com/romkatv/gitstatus/blob/master/gitstatus.plugin.zsh. | |
function my_git_formatter() { | |
emulate -L zsh | |
if [[ -n $P9K_CONTENT ]]; then | |
# If P9K_CONTENT is not empty, use it. It's either "loading" or from vcs_info (not from | |
# gitstatus plugin). VCS_STATUS_* parameters are not available in this case. | |
typeset -g my_git_format=$P9K_CONTENT | |
return | |
fi | |
if (( $1 )); then | |
# Styling for up-to-date Git status. | |
local meta='%f' # default foreground | |
local clean='%76F' # green foreground | |
local modified='%178F' # yellow foreground | |
local untracked='%39F' # blue foreground | |
local conflicted='%196F' # red foreground | |
else | |
# Styling for incomplete and stale Git status. | |
local meta='%244F' # grey foreground | |
local clean='%244F' # grey foreground | |
local modified='%244F' # grey foreground | |
local untracked='%244F' # grey foreground | |
local conflicted='%244F' # grey foreground | |
fi | |
local res | |
if [[ -n $VCS_STATUS_LOCAL_BRANCH ]]; then | |
local branch=${(V)VCS_STATUS_LOCAL_BRANCH} | |
# If local branch name is at most 32 characters long, show it in full. | |
# Otherwise show the first 12 … the last 12. | |
# Tip: To always show local branch name in full without truncation, delete the next line. | |
(( $#branch > 32 )) && branch[13,-13]="…" # <-- this line | |
res+="${clean}${(g::)POWERLEVEL9K_VCS_BRANCH_ICON}${branch//\%/%%}" | |
fi | |
if [[ -n $VCS_STATUS_TAG | |
# Show tag only if not on a branch. | |
# Tip: To always show tag, delete the next line. | |
&& -z $VCS_STATUS_LOCAL_BRANCH # <-- this line | |
]]; then | |
local tag=${(V)VCS_STATUS_TAG} | |
# If tag name is at most 32 characters long, show it in full. | |
# Otherwise show the first 12 … the last 12. | |
# Tip: To always show tag name in full without truncation, delete the next line. | |
(( $#tag > 32 )) && tag[13,-13]="…" # <-- this line | |
res+="${meta}#${clean}${tag//\%/%%}" | |
fi | |
# Display the current Git commit if there is no branch and no tag. | |
# Tip: To always display the current Git commit, delete the next line. | |
[[ -z $VCS_STATUS_LOCAL_BRANCH && -z $VCS_STATUS_TAG ]] && # <-- this line | |
res+="${meta}@${clean}${VCS_STATUS_COMMIT[1,8]}" | |
# Show tracking branch name if it differs from local branch. | |
if [[ -n ${VCS_STATUS_REMOTE_BRANCH:#$VCS_STATUS_LOCAL_BRANCH} ]]; then | |
res+="${meta}:${clean}${(V)VCS_STATUS_REMOTE_BRANCH//\%/%%}" | |
fi | |
# ⇣42 if behind the remote. | |
(( VCS_STATUS_COMMITS_BEHIND )) && res+=" ${clean}⇣${VCS_STATUS_COMMITS_BEHIND}" | |
# ⇡42 if ahead of the remote; no leading space if also behind the remote: ⇣42⇡42. | |
(( VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND )) && res+=" " | |
(( VCS_STATUS_COMMITS_AHEAD )) && res+="${clean}⇡${VCS_STATUS_COMMITS_AHEAD}" | |
# ⇠42 if behind the push remote. | |
(( VCS_STATUS_PUSH_COMMITS_BEHIND )) && res+=" ${clean}⇠${VCS_STATUS_PUSH_COMMITS_BEHIND}" | |
(( VCS_STATUS_PUSH_COMMITS_AHEAD && !VCS_STATUS_PUSH_COMMITS_BEHIND )) && res+=" " | |
# ⇢42 if ahead of the push remote; no leading space if also behind: ⇠42⇢42. | |
(( VCS_STATUS_PUSH_COMMITS_AHEAD )) && res+="${clean}⇢${VCS_STATUS_PUSH_COMMITS_AHEAD}" | |
# *42 if have stashes. | |
(( VCS_STATUS_STASHES )) && res+=" ${clean}*${VCS_STATUS_STASHES}" | |
# 'merge' if the repo is in an unusual state. | |
[[ -n $VCS_STATUS_ACTION ]] && res+=" ${conflicted}${VCS_STATUS_ACTION}" | |
# ~42 if have merge conflicts. | |
(( VCS_STATUS_NUM_CONFLICTED )) && res+=" ${conflicted}~${VCS_STATUS_NUM_CONFLICTED}" | |
# +42 if have staged changes. | |
(( VCS_STATUS_NUM_STAGED )) && res+=" ${modified}+${VCS_STATUS_NUM_STAGED}" | |
# !42 if have unstaged changes. | |
(( VCS_STATUS_NUM_UNSTAGED )) && res+=" ${modified}!${VCS_STATUS_NUM_UNSTAGED}" | |
# ?42 if have untracked files. It's really a question mark, your font isn't broken. | |
# See POWERLEVEL9K_VCS_UNTRACKED_ICON above if you want to use a different icon. | |
# Remove the next line if you don't want to see untracked files at all. | |
(( VCS_STATUS_NUM_UNTRACKED )) && res+=" ${untracked}${(g::)POWERLEVEL9K_VCS_UNTRACKED_ICON}${VCS_STATUS_NUM_UNTRACKED}" | |
# "─" if the number of unstaged files is unknown. This can happen due to | |
# POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY (see below) being set to a non-negative number lower | |
# than the number of files in the Git index, or due to bash.showDirtyState being set to false | |
# in the repository config. The number of staged and untracked files may also be unknown | |
# in this case. | |
(( VCS_STATUS_HAS_UNSTAGED == -1 )) && res+=" ${modified}─" | |
typeset -g my_git_format=$res | |
} | |
functions -M my_git_formatter 2>/dev/null | |
# Don't count the number of unstaged, untracked and conflicted files in Git repositories with | |
# more than this many files in the index. Negative value means infinity. | |
# | |
# If you are working in Git repositories with tens of millions of files and seeing performance | |
# sagging, try setting POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY to a number lower than the output | |
# of `git ls-files | wc -l`. Alternatively, add `bash.showDirtyState = false` to the repository's | |
# config: `git config bash.showDirtyState false`. | |
typeset -g POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY=-1 | |
# Don't show Git status in prompt for repositories whose workdir matches this pattern. | |
# For example, if set to '~', the Git repository at $HOME/.git will be ignored. | |
# Multiple patterns can be combined with '|': '~(|/foo)|/bar/baz/*'. | |
typeset -g POWERLEVEL9K_VCS_DISABLED_WORKDIR_PATTERN='~' | |
# Disable the default Git status formatting. | |
typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true | |
# Install our own Git status formatter. | |
typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${$((my_git_formatter(1)))+${my_git_format}}' | |
typeset -g POWERLEVEL9K_VCS_LOADING_CONTENT_EXPANSION='${$((my_git_formatter(0)))+${my_git_format}}' | |
# Enable counters for staged, unstaged, etc. | |
typeset -g POWERLEVEL9K_VCS_{STAGED,UNSTAGED,UNTRACKED,CONFLICTED,COMMITS_AHEAD,COMMITS_BEHIND}_MAX_NUM=-1 | |
# Icon color. | |
typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_COLOR=76 | |
typeset -g POWERLEVEL9K_VCS_LOADING_VISUAL_IDENTIFIER_COLOR=244 | |
# Custom icon. | |
typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION= | |
# Custom prefix. | |
# typeset -g POWERLEVEL9K_VCS_PREFIX='%fon ' | |
# Show status of repositories of these types. You can add svn and/or hg if you are | |
# using them. If you do, your prompt may become slow even when your current directory | |
# isn't in an svn or hg reposotiry. | |
typeset -g POWERLEVEL9K_VCS_BACKENDS=(git) | |
# These settings are used for repositories other than Git or when gitstatusd fails and | |
# Powerlevel10k has to fall back to using vcs_info. | |
typeset -g POWERLEVEL9K_VCS_CLEAN_FOREGROUND=76 | |
typeset -g POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND=76 | |
typeset -g POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=178 | |
##########################[ status: exit code of the last command ]########################### | |
# Enable OK_PIPE, ERROR_PIPE and ERROR_SIGNAL status states to allow us to enable, disable and | |
# style them independently from the regular OK and ERROR state. | |
typeset -g POWERLEVEL9K_STATUS_EXTENDED_STATES=true | |
# Status on success. No content, just an icon. No need to show it if prompt_char is enabled as | |
# it will signify success by turning green. | |
typeset -g POWERLEVEL9K_STATUS_OK=false | |
typeset -g POWERLEVEL9K_STATUS_OK_FOREGROUND=70 | |
typeset -g POWERLEVEL9K_STATUS_OK_VISUAL_IDENTIFIER_EXPANSION='✔' | |
# Status when some part of a pipe command fails but the overall exit status is zero. It may look | |
# like this: 1|0. | |
typeset -g POWERLEVEL9K_STATUS_OK_PIPE=true | |
typeset -g POWERLEVEL9K_STATUS_OK_PIPE_FOREGROUND=70 | |
typeset -g POWERLEVEL9K_STATUS_OK_PIPE_VISUAL_IDENTIFIER_EXPANSION='✔' | |
# Status when it's just an error code (e.g., '1'). No need to show it if prompt_char is enabled as | |
# it will signify error by turning red. | |
typeset -g POWERLEVEL9K_STATUS_ERROR=false | |
typeset -g POWERLEVEL9K_STATUS_ERROR_FOREGROUND=160 | |
typeset -g POWERLEVEL9K_STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION='✘' | |
# Status when the last command was terminated by a signal. | |
typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL=true | |
typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_FOREGROUND=160 | |
# Use terse signal names: "INT" instead of "SIGINT(2)". | |
typeset -g POWERLEVEL9K_STATUS_VERBOSE_SIGNAME=false | |
typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_VISUAL_IDENTIFIER_EXPANSION='✘' | |
# Status when some part of a pipe command fails and the overall exit status is also non-zero. | |
# It may look like this: 1|0. | |
typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE=true | |
typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_FOREGROUND=160 | |
typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_VISUAL_IDENTIFIER_EXPANSION='✘' | |
###################[ command_execution_time: duration of the last command ]################### | |
# Show duration of the last command if takes at least this many seconds. | |
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=3 | |
# Show this many fractional digits. Zero means round to seconds. | |
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0 | |
# Execution time color. | |
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=101 | |
# Duration format: 1d 2h 3m 4s. | |
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s' | |
# Custom icon. | |
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_EXPANSION= | |
# Custom prefix. | |
# typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PREFIX='%ftook ' | |
#######################[ background_jobs: presence of background jobs ]####################### | |
# Don't show the number of background jobs. | |
typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false | |
# Background jobs color. | |
typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=70 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#######################[ direnv: direnv status (https://direnv.net/) ]######################## | |
# Direnv color. | |
typeset -g POWERLEVEL9K_DIRENV_FOREGROUND=178 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_DIRENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
###############[ asdf: asdf version manager (https://github.com/asdf-vm/asdf) ]############### | |
# Default asdf color. Only used to display tools for which there is no color override (see below). | |
# Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_FOREGROUND. | |
typeset -g POWERLEVEL9K_ASDF_FOREGROUND=66 | |
# There are four parameters that can be used to hide asdf tools. Each parameter describes | |
# conditions under which a tool gets hidden. Parameters can hide tools but not unhide them. If at | |
# least one parameter decides to hide a tool, that tool gets hidden. If no parameter decides to | |
# hide a tool, it gets shown. | |
# | |
# Special note on the difference between POWERLEVEL9K_ASDF_SOURCES and | |
# POWERLEVEL9K_ASDF_PROMPT_ALWAYS_SHOW. Consider the effect of the following commands: | |
# | |
# asdf local python 3.8.1 | |
# asdf global python 3.8.1 | |
# | |
# After running both commands the current python version is 3.8.1 and its source is "local" as | |
# it takes precedence over "global". If POWERLEVEL9K_ASDF_PROMPT_ALWAYS_SHOW is set to false, | |
# it'll hide python version in this case because 3.8.1 is the same as the global version. | |
# POWERLEVEL9K_ASDF_SOURCES will hide python version only if the value of this parameter doesn't | |
# contain "local". | |
# Hide tool versions that don't come from one of these sources. | |
# | |
# Available sources: | |
# | |
# - shell `asdf current` says "set by ASDF_${TOOL}_VERSION environment variable" | |
# - local `asdf current` says "set by /some/not/home/directory/file" | |
# - global `asdf current` says "set by /home/username/file" | |
# | |
# Note: If this parameter is set to (shell local global), it won't hide tools. | |
# Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_SOURCES. | |
typeset -g POWERLEVEL9K_ASDF_SOURCES=(shell local global) | |
# If set to false, hide tool versions that are the same as global. | |
# | |
# Note: The name of this parameter doesn't reflect its meaning at all. | |
# Note: If this parameter is set to true, it won't hide tools. | |
# Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_PROMPT_ALWAYS_SHOW. | |
typeset -g POWERLEVEL9K_ASDF_PROMPT_ALWAYS_SHOW=false | |
# If set to false, hide tool versions that are equal to "system". | |
# | |
# Note: If this parameter is set to true, it won't hide tools. | |
# Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_SHOW_SYSTEM. | |
typeset -g POWERLEVEL9K_ASDF_SHOW_SYSTEM=true | |
# If set to non-empty value, hide tools unless there is a file matching the specified file pattern | |
# in the current directory, or its parent directory, or its grandparent directory, and so on. | |
# | |
# Note: If this parameter is set to empty value, it won't hide tools. | |
# Note: SHOW_ON_UPGLOB isn't specific to asdf. It works with all prompt segments. | |
# Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_SHOW_ON_UPGLOB. | |
# | |
# Example: Hide nodejs version when there is no package.json and no *.js files in the current | |
# directory, in `..`, in `../..` and so on. | |
# | |
# typeset -g POWERLEVEL9K_ASDF_NODEJS_SHOW_ON_UPGLOB='*.js|package.json' | |
typeset -g POWERLEVEL9K_ASDF_SHOW_ON_UPGLOB= | |
# Ruby version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_RUBY_FOREGROUND=168 | |
# typeset -g POWERLEVEL9K_ASDF_RUBY_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_RUBY_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Python version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_PYTHON_FOREGROUND=37 | |
# typeset -g POWERLEVEL9K_ASDF_PYTHON_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Go version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=37 | |
# typeset -g POWERLEVEL9K_ASDF_GOLANG_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_GOLANG_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Node.js version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=70 | |
# typeset -g POWERLEVEL9K_ASDF_NODEJS_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_NODEJS_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Rust version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_RUST_FOREGROUND=37 | |
# typeset -g POWERLEVEL9K_ASDF_RUST_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_RUST_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# .NET Core version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_FOREGROUND=134 | |
# typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_DOTNET_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Flutter version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_FLUTTER_FOREGROUND=38 | |
# typeset -g POWERLEVEL9K_ASDF_FLUTTER_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_FLUTTER_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Lua version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_LUA_FOREGROUND=32 | |
# typeset -g POWERLEVEL9K_ASDF_LUA_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_LUA_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Java version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_JAVA_FOREGROUND=32 | |
# typeset -g POWERLEVEL9K_ASDF_JAVA_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_JAVA_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Perl version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_PERL_FOREGROUND=67 | |
# typeset -g POWERLEVEL9K_ASDF_PERL_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_PERL_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Erlang version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_ERLANG_FOREGROUND=125 | |
# typeset -g POWERLEVEL9K_ASDF_ERLANG_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_ERLANG_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Elixir version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_ELIXIR_FOREGROUND=129 | |
# typeset -g POWERLEVEL9K_ASDF_ELIXIR_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_ELIXIR_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Postgres version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_POSTGRES_FOREGROUND=31 | |
# typeset -g POWERLEVEL9K_ASDF_POSTGRES_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_POSTGRES_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# PHP version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_PHP_FOREGROUND=99 | |
# typeset -g POWERLEVEL9K_ASDF_PHP_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_PHP_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Haskell version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_HASKELL_FOREGROUND=172 | |
# typeset -g POWERLEVEL9K_ASDF_HASKELL_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_HASKELL_SHOW_ON_UPGLOB='*.foo|*.bar' | |
# Julia version from asdf. | |
typeset -g POWERLEVEL9K_ASDF_JULIA_FOREGROUND=70 | |
# typeset -g POWERLEVEL9K_ASDF_JULIA_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_ASDF_JULIA_SHOW_ON_UPGLOB='*.foo|*.bar' | |
##########[ nordvpn: nordvpn connection status, linux only (https://nordvpn.com/) ]########### | |
# NordVPN connection indicator color. | |
typeset -g POWERLEVEL9K_NORDVPN_FOREGROUND=39 | |
# Hide NordVPN connection indicator when not connected. | |
typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_CONTENT_EXPANSION= | |
typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_VISUAL_IDENTIFIER_EXPANSION= | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_NORDVPN_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#################[ ranger: ranger shell (https://github.com/ranger/ranger) ]################## | |
# Ranger shell color. | |
typeset -g POWERLEVEL9K_RANGER_FOREGROUND=178 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
######################[ nnn: nnn shell (https://github.com/jarun/nnn) ]####################### | |
# Nnn shell color. | |
typeset -g POWERLEVEL9K_NNN_FOREGROUND=72 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_NNN_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
###########################[ vim_shell: vim shell indicator (:sh) ]########################### | |
# Vim shell indicator color. | |
typeset -g POWERLEVEL9K_VIM_SHELL_FOREGROUND=34 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_VIM_SHELL_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
######[ midnight_commander: midnight commander shell (https://midnight-commander.org/) ]###### | |
# Midnight Commander shell color. | |
typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_FOREGROUND=178 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#[ nix_shell: nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) ]## | |
# Nix shell color. | |
typeset -g POWERLEVEL9K_NIX_SHELL_FOREGROUND=74 | |
# Tip: If you want to see just the icon without "pure" and "impure", uncomment the next line. | |
# typeset -g POWERLEVEL9K_NIX_SHELL_CONTENT_EXPANSION= | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_NIX_SHELL_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
##################################[ disk_usage: disk usage ]################################## | |
# Colors for different levels of disk usage. | |
typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=35 | |
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=220 | |
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=160 | |
# Thresholds for different levels of disk usage (percentage points). | |
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90 | |
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95 | |
# If set to true, hide disk usage when below $POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL percent. | |
typeset -g POWERLEVEL9K_DISK_USAGE_ONLY_WARNING=false | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_DISK_USAGE_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
######################################[ ram: free RAM ]####################################### | |
# RAM color. | |
typeset -g POWERLEVEL9K_RAM_FOREGROUND=66 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_RAM_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#####################################[ swap: used swap ]###################################### | |
# Swap color. | |
typeset -g POWERLEVEL9K_SWAP_FOREGROUND=96 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_SWAP_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
######################################[ load: CPU load ]###################################### | |
# Show average CPU load over this many last minutes. Valid values are 1, 5 and 15. | |
typeset -g POWERLEVEL9K_LOAD_WHICH=5 | |
# Load color when load is under 50%. | |
typeset -g POWERLEVEL9K_LOAD_NORMAL_FOREGROUND=66 | |
# Load color when load is between 50% and 70%. | |
typeset -g POWERLEVEL9K_LOAD_WARNING_FOREGROUND=178 | |
# Load color when load is over 70%. | |
typeset -g POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND=166 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_LOAD_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
################[ todo: todo items (https://github.com/todotxt/todo.txt-cli) ]################ | |
# Todo color. | |
typeset -g POWERLEVEL9K_TODO_FOREGROUND=110 | |
# Hide todo when the total number of tasks is zero. | |
typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_TOTAL=true | |
# Hide todo when the number of tasks after filtering is zero. | |
typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_FILTERED=false | |
# Todo format. The following parameters are available within the expansion. | |
# | |
# - P9K_TODO_TOTAL_TASK_COUNT The total number of tasks. | |
# - P9K_TODO_FILTERED_TASK_COUNT The number of tasks after filtering. | |
# | |
# These variables correspond to the last line of the output of `todo.sh -p ls`: | |
# | |
# TODO: 24 of 42 tasks shown | |
# | |
# Here 24 is P9K_TODO_FILTERED_TASK_COUNT and 42 is P9K_TODO_TOTAL_TASK_COUNT. | |
# | |
# typeset -g POWERLEVEL9K_TODO_CONTENT_EXPANSION='$P9K_TODO_FILTERED_TASK_COUNT' | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_TODO_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############ | |
# Timewarrior color. | |
typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=110 | |
# If the tracked task is longer than 24 characters, truncate and append "…". | |
# Tip: To always display tasks without truncation, delete the following parameter. | |
# Tip: To hide task names and display just the icon when time tracking is enabled, set the | |
# value of the following parameter to "". | |
typeset -g POWERLEVEL9K_TIMEWARRIOR_CONTENT_EXPANSION='${P9K_CONTENT:0:24}${${P9K_CONTENT:24}:+…}' | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_TIMEWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
##############[ taskwarrior: taskwarrior task count (https://taskwarrior.org/) ]############## | |
# Taskwarrior color. | |
typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=74 | |
# Taskwarrior segment format. The following parameters are available within the expansion. | |
# | |
# - P9K_TASKWARRIOR_PENDING_COUNT The number of pending tasks: `task +PENDING count`. | |
# - P9K_TASKWARRIOR_OVERDUE_COUNT The number of overdue tasks: `task +OVERDUE count`. | |
# | |
# Zero values are represented as empty parameters. | |
# | |
# The default format: | |
# | |
# '${P9K_TASKWARRIOR_OVERDUE_COUNT:+"!$P9K_TASKWARRIOR_OVERDUE_COUNT/"}$P9K_TASKWARRIOR_PENDING_COUNT' | |
# | |
# typeset -g POWERLEVEL9K_TASKWARRIOR_CONTENT_EXPANSION='$P9K_TASKWARRIOR_PENDING_COUNT' | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_TASKWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
##################################[ context: user@hostname ]################################## | |
# Context color when running with privileges. | |
typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=178 | |
# Context color in SSH without privileges. | |
typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_FOREGROUND=180 | |
# Default context color (no privileges, no SSH). | |
typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=180 | |
# Context format when running with privileges: bold user@hostname. | |
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE='%B%n@%m' | |
# Context format when in SSH without privileges: user@hostname. | |
typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_TEMPLATE='%n@%m' | |
# Default context format (no privileges, no SSH): user@hostname. | |
typeset -g POWERLEVEL9K_CONTEXT_TEMPLATE='%n@%m' | |
# Don't show context unless running with privileges or in SSH. | |
# Tip: Remove the next line to always show context. | |
typeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,SUDO}_{CONTENT,VISUAL_IDENTIFIER}_EXPANSION= | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_CONTEXT_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# Custom prefix. | |
# typeset -g POWERLEVEL9K_CONTEXT_PREFIX='%fwith ' | |
###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]### | |
# Python virtual environment color. | |
typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=37 | |
# Don't show Python version next to the virtual environment name. | |
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false | |
# If set to "false", won't show virtualenv if pyenv is already shown. | |
# If set to "if-different", won't show virtualenv if it's the same as pyenv. | |
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_WITH_PYENV=false | |
# Separate environment name from Python version only with a space. | |
typeset -g POWERLEVEL9K_VIRTUALENV_{LEFT,RIGHT}_DELIMITER= | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_VIRTUALENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#####################[ anaconda: conda environment (https://conda.io/) ]###################### | |
# Anaconda environment color. | |
typeset -g POWERLEVEL9K_ANACONDA_FOREGROUND=37 | |
# Anaconda segment format. The following parameters are available within the expansion. | |
# | |
# - CONDA_PREFIX Absolute path to the active Anaconda/Miniconda environment. | |
# - CONDA_DEFAULT_ENV Name of the active Anaconda/Miniconda environment. | |
# - CONDA_PROMPT_MODIFIER Configurable prompt modifier (see below). | |
# - P9K_ANACONDA_PYTHON_VERSION Current python version (python --version). | |
# | |
# CONDA_PROMPT_MODIFIER can be configured with the following command: | |
# | |
# conda config --set env_prompt '({default_env}) ' | |
# | |
# The last argument is a Python format string that can use the following variables: | |
# | |
# - prefix The same as CONDA_PREFIX. | |
# - default_env The same as CONDA_DEFAULT_ENV. | |
# - name The last segment of CONDA_PREFIX. | |
# - stacked_env Comma-separated list of names in the environment stack. The first element is | |
# always the same as default_env. | |
# | |
# Note: '({default_env}) ' is the default value of env_prompt. | |
# | |
# The default value of POWERLEVEL9K_ANACONDA_CONTENT_EXPANSION expands to $CONDA_PROMPT_MODIFIER | |
# without the surrounding parentheses, or to the last path component of CONDA_PREFIX if the former | |
# is empty. | |
typeset -g POWERLEVEL9K_ANACONDA_CONTENT_EXPANSION='${${${${CONDA_PROMPT_MODIFIER#\(}% }%\)}:-${CONDA_PREFIX:t}}' | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_ANACONDA_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
################[ pyenv: python environment (https://github.com/pyenv/pyenv) ]################ | |
# Pyenv color. | |
typeset -g POWERLEVEL9K_PYENV_FOREGROUND=37 | |
# Hide python version if it doesn't come from one of these sources. | |
typeset -g POWERLEVEL9K_PYENV_SOURCES=(shell local global) | |
# If set to false, hide python version if it's the same as global: | |
# $(pyenv version-name) == $(pyenv global). | |
typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false | |
# If set to false, hide python version if it's equal to "system". | |
typeset -g POWERLEVEL9K_PYENV_SHOW_SYSTEM=true | |
# Pyenv segment format. The following parameters are available within the expansion. | |
# | |
# - P9K_CONTENT Current pyenv environment (pyenv version-name). | |
# - P9K_PYENV_PYTHON_VERSION Current python version (python --version). | |
# | |
# The default format has the following logic: | |
# | |
# 1. Display "$P9K_CONTENT $P9K_PYENV_PYTHON_VERSION" if $P9K_PYENV_PYTHON_VERSION is not | |
# empty and unequal to $P9K_CONTENT. | |
# 2. Otherwise display just "$P9K_CONTENT". | |
typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_PYENV_PYTHON_VERSION:#$P9K_CONTENT}:+ $P9K_PYENV_PYTHON_VERSION}' | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
################[ goenv: go environment (https://github.com/syndbg/goenv) ]################ | |
# Goenv color. | |
typeset -g POWERLEVEL9K_GOENV_FOREGROUND=37 | |
# Hide go version if it doesn't come from one of these sources. | |
typeset -g POWERLEVEL9K_GOENV_SOURCES=(shell local global) | |
# If set to false, hide go version if it's the same as global: | |
# $(goenv version-name) == $(goenv global). | |
typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false | |
# If set to false, hide go version if it's equal to "system". | |
typeset -g POWERLEVEL9K_GOENV_SHOW_SYSTEM=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
##########[ nodenv: node.js version from nodenv (https://github.com/nodenv/nodenv) ]########## | |
# Nodenv color. | |
typeset -g POWERLEVEL9K_NODENV_FOREGROUND=70 | |
# Hide node version if it doesn't come from one of these sources. | |
typeset -g POWERLEVEL9K_NODENV_SOURCES=(shell local global) | |
# If set to false, hide node version if it's the same as global: | |
# $(nodenv version-name) == $(nodenv global). | |
typeset -g POWERLEVEL9K_NODENV_PROMPT_ALWAYS_SHOW=false | |
# If set to false, hide node version if it's equal to "system". | |
typeset -g POWERLEVEL9K_NODENV_SHOW_SYSTEM=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_NODENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
##############[ nvm: node.js version from nvm (https://github.com/nvm-sh/nvm) ]############### | |
# Nvm color. | |
typeset -g POWERLEVEL9K_NVM_FOREGROUND=70 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_NVM_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
############[ nodeenv: node.js environment (https://github.com/ekalinin/nodeenv) ]############ | |
# Nodeenv color. | |
typeset -g POWERLEVEL9K_NODEENV_FOREGROUND=70 | |
# Don't show Node version next to the environment name. | |
typeset -g POWERLEVEL9K_NODEENV_SHOW_NODE_VERSION=false | |
# Separate environment name from Node version only with a space. | |
typeset -g POWERLEVEL9K_NODEENV_{LEFT,RIGHT}_DELIMITER= | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_NODEENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
##############################[ node_version: node.js version ]############################### | |
# Node version color. | |
typeset -g POWERLEVEL9K_NODE_VERSION_FOREGROUND=70 | |
# Show node version only when in a directory tree containing package.json. | |
typeset -g POWERLEVEL9K_NODE_VERSION_PROJECT_ONLY=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_NODE_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#######################[ go_version: go version (https://golang.org) ]######################## | |
# Go version color. | |
typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=37 | |
# Show go version only when in a go project subdirectory. | |
typeset -g POWERLEVEL9K_GO_VERSION_PROJECT_ONLY=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_GO_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#################[ rust_version: rustc version (https://www.rust-lang.org) ]################## | |
# Rust version color. | |
typeset -g POWERLEVEL9K_RUST_VERSION_FOREGROUND=37 | |
# Show rust version only when in a rust project subdirectory. | |
typeset -g POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_RUST_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
###############[ dotnet_version: .NET version (https://dotnet.microsoft.com) ]################ | |
# .NET version color. | |
typeset -g POWERLEVEL9K_DOTNET_VERSION_FOREGROUND=134 | |
# Show .NET version only when in a .NET project subdirectory. | |
typeset -g POWERLEVEL9K_DOTNET_VERSION_PROJECT_ONLY=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_DOTNET_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#####################[ php_version: php version (https://www.php.net/) ]###################### | |
# PHP version color. | |
typeset -g POWERLEVEL9K_PHP_VERSION_FOREGROUND=99 | |
# Show PHP version only when in a PHP project subdirectory. | |
typeset -g POWERLEVEL9K_PHP_VERSION_PROJECT_ONLY=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_PHP_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
##########[ laravel_version: laravel php framework version (https://laravel.com/) ]########### | |
# Laravel version color. | |
typeset -g POWERLEVEL9K_LARAVEL_VERSION_FOREGROUND=161 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_LARAVEL_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
####################[ java_version: java version (https://www.java.com/) ]#################### | |
# Java version color. | |
typeset -g POWERLEVEL9K_JAVA_VERSION_FOREGROUND=32 | |
# Show java version only when in a java project subdirectory. | |
typeset -g POWERLEVEL9K_JAVA_VERSION_PROJECT_ONLY=true | |
# Show brief version. | |
typeset -g POWERLEVEL9K_JAVA_VERSION_FULL=false | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_JAVA_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
###[ package: name@version from package.json (https://docs.npmjs.com/files/package.json) ]#### | |
# Package color. | |
typeset -g POWERLEVEL9K_PACKAGE_FOREGROUND=117 | |
# Package format. The following parameters are available within the expansion. | |
# | |
# - P9K_PACKAGE_NAME The value of `name` field in package.json. | |
# - P9K_PACKAGE_VERSION The value of `version` field in package.json. | |
# | |
# typeset -g POWERLEVEL9K_PACKAGE_CONTENT_EXPANSION='${P9K_PACKAGE_NAME//\%/%%}@${P9K_PACKAGE_VERSION//\%/%%}' | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_PACKAGE_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#############[ rbenv: ruby version from rbenv (https://github.com/rbenv/rbenv) ]############## | |
# Rbenv color. | |
typeset -g POWERLEVEL9K_RBENV_FOREGROUND=168 | |
# Hide ruby version if it doesn't come from one of these sources. | |
typeset -g POWERLEVEL9K_RBENV_SOURCES=(shell local global) | |
# If set to false, hide ruby version if it's the same as global: | |
# $(rbenv version-name) == $(rbenv global). | |
typeset -g POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW=false | |
# If set to false, hide ruby version if it's equal to "system". | |
typeset -g POWERLEVEL9K_RBENV_SHOW_SYSTEM=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_RBENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#######################[ rvm: ruby version from rvm (https://rvm.io) ]######################## | |
# Rvm color. | |
typeset -g POWERLEVEL9K_RVM_FOREGROUND=168 | |
# Don't show @gemset at the end. | |
typeset -g POWERLEVEL9K_RVM_SHOW_GEMSET=false | |
# Don't show ruby- at the front. | |
typeset -g POWERLEVEL9K_RVM_SHOW_PREFIX=false | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_RVM_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
###########[ fvm: flutter version management (https://github.com/leoafarias/fvm) ]############ | |
# Fvm color. | |
typeset -g POWERLEVEL9K_FVM_FOREGROUND=38 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_FVM_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
##########[ luaenv: lua version from luaenv (https://github.com/cehoffman/luaenv) ]########### | |
# Lua color. | |
typeset -g POWERLEVEL9K_LUAENV_FOREGROUND=32 | |
# Hide lua version if it doesn't come from one of these sources. | |
typeset -g POWERLEVEL9K_LUAENV_SOURCES=(shell local global) | |
# If set to false, hide lua version if it's the same as global: | |
# $(luaenv version-name) == $(luaenv global). | |
typeset -g POWERLEVEL9K_LUAENV_PROMPT_ALWAYS_SHOW=false | |
# If set to false, hide lua version if it's equal to "system". | |
typeset -g POWERLEVEL9K_LUAENV_SHOW_SYSTEM=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_LUAENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
###############[ jenv: java version from jenv (https://github.com/jenv/jenv) ]################ | |
# Java color. | |
typeset -g POWERLEVEL9K_JENV_FOREGROUND=32 | |
# Hide java version if it doesn't come from one of these sources. | |
typeset -g POWERLEVEL9K_JENV_SOURCES=(shell local global) | |
# If set to false, hide java version if it's the same as global: | |
# $(jenv version-name) == $(jenv global). | |
typeset -g POWERLEVEL9K_JENV_PROMPT_ALWAYS_SHOW=false | |
# If set to false, hide java version if it's equal to "system". | |
typeset -g POWERLEVEL9K_JENV_SHOW_SYSTEM=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_JENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
###########[ plenv: perl version from plenv (https://github.com/tokuhirom/plenv) ]############ | |
# Perl color. | |
typeset -g POWERLEVEL9K_PLENV_FOREGROUND=67 | |
# Hide perl version if it doesn't come from one of these sources. | |
typeset -g POWERLEVEL9K_PLENV_SOURCES=(shell local global) | |
# If set to false, hide perl version if it's the same as global: | |
# $(plenv version-name) == $(plenv global). | |
typeset -g POWERLEVEL9K_PLENV_PROMPT_ALWAYS_SHOW=false | |
# If set to false, hide perl version if it's equal to "system". | |
typeset -g POWERLEVEL9K_PLENV_SHOW_SYSTEM=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_PLENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
############[ phpenv: php version from phpenv (https://github.com/phpenv/phpenv) ]############ | |
# PHP color. | |
typeset -g POWERLEVEL9K_PHPENV_FOREGROUND=99 | |
# Hide php version if it doesn't come from one of these sources. | |
typeset -g POWERLEVEL9K_PHPENV_SOURCES=(shell local global) | |
# If set to false, hide php version if it's the same as global: | |
# $(phpenv version-name) == $(phpenv global). | |
typeset -g POWERLEVEL9K_PHPENV_PROMPT_ALWAYS_SHOW=false | |
# If set to false, hide php version if it's equal to "system". | |
typeset -g POWERLEVEL9K_PHPENV_SHOW_SYSTEM=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_PHPENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#######[ scalaenv: scala version from scalaenv (https://github.com/scalaenv/scalaenv) ]####### | |
# Scala color. | |
typeset -g POWERLEVEL9K_SCALAENV_FOREGROUND=160 | |
# Hide scala version if it doesn't come from one of these sources. | |
typeset -g POWERLEVEL9K_SCALAENV_SOURCES=(shell local global) | |
# If set to false, hide scala version if it's the same as global: | |
# $(scalaenv version-name) == $(scalaenv global). | |
typeset -g POWERLEVEL9K_SCALAENV_PROMPT_ALWAYS_SHOW=false | |
# If set to false, hide scala version if it's equal to "system". | |
typeset -g POWERLEVEL9K_SCALAENV_SHOW_SYSTEM=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_SCALAENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
##########[ haskell_stack: haskell version from stack (https://haskellstack.org/) ]########### | |
# Haskell color. | |
typeset -g POWERLEVEL9K_HASKELL_STACK_FOREGROUND=172 | |
# Hide haskell version if it doesn't come from one of these sources. | |
# | |
# shell: version is set by STACK_YAML | |
# local: version is set by stack.yaml up the directory tree | |
# global: version is set by the implicit global project (~/.stack/global-project/stack.yaml) | |
typeset -g POWERLEVEL9K_HASKELL_STACK_SOURCES=(shell local) | |
# If set to false, hide haskell version if it's the same as in the implicit global project. | |
typeset -g POWERLEVEL9K_HASKELL_STACK_ALWAYS_SHOW=true | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_HASKELL_STACK_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# | |
# Show kubecontext only when the the command you are typing invokes one of these tools. | |
# Tip: Remove the next line to always show kubecontext. | |
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc|istioctl|kogito|k9s|helmfile|fluxctl|stern' | |
# Kubernetes context classes for the purpose of using different colors, icons and expansions with | |
# different contexts. | |
# | |
# POWERLEVEL9K_KUBECONTEXT_CLASSES is an array with even number of elements. The first element | |
# in each pair defines a pattern against which the current kubernetes context gets matched. | |
# More specifically, it's P9K_CONTENT prior to the application of context expansion (see below) | |
# that gets matched. If you unset all POWERLEVEL9K_KUBECONTEXT_*CONTENT_EXPANSION parameters, | |
# you'll see this value in your prompt. The second element of each pair in | |
# POWERLEVEL9K_KUBECONTEXT_CLASSES defines the context class. Patterns are tried in order. The | |
# first match wins. | |
# | |
# For example, given these settings: | |
# | |
# typeset -g POWERLEVEL9K_KUBECONTEXT_CLASSES=( | |
# '*prod*' PROD | |
# '*test*' TEST | |
# '*' DEFAULT) | |
# | |
# If your current kubernetes context is "deathray-testing/default", its class is TEST | |
# because "deathray-testing/default" doesn't match the pattern '*prod*' but does match '*test*'. | |
# | |
# You can define different colors, icons and content expansions for different classes: | |
# | |
# typeset -g POWERLEVEL9K_KUBECONTEXT_TEST_FOREGROUND=28 | |
# typeset -g POWERLEVEL9K_KUBECONTEXT_TEST_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_KUBECONTEXT_TEST_CONTENT_EXPANSION='> ${P9K_CONTENT} <' | |
typeset -g POWERLEVEL9K_KUBECONTEXT_CLASSES=( | |
# '*prod*' PROD # These values are examples that are unlikely | |
# '*test*' TEST # to match your needs. Customize them as needed. | |
'*' DEFAULT) | |
typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=134 | |
# typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# Use POWERLEVEL9K_KUBECONTEXT_CONTENT_EXPANSION to specify the content displayed by kubecontext | |
# segment. Parameter expansions are very flexible and fast, too. See reference: | |
# http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion. | |
# | |
# Within the expansion the following parameters are always available: | |
# | |
# - P9K_CONTENT The content that would've been displayed if there was no content | |
# expansion defined. | |
# - P9K_KUBECONTEXT_NAME The current context's name. Corresponds to column NAME in the | |
# output of `kubectl config get-contexts`. | |
# - P9K_KUBECONTEXT_CLUSTER The current context's cluster. Corresponds to column CLUSTER in the | |
# output of `kubectl config get-contexts`. | |
# - P9K_KUBECONTEXT_NAMESPACE The current context's namespace. Corresponds to column NAMESPACE | |
# in the output of `kubectl config get-contexts`. If there is no | |
# namespace, the parameter is set to "default". | |
# - P9K_KUBECONTEXT_USER The current context's user. Corresponds to column AUTHINFO in the | |
# output of `kubectl config get-contexts`. | |
# | |
# If the context points to Google Kubernetes Engine (GKE) or Elastic Kubernetes Service (EKS), | |
# the following extra parameters are available: | |
# | |
# - P9K_KUBECONTEXT_CLOUD_NAME Either "gke" or "eks". | |
# - P9K_KUBECONTEXT_CLOUD_ACCOUNT Account/project ID. | |
# - P9K_KUBECONTEXT_CLOUD_ZONE Availability zone. | |
# - P9K_KUBECONTEXT_CLOUD_CLUSTER Cluster. | |
# | |
# P9K_KUBECONTEXT_CLOUD_* parameters are derived from P9K_KUBECONTEXT_CLUSTER. For example, | |
# if P9K_KUBECONTEXT_CLUSTER is "gke_my-account_us-east1-a_my-cluster-01": | |
# | |
# - P9K_KUBECONTEXT_CLOUD_NAME=gke | |
# - P9K_KUBECONTEXT_CLOUD_ACCOUNT=my-account | |
# - P9K_KUBECONTEXT_CLOUD_ZONE=us-east1-a | |
# - P9K_KUBECONTEXT_CLOUD_CLUSTER=my-cluster-01 | |
# | |
# If P9K_KUBECONTEXT_CLUSTER is "arn:aws:eks:us-east-1:123456789012:cluster/my-cluster-01": | |
# | |
# - P9K_KUBECONTEXT_CLOUD_NAME=eks | |
# - P9K_KUBECONTEXT_CLOUD_ACCOUNT=123456789012 | |
# - P9K_KUBECONTEXT_CLOUD_ZONE=us-east-1 | |
# - P9K_KUBECONTEXT_CLOUD_CLUSTER=my-cluster-01 | |
typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION= | |
# Show P9K_KUBECONTEXT_CLOUD_CLUSTER if it's not empty and fall back to P9K_KUBECONTEXT_NAME. | |
POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION+='${P9K_KUBECONTEXT_CLOUD_CLUSTER:-${P9K_KUBECONTEXT_NAME}}' | |
# Append the current context's namespace if it's not "default". | |
POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION+='${${:-/$P9K_KUBECONTEXT_NAMESPACE}:#/default}' | |
# Custom prefix. | |
# typeset -g POWERLEVEL9K_KUBECONTEXT_PREFIX='%fat ' | |
################[ terraform: terraform workspace (https://www.terraform.io) ]################# | |
# Don't show terraform workspace if it's literally "default". | |
typeset -g POWERLEVEL9K_TERRAFORM_SHOW_DEFAULT=false | |
# POWERLEVEL9K_TERRAFORM_CLASSES is an array with even number of elements. The first element | |
# in each pair defines a pattern against which the current terraform workspace gets matched. | |
# More specifically, it's P9K_CONTENT prior to the application of context expansion (see below) | |
# that gets matched. If you unset all POWERLEVEL9K_TERRAFORM_*CONTENT_EXPANSION parameters, | |
# you'll see this value in your prompt. The second element of each pair in | |
# POWERLEVEL9K_TERRAFORM_CLASSES defines the workspace class. Patterns are tried in order. The | |
# first match wins. | |
# | |
# For example, given these settings: | |
# | |
# typeset -g POWERLEVEL9K_TERRAFORM_CLASSES=( | |
# '*prod*' PROD | |
# '*test*' TEST | |
# '*' OTHER) | |
# | |
# If your current terraform workspace is "project_test", its class is TEST because "project_test" | |
# doesn't match the pattern '*prod*' but does match '*test*'. | |
# | |
# You can define different colors, icons and content expansions for different classes: | |
# | |
# typeset -g POWERLEVEL9K_TERRAFORM_TEST_FOREGROUND=28 | |
# typeset -g POWERLEVEL9K_TERRAFORM_TEST_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_TERRAFORM_TEST_CONTENT_EXPANSION='> ${P9K_CONTENT} <' | |
typeset -g POWERLEVEL9K_TERRAFORM_CLASSES=( | |
# '*prod*' PROD # These values are examples that are unlikely | |
# '*test*' TEST # to match your needs. Customize them as needed. | |
'*' OTHER) | |
typeset -g POWERLEVEL9K_TERRAFORM_OTHER_FOREGROUND=38 | |
# typeset -g POWERLEVEL9K_TERRAFORM_OTHER_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#[ aws: aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) ]# | |
# Show aws only when the the command you are typing invokes one of these tools. | |
# Tip: Remove the next line to always show aws. | |
typeset -g POWERLEVEL9K_AWS_SHOW_ON_COMMAND='aws|awless|terraform|pulumi|terragrunt' | |
# POWERLEVEL9K_AWS_CLASSES is an array with even number of elements. The first element | |
# in each pair defines a pattern against which the current AWS profile gets matched. | |
# More specifically, it's P9K_CONTENT prior to the application of context expansion (see below) | |
# that gets matched. If you unset all POWERLEVEL9K_AWS_*CONTENT_EXPANSION parameters, | |
# you'll see this value in your prompt. The second element of each pair in | |
# POWERLEVEL9K_AWS_CLASSES defines the profile class. Patterns are tried in order. The | |
# first match wins. | |
# | |
# For example, given these settings: | |
# | |
# typeset -g POWERLEVEL9K_AWS_CLASSES=( | |
# '*prod*' PROD | |
# '*test*' TEST | |
# '*' DEFAULT) | |
# | |
# If your current AWS profile is "company_test", its class is TEST | |
# because "company_test" doesn't match the pattern '*prod*' but does match '*test*'. | |
# | |
# You can define different colors, icons and content expansions for different classes: | |
# | |
# typeset -g POWERLEVEL9K_AWS_TEST_FOREGROUND=28 | |
# typeset -g POWERLEVEL9K_AWS_TEST_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_AWS_TEST_CONTENT_EXPANSION='> ${P9K_CONTENT} <' | |
typeset -g POWERLEVEL9K_AWS_CLASSES=( | |
# '*prod*' PROD # These values are examples that are unlikely | |
# '*test*' TEST # to match your needs. Customize them as needed. | |
'*' DEFAULT) | |
typeset -g POWERLEVEL9K_AWS_DEFAULT_FOREGROUND=208 | |
# typeset -g POWERLEVEL9K_AWS_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#[ aws_eb_env: aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/) ]# | |
# AWS Elastic Beanstalk environment color. | |
typeset -g POWERLEVEL9K_AWS_EB_ENV_FOREGROUND=70 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_AWS_EB_ENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
##########[ azure: azure account name (https://docs.microsoft.com/en-us/cli/azure) ]########## | |
# Show azure only when the the command you are typing invokes one of these tools. | |
# Tip: Remove the next line to always show azure. | |
typeset -g POWERLEVEL9K_AZURE_SHOW_ON_COMMAND='az|terraform|pulumi|terragrunt' | |
# Azure account name color. | |
typeset -g POWERLEVEL9K_AZURE_FOREGROUND=32 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_AZURE_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
##########[ gcloud: google cloud account and project (https://cloud.google.com/) ]########### | |
# Show gcloud only when the the command you are typing invokes one of these tools. | |
# Tip: Remove the next line to always show gcloud. | |
typeset -g POWERLEVEL9K_GCLOUD_SHOW_ON_COMMAND='gcloud|gcs' | |
# Google cloud color. | |
typeset -g POWERLEVEL9K_GCLOUD_FOREGROUND=32 | |
# Google cloud format. Change the value of POWERLEVEL9K_GCLOUD_PARTIAL_CONTENT_EXPANSION and/or | |
# POWERLEVEL9K_GCLOUD_COMPLETE_CONTENT_EXPANSION if the default is too verbose or not informative | |
# enough. You can use the following parameters in the expansions. Each of them corresponds to the | |
# output of `gcloud` tool. | |
# | |
# Parameter | Source | |
# -------------------------|-------------------------------------------------------------------- | |
# P9K_GCLOUD_CONFIGURATION | gcloud config configurations list --format='value(name)' | |
# P9K_GCLOUD_ACCOUNT | gcloud config get-value account | |
# P9K_GCLOUD_PROJECT_ID | gcloud config get-value project | |
# P9K_GCLOUD_PROJECT_NAME | gcloud projects describe $P9K_GCLOUD_PROJECT_ID --format='value(name)' | |
# | |
# Note: ${VARIABLE//\%/%%} expands to ${VARIABLE} with all occurrences of '%' replaced with '%%'. | |
# | |
# Obtaining project name requires sending a request to Google servers. This can take a long time | |
# and even fail. When project name is unknown, P9K_GCLOUD_PROJECT_NAME is not set and gcloud | |
# prompt segment is in state PARTIAL. When project name gets known, P9K_GCLOUD_PROJECT_NAME gets | |
# set and gcloud prompt segment transitions to state COMPLETE. | |
# | |
# You can customize the format, icon and colors of gcloud segment separately for states PARTIAL | |
# and COMPLETE. You can also hide gcloud in state PARTIAL by setting | |
# POWERLEVEL9K_GCLOUD_PARTIAL_VISUAL_IDENTIFIER_EXPANSION and | |
# POWERLEVEL9K_GCLOUD_PARTIAL_CONTENT_EXPANSION to empty. | |
typeset -g POWERLEVEL9K_GCLOUD_PARTIAL_CONTENT_EXPANSION='${P9K_GCLOUD_PROJECT_ID//\%/%%}' | |
typeset -g POWERLEVEL9K_GCLOUD_COMPLETE_CONTENT_EXPANSION='${P9K_GCLOUD_PROJECT_NAME//\%/%%}' | |
# Send a request to Google (by means of `gcloud projects describe ...`) to obtain project name | |
# this often. Negative value disables periodic polling. In this mode project name is retrieved | |
# only when the current configuration, account or project id changes. | |
typeset -g POWERLEVEL9K_GCLOUD_REFRESH_PROJECT_NAME_SECONDS=60 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_GCLOUD_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#[ google_app_cred: google application credentials (https://cloud.google.com/docs/authentication/production) ]# | |
# Show google_app_cred only when the the command you are typing invokes one of these tools. | |
# Tip: Remove the next line to always show google_app_cred. | |
typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_SHOW_ON_COMMAND='terraform|pulumi|terragrunt' | |
# Google application credentials classes for the purpose of using different colors, icons and | |
# expansions with different credentials. | |
# | |
# POWERLEVEL9K_GOOGLE_APP_CRED_CLASSES is an array with even number of elements. The first | |
# element in each pair defines a pattern against which the current kubernetes context gets | |
# matched. More specifically, it's P9K_CONTENT prior to the application of context expansion | |
# (see below) that gets matched. If you unset all POWERLEVEL9K_GOOGLE_APP_CRED_*CONTENT_EXPANSION | |
# parameters, you'll see this value in your prompt. The second element of each pair in | |
# POWERLEVEL9K_GOOGLE_APP_CRED_CLASSES defines the context class. Patterns are tried in order. | |
# The first match wins. | |
# | |
# For example, given these settings: | |
# | |
# typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_CLASSES=( | |
# '*:*prod*:*' PROD | |
# '*:*test*:*' TEST | |
# '*' DEFAULT) | |
# | |
# If your current Google application credentials is "service_account deathray-testing [email protected]", | |
# its class is TEST because it doesn't match the pattern '* *prod* *' but does match '* *test* *'. | |
# | |
# You can define different colors, icons and content expansions for different classes: | |
# | |
# typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_TEST_FOREGROUND=28 | |
# typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_TEST_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_TEST_CONTENT_EXPANSION='$P9K_GOOGLE_APP_CRED_PROJECT_ID' | |
typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_CLASSES=( | |
# '*:*prod*:*' PROD # These values are examples that are unlikely | |
# '*:*test*:*' TEST # to match your needs. Customize them as needed. | |
'*' DEFAULT) | |
typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_FOREGROUND=32 | |
# typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# Use POWERLEVEL9K_GOOGLE_APP_CRED_CONTENT_EXPANSION to specify the content displayed by | |
# google_app_cred segment. Parameter expansions are very flexible and fast, too. See reference: | |
# http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion. | |
# | |
# You can use the following parameters in the expansion. Each of them corresponds to one of the | |
# fields in the JSON file pointed to by GOOGLE_APPLICATION_CREDENTIALS. | |
# | |
# Parameter | JSON key file field | |
# ---------------------------------+--------------- | |
# P9K_GOOGLE_APP_CRED_TYPE | type | |
# P9K_GOOGLE_APP_CRED_PROJECT_ID | project_id | |
# P9K_GOOGLE_APP_CRED_CLIENT_EMAIL | client_email | |
# | |
# Note: ${VARIABLE//\%/%%} expands to ${VARIABLE} with all occurrences of '%' replaced by '%%'. | |
typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_CONTENT_EXPANSION='${P9K_GOOGLE_APP_CRED_PROJECT_ID//\%/%%}' | |
###############################[ public_ip: public IP address ]############################### | |
# Public IP color. | |
typeset -g POWERLEVEL9K_PUBLIC_IP_FOREGROUND=94 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_PUBLIC_IP_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
########################[ vpn_ip: virtual private network indicator ]######################### | |
# VPN IP color. | |
typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=81 | |
# When on VPN, show just an icon without the IP address. | |
# Tip: To display the private IP address when on VPN, remove the next line. | |
typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION= | |
# Regular expression for the VPN network interface. Run `ifconfig` or `ip -4 a show` while on VPN | |
# to see the name of the interface. | |
typeset -g POWERLEVEL9K_VPN_IP_INTERFACE='(gpd|wg|(.*tun)|tailscale)[0-9]*' | |
# If set to true, show one segment per matching network interface. If set to false, show only | |
# one segment corresponding to the first matching network interface. | |
# Tip: If you set it to true, you'll probably want to unset POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION. | |
typeset -g POWERLEVEL9K_VPN_IP_SHOW_ALL=false | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_VPN_IP_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
###########[ ip: ip address and bandwidth usage for a specified network interface ]########### | |
# IP color. | |
typeset -g POWERLEVEL9K_IP_FOREGROUND=38 | |
# The following parameters are accessible within the expansion: | |
# | |
# Parameter | Meaning | |
# ----------------------+--------------- | |
# P9K_IP_IP | IP address | |
# P9K_IP_INTERFACE | network interface | |
# P9K_IP_RX_BYTES | total number of bytes received | |
# P9K_IP_TX_BYTES | total number of bytes sent | |
# P9K_IP_RX_RATE | receive rate (since last prompt) | |
# P9K_IP_TX_RATE | send rate (since last prompt) | |
typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='$P9K_IP_IP${P9K_IP_RX_RATE:+ %70F⇣$P9K_IP_RX_RATE}${P9K_IP_TX_RATE:+ %215F⇡$P9K_IP_TX_RATE}' | |
# Show information for the first network interface whose name matches this regular expression. | |
# Run `ifconfig` or `ip -4 a show` to see the names of all network interfaces. | |
typeset -g POWERLEVEL9K_IP_INTERFACE='[ew].*' | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_IP_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
#########################[ proxy: system-wide http/https/ftp proxy ]########################## | |
# Proxy color. | |
typeset -g POWERLEVEL9K_PROXY_FOREGROUND=68 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_PROXY_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
################################[ battery: internal battery ]################################# | |
# Show battery in red when it's below this level and not connected to power supply. | |
typeset -g POWERLEVEL9K_BATTERY_LOW_THRESHOLD=20 | |
typeset -g POWERLEVEL9K_BATTERY_LOW_FOREGROUND=160 | |
# Show battery in green when it's charging or fully charged. | |
typeset -g POWERLEVEL9K_BATTERY_{CHARGING,CHARGED}_FOREGROUND=70 | |
# Show battery in yellow when it's discharging. | |
typeset -g POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=178 | |
# Battery pictograms going from low to high level of charge. | |
typeset -g POWERLEVEL9K_BATTERY_STAGES='\uf58d\uf579\uf57a\uf57b\uf57c\uf57d\uf57e\uf57f\uf580\uf581\uf578' | |
# Don't show the remaining time to charge/discharge. | |
typeset -g POWERLEVEL9K_BATTERY_VERBOSE=false | |
#####################################[ wifi: wifi speed ]##################################### | |
# WiFi color. | |
typeset -g POWERLEVEL9K_WIFI_FOREGROUND=68 | |
# Custom icon. | |
# typeset -g POWERLEVEL9K_WIFI_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# Use different colors and icons depending on signal strength ($P9K_WIFI_BARS). | |
# | |
# # Wifi colors and icons for different signal strength levels (low to high). | |
# typeset -g my_wifi_fg=(68 68 68 68 68) # <-- change these values | |
# typeset -g my_wifi_icon=('WiFi' 'WiFi' 'WiFi' 'WiFi' 'WiFi') # <-- change these values | |
# | |
# typeset -g POWERLEVEL9K_WIFI_CONTENT_EXPANSION='%F{${my_wifi_fg[P9K_WIFI_BARS+1]}}$P9K_WIFI_LAST_TX_RATE Mbps' | |
# typeset -g POWERLEVEL9K_WIFI_VISUAL_IDENTIFIER_EXPANSION='%F{${my_wifi_fg[P9K_WIFI_BARS+1]}}${my_wifi_icon[P9K_WIFI_BARS+1]}' | |
# | |
# The following parameters are accessible within the expansions: | |
# | |
# Parameter | Meaning | |
# ----------------------+--------------- | |
# P9K_WIFI_SSID | service set identifier, a.k.a. network name | |
# P9K_WIFI_LINK_AUTH | authentication protocol such as "wpa2-psk" or "none"; empty if unknown | |
# P9K_WIFI_LAST_TX_RATE | wireless transmit rate in megabits per second | |
# P9K_WIFI_RSSI | signal strength in dBm, from -120 to 0 | |
# P9K_WIFI_NOISE | noise in dBm, from -120 to 0 | |
# P9K_WIFI_BARS | signal strength in bars, from 0 to 4 (derived from P9K_WIFI_RSSI and P9K_WIFI_NOISE) | |
####################################[ time: current time ]#################################### | |
# Current time color. | |
typeset -g POWERLEVEL9K_TIME_FOREGROUND=66 | |
# Format for the current time: 09:51:02. See `man 3 strftime`. | |
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}' | |
# If set to true, time will update when you hit enter. This way prompts for the past | |
# commands will contain the start times of their commands as opposed to the default | |
# behavior where they contain the end times of their preceding commands. | |
typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false | |
# Custom icon. | |
typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION= | |
# Custom prefix. | |
# typeset -g POWERLEVEL9K_TIME_PREFIX='%fat ' | |
# Example of a user-defined prompt segment. Function prompt_example will be called on every | |
# prompt if `example` prompt segment is added to POWERLEVEL9K_LEFT_PROMPT_ELEMENTS or | |
# POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS. It displays an icon and orange text greeting the user. | |
# | |
# Type `p10k help segment` for documentation and a more sophisticated example. | |
function prompt_example() { | |
p10k segment -f 208 -i '⭐' -t 'hello, %n' | |
} | |
# User-defined prompt segments may optionally provide an instant_prompt_* function. Its job | |
# is to generate the prompt segment for display in instant prompt. See | |
# https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt. | |
# | |
# Powerlevel10k will call instant_prompt_* at the same time as the regular prompt_* function | |
# and will record all `p10k segment` calls it makes. When displaying instant prompt, Powerlevel10k | |
# will replay these calls without actually calling instant_prompt_*. It is imperative that | |
# instant_prompt_* always makes the same `p10k segment` calls regardless of environment. If this | |
# rule is not observed, the content of instant prompt will be incorrect. | |
# | |
# Usually, you should either not define instant_prompt_* or simply call prompt_* from it. If | |
# instant_prompt_* is not defined for a segment, the segment won't be shown in instant prompt. | |
function instant_prompt_example() { | |
# Since prompt_example always makes the same `p10k segment` calls, we can call it from | |
# instant_prompt_example. This will give us the same `example` prompt segment in the instant | |
# and regular prompts. | |
prompt_example | |
} | |
# User-defined prompt segments can be customized the same way as built-in segments. | |
# typeset -g POWERLEVEL9K_EXAMPLE_FOREGROUND=208 | |
# typeset -g POWERLEVEL9K_EXAMPLE_VISUAL_IDENTIFIER_EXPANSION='⭐' | |
# Transient prompt works similarly to the builtin transient_rprompt option. It trims down prompt | |
# when accepting a command line. Supported values: | |
# | |
# - off: Don't change prompt when accepting a command line. | |
# - always: Trim down prompt when accepting a command line. | |
# - same-dir: Trim down prompt when accepting a command line unless this is the first command | |
# typed after changing current working directory. | |
typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=always | |
# Instant prompt mode. | |
# | |
# - off: Disable instant prompt. Choose this if you've tried instant prompt and found | |
# it incompatible with your zsh configuration files. | |
# - quiet: Enable instant prompt and don't print warnings when detecting console output | |
# during zsh initialization. Choose this if you've read and understood | |
# https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt. | |
# - verbose: Enable instant prompt and print a warning when detecting console output during | |
# zsh initialization. Choose this if you've never tried instant prompt, haven't | |
# seen the warning, or if you are unsure what this all means. | |
typeset -g POWERLEVEL9K_INSTANT_PROMPT=verbose | |
# Hot reload allows you to change POWERLEVEL9K options after Powerlevel10k has been initialized. | |
# For example, you can type POWERLEVEL9K_BACKGROUND=red and see your prompt turn red. Hot reload | |
# can slow down prompt by 1-2 milliseconds, so it's better to keep it turned off unless you | |
# really need it. | |
typeset -g POWERLEVEL9K_DISABLE_HOT_RELOAD=true | |
# If p10k is already loaded, reload configuration. | |
# This works even with POWERLEVEL9K_DISABLE_HOT_RELOAD=true. | |
(( ! $+functions[p10k] )) || p10k reload | |
} | |
+/home/h/.p10k.zsh:21> '(anon)' | |
+(anon):1> emulate -L zsh -o extended_glob | |
+(anon):5> unset -m '(POWERLEVEL9K_*|DEFAULT_USER)~POWERLEVEL9K_GITSTATUS_DIR' | |
+(anon):8> autoload -Uz is-at-least | |
+(anon):8> is-at-least 5.1 | |
+is-at-least:23> emulate -L zsh | |
+is-at-least:25> local IFS=.- min_cnt=0 ver_cnt=0 part min_ver version order | |
+is-at-least:27> min_ver=( 5 1 ) | |
+is-at-least:28> version=( 5 8 0 ) | |
+is-at-least:30> (( 0 <= 2 )) | |
+is-at-least:31> [[ '' != <-> ]] | |
+is-at-least:32> (( ++ver_cnt > 3 )) | |
+is-at-least:33> [[ 5 = *[0-9][^0-9]* ]] | |
+is-at-least:45> part=5 | |
+is-at-least:31> [[ 5 != <-> ]] | |
+is-at-least:48> true | |
+is-at-least:49> (( ++min_cnt > 2 )) | |
+is-at-least:50> [[ 5 = <-> ]] | |
+is-at-least:50> break | |
+is-at-least:53> (( part > min_ver[min_cnt] )) | |
+is-at-least:54> (( part < min_ver[min_cnt] )) | |
+is-at-least:55> part='' | |
+is-at-least:30> (( 1 <= 2 )) | |
+is-at-least:31> [[ '' != <-> ]] | |
+is-at-least:32> (( ++ver_cnt > 3 )) | |
+is-at-least:33> [[ 8 = *[0-9][^0-9]* ]] | |
+is-at-least:45> part=8 | |
+is-at-least:31> [[ 8 != <-> ]] | |
+is-at-least:48> true | |
+is-at-least:49> (( ++min_cnt > 2 )) | |
+is-at-least:50> [[ 1 = <-> ]] | |
+is-at-least:50> break | |
+is-at-least:53> (( part > min_ver[min_cnt] )) | |
+is-at-least:53> return 0 | |
+(anon):11> typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( dir vcs prompt_char ) | |
+(anon):22> typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( status command_execution_time background_jobs direnv asdf virtualenv anaconda pyenv goenv nodenv nvm nodeenv rbenv rvm fvm luaenv jenv plenv phpenv scalaenv haskell_stack kubecontext terraform aws aws_eb_env azure gcloud google_app_cred context nordvpn ranger nnn vim_shell midnight_commander nix_shell todo timewarrior taskwarrior ) | |
+(anon):84> typeset -g POWERLEVEL9K_MODE=nerdfont-complete | |
+(anon):87> typeset -g POWERLEVEL9K_ICON_PADDING=none | |
+(anon):91> typeset -g POWERLEVEL9K_BACKGROUND='' | |
+(anon):92> typeset -g 'POWERLEVEL9K_LEFT_LEFT_WHITESPACE=' 'POWERLEVEL9K_LEFT_RIGHT_WHITESPACE=' 'POWERLEVEL9K_RIGHT_LEFT_WHITESPACE=' 'POWERLEVEL9K_RIGHT_RIGHT_WHITESPACE=' | |
+(anon):93> typeset -g 'POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR= ' 'POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR= ' | |
+(anon):94> typeset -g 'POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR=' 'POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR=' | |
+(anon):107> typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT=true | |
+(anon):110> typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=false | |
+(anon):113> typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='' | |
+(anon):114> typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX='' | |
+(anon):115> typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='' | |
+(anon):117> typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX='' | |
+(anon):118> typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX='' | |
+(anon):119> typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_SUFFIX='' | |
+(anon):122> typeset -g POWERLEVEL9K_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL='' | |
+(anon):124> typeset -g POWERLEVEL9K_RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL='' | |
+(anon):129> typeset -g POWERLEVEL9K_SHOW_RULER=false | |
+(anon):130> typeset -g POWERLEVEL9K_RULER_CHAR=─ | |
+(anon):131> typeset -g POWERLEVEL9K_RULER_FOREGROUND=242 | |
+(anon):139> typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' ' | |
+(anon):140> [[ ' ' != \ ]] | |
+(anon):155> typeset -g POWERLEVEL9K_OS_ICON_FOREGROUND='' | |
+(anon):161> typeset -g 'POWERLEVEL9K_PROMPT_CHAR_OK_VIINS_FOREGROUND=76' 'POWERLEVEL9K_PROMPT_CHAR_OK_VICMD_FOREGROUND=76' 'POWERLEVEL9K_PROMPT_CHAR_OK_VIVIS_FOREGROUND=76' 'POWERLEVEL9K_PROMPT_CHAR_OK_VIOWR_FOREGROUND=76' | |
+(anon):163> typeset -g 'POWERLEVEL9K_PROMPT_CHAR_ERROR_VIINS_FOREGROUND=196' 'POWERLEVEL9K_PROMPT_CHAR_ERROR_VICMD_FOREGROUND=196' 'POWERLEVEL9K_PROMPT_CHAR_ERROR_VIVIS_FOREGROUND=196' 'POWERLEVEL9K_PROMPT_CHAR_ERROR_VIOWR_FOREGROUND=196' | |
+(anon):165> typeset -g 'POWERLEVEL9K_PROMPT_CHAR_OK_VIINS_CONTENT_EXPANSION=❯' 'POWERLEVEL9K_PROMPT_CHAR_ERROR_VIINS_CONTENT_EXPANSION=❯' | |
+(anon):167> typeset -g 'POWERLEVEL9K_PROMPT_CHAR_OK_VICMD_CONTENT_EXPANSION=❮' 'POWERLEVEL9K_PROMPT_CHAR_ERROR_VICMD_CONTENT_EXPANSION=❮' | |
+(anon):169> typeset -g 'POWERLEVEL9K_PROMPT_CHAR_OK_VIVIS_CONTENT_EXPANSION=V' 'POWERLEVEL9K_PROMPT_CHAR_ERROR_VIVIS_CONTENT_EXPANSION=V' | |
+(anon):171> typeset -g 'POWERLEVEL9K_PROMPT_CHAR_OK_VIOWR_CONTENT_EXPANSION=▶' 'POWERLEVEL9K_PROMPT_CHAR_ERROR_VIOWR_CONTENT_EXPANSION=▶' | |
+(anon):172> typeset -g POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true | |
+(anon):174> typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='' | |
+(anon):176> typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL='' | |
+(anon):180> typeset -g POWERLEVEL9K_DIR_FOREGROUND=31 | |
+(anon):183> typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique | |
+(anon):185> typeset -g POWERLEVEL9K_SHORTEN_DELIMITER='' | |
+(anon):187> typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=103 | |
+(anon):190> typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=39 | |
+(anon):192> typeset -g POWERLEVEL9K_DIR_ANCHOR_BOLD=true | |
+(anon):194> local anchor_files=( .bzr .citc .git .hg .node-version .python-version .go-version .ruby-version .lua-version .java-version .perl-version .php-version .tool-version .shorten_folder_marker .svn .terraform CVS Cargo.toml composer.json go.mod package.json stack.yaml ) | |
+(anon):218> typeset -g POWERLEVEL9K_SHORTEN_FOLDER_MARKER='(.bzr|.citc|.git|.hg|.node-version|.python-version|.go-version|.ruby-version|.lua-version|.java-version|.perl-version|.php-version|.tool-version|.shorten_folder_marker|.svn|.terraform|CVS|Cargo.toml|composer.json|go.mod|package.json|stack.yaml)' | |
+(anon):229> typeset -g POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER=false | |
+(anon):231> typeset -g POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 | |
+(anon):237> typeset -g POWERLEVEL9K_DIR_MAX_LENGTH=80 | |
+(anon):240> typeset -g POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS=40 | |
+(anon):243> typeset -g POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT=50 | |
+(anon):248> typeset -g POWERLEVEL9K_DIR_HYPERLINK=false | |
+(anon):252> typeset -g POWERLEVEL9K_DIR_SHOW_WRITABLE=v3 | |
+(anon):307> typeset -g POWERLEVEL9K_DIR_CLASSES=( ) | |
+(anon):314> typeset -g POWERLEVEL9K_VCS_BRANCH_ICON='' | |
+(anon):318> typeset -g POWERLEVEL9K_VCS_UNTRACKED_ICON='?' | |
+(anon):421> functions -M my_git_formatter | |
+(anon):430> typeset -g POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY=-1 | |
+(anon):435> typeset -g POWERLEVEL9K_VCS_DISABLED_WORKDIR_PATTERN='~' | |
+(anon):438> typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true | |
+(anon):440> typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${$((my_git_formatter(1)))+${my_git_format}}' | |
+(anon):441> typeset -g POWERLEVEL9K_VCS_LOADING_CONTENT_EXPANSION='${$((my_git_formatter(0)))+${my_git_format}}' | |
+(anon):443> typeset -g 'POWERLEVEL9K_VCS_STAGED_MAX_NUM=-1' 'POWERLEVEL9K_VCS_UNSTAGED_MAX_NUM=-1' 'POWERLEVEL9K_VCS_UNTRACKED_MAX_NUM=-1' 'POWERLEVEL9K_VCS_CONFLICTED_MAX_NUM=-1' 'POWERLEVEL9K_VCS_COMMITS_AHEAD_MAX_NUM=-1' 'POWERLEVEL9K_VCS_COMMITS_BEHIND_MAX_NUM=-1' | |
+(anon):446> typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_COLOR=76 | |
+(anon):447> typeset -g POWERLEVEL9K_VCS_LOADING_VISUAL_IDENTIFIER_COLOR=244 | |
+(anon):449> typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION='' | |
+(anon):456> typeset -g POWERLEVEL9K_VCS_BACKENDS=( git ) | |
+(anon):460> typeset -g POWERLEVEL9K_VCS_CLEAN_FOREGROUND=76 | |
+(anon):461> typeset -g POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND=76 | |
+(anon):462> typeset -g POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=178 | |
+(anon):467> typeset -g POWERLEVEL9K_STATUS_EXTENDED_STATES=true | |
+(anon):471> typeset -g POWERLEVEL9K_STATUS_OK=false | |
+(anon):472> typeset -g POWERLEVEL9K_STATUS_OK_FOREGROUND=70 | |
+(anon):473> typeset -g POWERLEVEL9K_STATUS_OK_VISUAL_IDENTIFIER_EXPANSION=✔ | |
+(anon):477> typeset -g POWERLEVEL9K_STATUS_OK_PIPE=true | |
+(anon):478> typeset -g POWERLEVEL9K_STATUS_OK_PIPE_FOREGROUND=70 | |
+(anon):479> typeset -g POWERLEVEL9K_STATUS_OK_PIPE_VISUAL_IDENTIFIER_EXPANSION=✔ | |
+(anon):483> typeset -g POWERLEVEL9K_STATUS_ERROR=false | |
+(anon):484> typeset -g POWERLEVEL9K_STATUS_ERROR_FOREGROUND=160 | |
+(anon):485> typeset -g POWERLEVEL9K_STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION=✘ | |
+(anon):488> typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL=true | |
+(anon):489> typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_FOREGROUND=160 | |
+(anon):491> typeset -g POWERLEVEL9K_STATUS_VERBOSE_SIGNAME=false | |
+(anon):492> typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_VISUAL_IDENTIFIER_EXPANSION=✘ | |
+(anon):496> typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE=true | |
+(anon):497> typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_FOREGROUND=160 | |
+(anon):498> typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_VISUAL_IDENTIFIER_EXPANSION=✘ | |
+(anon):502> typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=3 | |
+(anon):504> typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0 | |
+(anon):506> typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=101 | |
+(anon):508> typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s' | |
+(anon):510> typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_EXPANSION='' | |
+(anon):516> typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false | |
+(anon):518> typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=70 | |
+(anon):524> typeset -g POWERLEVEL9K_DIRENV_FOREGROUND=178 | |
+(anon):531> typeset -g POWERLEVEL9K_ASDF_FOREGROUND=66 | |
+(anon):560> typeset -g POWERLEVEL9K_ASDF_SOURCES=( shell local global ) | |
+(anon):567> typeset -g POWERLEVEL9K_ASDF_PROMPT_ALWAYS_SHOW=false | |
+(anon):573> typeset -g POWERLEVEL9K_ASDF_SHOW_SYSTEM=true | |
+(anon):586> typeset -g POWERLEVEL9K_ASDF_SHOW_ON_UPGLOB='' | |
+(anon):589> typeset -g POWERLEVEL9K_ASDF_RUBY_FOREGROUND=168 | |
+(anon):594> typeset -g POWERLEVEL9K_ASDF_PYTHON_FOREGROUND=37 | |
+(anon):599> typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=37 | |
+(anon):604> typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=70 | |
+(anon):609> typeset -g POWERLEVEL9K_ASDF_RUST_FOREGROUND=37 | |
+(anon):614> typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_FOREGROUND=134 | |
+(anon):619> typeset -g POWERLEVEL9K_ASDF_FLUTTER_FOREGROUND=38 | |
+(anon):624> typeset -g POWERLEVEL9K_ASDF_LUA_FOREGROUND=32 | |
+(anon):629> typeset -g POWERLEVEL9K_ASDF_JAVA_FOREGROUND=32 | |
+(anon):634> typeset -g POWERLEVEL9K_ASDF_PERL_FOREGROUND=67 | |
+(anon):639> typeset -g POWERLEVEL9K_ASDF_ERLANG_FOREGROUND=125 | |
+(anon):644> typeset -g POWERLEVEL9K_ASDF_ELIXIR_FOREGROUND=129 | |
+(anon):649> typeset -g POWERLEVEL9K_ASDF_POSTGRES_FOREGROUND=31 | |
+(anon):654> typeset -g POWERLEVEL9K_ASDF_PHP_FOREGROUND=99 | |
+(anon):659> typeset -g POWERLEVEL9K_ASDF_HASKELL_FOREGROUND=172 | |
+(anon):664> typeset -g POWERLEVEL9K_ASDF_JULIA_FOREGROUND=70 | |
+(anon):670> typeset -g POWERLEVEL9K_NORDVPN_FOREGROUND=39 | |
+(anon):672> typeset -g 'POWERLEVEL9K_NORDVPN_DISCONNECTED_CONTENT_EXPANSION=' 'POWERLEVEL9K_NORDVPN_CONNECTING_CONTENT_EXPANSION=' 'POWERLEVEL9K_NORDVPN_DISCONNECTING_CONTENT_EXPANSION=' | |
+(anon):673> typeset -g 'POWERLEVEL9K_NORDVPN_DISCONNECTED_VISUAL_IDENTIFIER_EXPANSION=' 'POWERLEVEL9K_NORDVPN_CONNECTING_VISUAL_IDENTIFIER_EXPANSION=' 'POWERLEVEL9K_NORDVPN_DISCONNECTING_VISUAL_IDENTIFIER_EXPANSION=' | |
+(anon):679> typeset -g POWERLEVEL9K_RANGER_FOREGROUND=178 | |
+(anon):685> typeset -g POWERLEVEL9K_NNN_FOREGROUND=72 | |
+(anon):691> typeset -g POWERLEVEL9K_VIM_SHELL_FOREGROUND=34 | |
+(anon):697> typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_FOREGROUND=178 | |
+(anon):703> typeset -g POWERLEVEL9K_NIX_SHELL_FOREGROUND=74 | |
+(anon):713> typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=35 | |
+(anon):714> typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=220 | |
+(anon):715> typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=160 | |
+(anon):717> typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90 | |
+(anon):718> typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95 | |
+(anon):720> typeset -g POWERLEVEL9K_DISK_USAGE_ONLY_WARNING=false | |
+(anon):726> typeset -g POWERLEVEL9K_RAM_FOREGROUND=66 | |
+(anon):732> typeset -g POWERLEVEL9K_SWAP_FOREGROUND=96 | |
+(anon):738> typeset -g POWERLEVEL9K_LOAD_WHICH=5 | |
+(anon):740> typeset -g POWERLEVEL9K_LOAD_NORMAL_FOREGROUND=66 | |
+(anon):742> typeset -g POWERLEVEL9K_LOAD_WARNING_FOREGROUND=178 | |
+(anon):744> typeset -g POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND=166 | |
+(anon):750> typeset -g POWERLEVEL9K_TODO_FOREGROUND=110 | |
+(anon):752> typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_TOTAL=true | |
+(anon):754> typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_FILTERED=false | |
+(anon):774> typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=110 | |
+(anon):779> typeset -g POWERLEVEL9K_TIMEWARRIOR_CONTENT_EXPANSION='${P9K_CONTENT:0:24}${${P9K_CONTENT:24}:+…}' | |
+(anon):786> typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=74 | |
+(anon):806> typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=178 | |
+(anon):808> typeset -g 'POWERLEVEL9K_CONTEXT_REMOTE_FOREGROUND=180' 'POWERLEVEL9K_CONTEXT_REMOTE_SUDO_FOREGROUND=180' | |
+(anon):810> typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=180 | |
+(anon):813> typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE=%B%n@%m | |
+(anon):815> typeset -g 'POWERLEVEL9K_CONTEXT_REMOTE_TEMPLATE=%n@%m' 'POWERLEVEL9K_CONTEXT_REMOTE_SUDO_TEMPLATE=%n@%m' | |
+(anon):817> typeset -g POWERLEVEL9K_CONTEXT_TEMPLATE=%n@%m | |
+(anon):821> typeset -g 'POWERLEVEL9K_CONTEXT_DEFAULT_CONTENT_EXPANSION=' 'POWERLEVEL9K_CONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION=' 'POWERLEVEL9K_CONTEXT_SUDO_CONTENT_EXPANSION=' 'POWERLEVEL9K_CONTEXT_SUDO_VISUAL_IDENTIFIER_EXPANSION=' | |
+(anon):830> typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=37 | |
+(anon):832> typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false | |
+(anon):835> typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_WITH_PYENV=false | |
+(anon):837> typeset -g 'POWERLEVEL9K_VIRTUALENV_LEFT_DELIMITER=' 'POWERLEVEL9K_VIRTUALENV_RIGHT_DELIMITER=' | |
+(anon):843> typeset -g POWERLEVEL9K_ANACONDA_FOREGROUND=37 | |
+(anon):869> typeset -g POWERLEVEL9K_ANACONDA_CONTENT_EXPANSION='${${${${CONDA_PROMPT_MODIFIER#\(}% }%\)}:-${CONDA_PREFIX:t}}' | |
+(anon):876> typeset -g POWERLEVEL9K_PYENV_FOREGROUND=37 | |
+(anon):878> typeset -g POWERLEVEL9K_PYENV_SOURCES=( shell local global ) | |
+(anon):881> typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false | |
+(anon):883> typeset -g POWERLEVEL9K_PYENV_SHOW_SYSTEM=true | |
+(anon):895> typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_PYENV_PYTHON_VERSION:#$P9K_CONTENT}:+ $P9K_PYENV_PYTHON_VERSION}' | |
+(anon):902> typeset -g POWERLEVEL9K_GOENV_FOREGROUND=37 | |
+(anon):904> typeset -g POWERLEVEL9K_GOENV_SOURCES=( shell local global ) | |
+(anon):907> typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false | |
+(anon):909> typeset -g POWERLEVEL9K_GOENV_SHOW_SYSTEM=true | |
+(anon):915> typeset -g POWERLEVEL9K_NODENV_FOREGROUND=70 | |
+(anon):917> typeset -g POWERLEVEL9K_NODENV_SOURCES=( shell local global ) | |
+(anon):920> typeset -g POWERLEVEL9K_NODENV_PROMPT_ALWAYS_SHOW=false | |
+(anon):922> typeset -g POWERLEVEL9K_NODENV_SHOW_SYSTEM=true | |
+(anon):928> typeset -g POWERLEVEL9K_NVM_FOREGROUND=70 | |
+(anon):934> typeset -g POWERLEVEL9K_NODEENV_FOREGROUND=70 | |
+(anon):936> typeset -g POWERLEVEL9K_NODEENV_SHOW_NODE_VERSION=false | |
+(anon):938> typeset -g 'POWERLEVEL9K_NODEENV_LEFT_DELIMITER=' 'POWERLEVEL9K_NODEENV_RIGHT_DELIMITER=' | |
+(anon):944> typeset -g POWERLEVEL9K_NODE_VERSION_FOREGROUND=70 | |
+(anon):946> typeset -g POWERLEVEL9K_NODE_VERSION_PROJECT_ONLY=true | |
+(anon):952> typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=37 | |
+(anon):954> typeset -g POWERLEVEL9K_GO_VERSION_PROJECT_ONLY=true | |
+(anon):960> typeset -g POWERLEVEL9K_RUST_VERSION_FOREGROUND=37 | |
+(anon):962> typeset -g POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY=true | |
+(anon):968> typeset -g POWERLEVEL9K_DOTNET_VERSION_FOREGROUND=134 | |
+(anon):970> typeset -g POWERLEVEL9K_DOTNET_VERSION_PROJECT_ONLY=true | |
+(anon):976> typeset -g POWERLEVEL9K_PHP_VERSION_FOREGROUND=99 | |
+(anon):978> typeset -g POWERLEVEL9K_PHP_VERSION_PROJECT_ONLY=true | |
+(anon):984> typeset -g POWERLEVEL9K_LARAVEL_VERSION_FOREGROUND=161 | |
+(anon):990> typeset -g POWERLEVEL9K_JAVA_VERSION_FOREGROUND=32 | |
+(anon):992> typeset -g POWERLEVEL9K_JAVA_VERSION_PROJECT_ONLY=true | |
+(anon):994> typeset -g POWERLEVEL9K_JAVA_VERSION_FULL=false | |
+(anon):1000> typeset -g POWERLEVEL9K_PACKAGE_FOREGROUND=117 | |
+(anon):1012> typeset -g POWERLEVEL9K_RBENV_FOREGROUND=168 | |
+(anon):1014> typeset -g POWERLEVEL9K_RBENV_SOURCES=( shell local global ) | |
+(anon):1017> typeset -g POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW=false | |
+(anon):1019> typeset -g POWERLEVEL9K_RBENV_SHOW_SYSTEM=true | |
+(anon):1025> typeset -g POWERLEVEL9K_RVM_FOREGROUND=168 | |
+(anon):1027> typeset -g POWERLEVEL9K_RVM_SHOW_GEMSET=false | |
+(anon):1029> typeset -g POWERLEVEL9K_RVM_SHOW_PREFIX=false | |
+(anon):1035> typeset -g POWERLEVEL9K_FVM_FOREGROUND=38 | |
+(anon):1041> typeset -g POWERLEVEL9K_LUAENV_FOREGROUND=32 | |
+(anon):1043> typeset -g POWERLEVEL9K_LUAENV_SOURCES=( shell local global ) | |
+(anon):1046> typeset -g POWERLEVEL9K_LUAENV_PROMPT_ALWAYS_SHOW=false | |
+(anon):1048> typeset -g POWERLEVEL9K_LUAENV_SHOW_SYSTEM=true | |
+(anon):1054> typeset -g POWERLEVEL9K_JENV_FOREGROUND=32 | |
+(anon):1056> typeset -g POWERLEVEL9K_JENV_SOURCES=( shell local global ) | |
+(anon):1059> typeset -g POWERLEVEL9K_JENV_PROMPT_ALWAYS_SHOW=false | |
+(anon):1061> typeset -g POWERLEVEL9K_JENV_SHOW_SYSTEM=true | |
+(anon):1067> typeset -g POWERLEVEL9K_PLENV_FOREGROUND=67 | |
+(anon):1069> typeset -g POWERLEVEL9K_PLENV_SOURCES=( shell local global ) | |
+(anon):1072> typeset -g POWERLEVEL9K_PLENV_PROMPT_ALWAYS_SHOW=false | |
+(anon):1074> typeset -g POWERLEVEL9K_PLENV_SHOW_SYSTEM=true | |
+(anon):1080> typeset -g POWERLEVEL9K_PHPENV_FOREGROUND=99 | |
+(anon):1082> typeset -g POWERLEVEL9K_PHPENV_SOURCES=( shell local global ) | |
+(anon):1085> typeset -g POWERLEVEL9K_PHPENV_PROMPT_ALWAYS_SHOW=false | |
+(anon):1087> typeset -g POWERLEVEL9K_PHPENV_SHOW_SYSTEM=true | |
+(anon):1093> typeset -g POWERLEVEL9K_SCALAENV_FOREGROUND=160 | |
+(anon):1095> typeset -g POWERLEVEL9K_SCALAENV_SOURCES=( shell local global ) | |
+(anon):1098> typeset -g POWERLEVEL9K_SCALAENV_PROMPT_ALWAYS_SHOW=false | |
+(anon):1100> typeset -g POWERLEVEL9K_SCALAENV_SHOW_SYSTEM=true | |
+(anon):1106> typeset -g POWERLEVEL9K_HASKELL_STACK_FOREGROUND=172 | |
+(anon):1112> typeset -g POWERLEVEL9K_HASKELL_STACK_SOURCES=( shell local ) | |
+(anon):1114> typeset -g POWERLEVEL9K_HASKELL_STACK_ALWAYS_SHOW=true | |
+(anon):1121> typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc|istioctl|kogito|k9s|helmfile|fluxctl|stern' | |
+(anon):1149> typeset -g POWERLEVEL9K_KUBECONTEXT_CLASSES=( '*' DEFAULT ) | |
+(anon):1153> typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=134 | |
+(anon):1196> typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION='' | |
+(anon):1198> POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION+='${P9K_KUBECONTEXT_CLOUD_CLUSTER:-${P9K_KUBECONTEXT_NAME}}' | |
+(anon):1200> POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION+='${${:-/$P9K_KUBECONTEXT_NAMESPACE}:#/default}' | |
+(anon):1207> typeset -g POWERLEVEL9K_TERRAFORM_SHOW_DEFAULT=false | |
+(anon):1231> typeset -g POWERLEVEL9K_TERRAFORM_CLASSES=( '*' OTHER ) | |
+(anon):1235> typeset -g POWERLEVEL9K_TERRAFORM_OTHER_FOREGROUND=38 | |
+(anon):1241> typeset -g POWERLEVEL9K_AWS_SHOW_ON_COMMAND='aws|awless|terraform|pulumi|terragrunt' | |
+(anon):1266> typeset -g POWERLEVEL9K_AWS_CLASSES=( '*' DEFAULT ) | |
+(anon):1270> typeset -g POWERLEVEL9K_AWS_DEFAULT_FOREGROUND=208 | |
+(anon):1275> typeset -g POWERLEVEL9K_AWS_EB_ENV_FOREGROUND=70 | |
+(anon):1282> typeset -g POWERLEVEL9K_AZURE_SHOW_ON_COMMAND='az|terraform|pulumi|terragrunt' | |
+(anon):1284> typeset -g POWERLEVEL9K_AZURE_FOREGROUND=32 | |
+(anon):1291> typeset -g POWERLEVEL9K_GCLOUD_SHOW_ON_COMMAND='gcloud|gcs' | |
+(anon):1293> typeset -g POWERLEVEL9K_GCLOUD_FOREGROUND=32 | |
+(anon):1318> typeset -g POWERLEVEL9K_GCLOUD_PARTIAL_CONTENT_EXPANSION='${P9K_GCLOUD_PROJECT_ID//\%/%%}' | |
+(anon):1319> typeset -g POWERLEVEL9K_GCLOUD_COMPLETE_CONTENT_EXPANSION='${P9K_GCLOUD_PROJECT_NAME//\%/%%}' | |
+(anon):1324> typeset -g POWERLEVEL9K_GCLOUD_REFRESH_PROJECT_NAME_SECONDS=60 | |
+(anon):1332> typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_SHOW_ON_COMMAND='terraform|pulumi|terragrunt' | |
+(anon):1360> typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_CLASSES=( '*' DEFAULT ) | |
+(anon):1364> typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_FOREGROUND=32 | |
+(anon):1381> typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_CONTENT_EXPANSION='${P9K_GOOGLE_APP_CRED_PROJECT_ID//\%/%%}' | |
+(anon):1385> typeset -g POWERLEVEL9K_PUBLIC_IP_FOREGROUND=94 | |
+(anon):1391> typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=81 | |
+(anon):1394> typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION='' | |
+(anon):1397> typeset -g POWERLEVEL9K_VPN_IP_INTERFACE='(gpd|wg|(.*tun)|tailscale)[0-9]*' | |
+(anon):1401> typeset -g POWERLEVEL9K_VPN_IP_SHOW_ALL=false | |
+(anon):1407> typeset -g POWERLEVEL9K_IP_FOREGROUND=38 | |
+(anon):1418> typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='$P9K_IP_IP${P9K_IP_RX_RATE:+ %70F⇣$P9K_IP_RX_RATE}${P9K_IP_TX_RATE:+ %215F⇡$P9K_IP_TX_RATE}' | |
+(anon):1421> typeset -g POWERLEVEL9K_IP_INTERFACE='[ew].*' | |
+(anon):1427> typeset -g POWERLEVEL9K_PROXY_FOREGROUND=68 | |
+(anon):1433> typeset -g POWERLEVEL9K_BATTERY_LOW_THRESHOLD=20 | |
+(anon):1434> typeset -g POWERLEVEL9K_BATTERY_LOW_FOREGROUND=160 | |
+(anon):1436> typeset -g 'POWERLEVEL9K_BATTERY_CHARGING_FOREGROUND=70' 'POWERLEVEL9K_BATTERY_CHARGED_FOREGROUND=70' | |
+(anon):1438> typeset -g POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=178 | |
+(anon):1440> typeset -g POWERLEVEL9K_BATTERY_STAGES='\uf58d\uf579\uf57a\uf57b\uf57c\uf57d\uf57e\uf57f\uf580\uf581\uf578' | |
+(anon):1442> typeset -g POWERLEVEL9K_BATTERY_VERBOSE=false | |
+(anon):1446> typeset -g POWERLEVEL9K_WIFI_FOREGROUND=68 | |
+(anon):1472> typeset -g POWERLEVEL9K_TIME_FOREGROUND=66 | |
+(anon):1474> typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}' | |
+(anon):1478> typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false | |
+(anon):1480> typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION='' | |
+(anon):1523> typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=always | |
+(anon):1535> typeset -g POWERLEVEL9K_INSTANT_PROMPT=verbose | |
+(anon):1541> typeset -g POWERLEVEL9K_DISABLE_HOT_RELOAD=true | |
+(anon):1545> (( ! 0 )) | |
# Tell `p10k configure` which file it should overwrite. | |
typeset -g POWERLEVEL9K_CONFIG_FILE=${${(%):-%x}:a} | |
+/home/h/.p10k.zsh:1570> typeset -g POWERLEVEL9K_CONFIG_FILE=/home/h/.p10k.zsh | |
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]} | |
+/home/h/.p10k.zsh:1572> (( 1 )) | |
+/home/h/.p10k.zsh:1572> setopt aliases | |
'builtin' 'unset' 'p10k_config_opts' | |
+/home/h/.p10k.zsh:1573> unset p10k_config_opts | |
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh | |
+/home/h/.zshrc:114> [ -f /home/h/.fzf.zsh ']' | |
+/home/h/.zshrc:114> source /home/h/.fzf.zsh | |
# Setup fzf | |
# --------- | |
if [[ ! "$PATH" == */home/h/.fzf/bin* ]]; then | |
export PATH="${PATH:+${PATH}:}/home/h/.fzf/bin" | |
fi | |
+/home/h/.fzf.zsh:3> [[ ! /home/h/.nix-profile/bin:/home/h/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/h/.fzf/bin == */home/h/.fzf/bin* ]] | |
# Auto-completion | |
# --------------- | |
[[ $- == *i* ]] && source "/home/h/.fzf/shell/completion.zsh" 2> /dev/null | |
+/home/h/.fzf.zsh:9> [[ 569JNRXZghikmvx == *i* ]] | |
+/home/h/.fzf.zsh:9> source /home/h/.fzf/shell/completion.zsh | |
+/home/h/.fzf/shell/completion.zsh:24> zmodload zsh/parameter | |
+/home/h/.fzf/shell/completion.zsh:24> (( 1 )) | |
+/home/h/.fzf/shell/completion.zsh:31> __fzf_completion_options='options=(posixargzero off autolist on printexitvalue off kshzerosubscript off histreduceblanks off chaselinks off extendedglob off localloops off histnostore off automenu on globcomplete off unset on listpacked off promptsubst on shwordsplit off pathdirs off kshtypeset off listtypes on warncreateglobal off promptbang off dotglob off braceexpand on listbeep on correctall off privileged off numericglobsort off histverify on trackall on histsubstpattern off globstarshort off cbases off rcquotes off posixaliases off histfindnodups off bashautolist off sharehistory on overstrike off kshautoload off incappendhistory off appendcreate off promptcr on mailwarn off pushdignoredups on interactive on ignoreeof off globsubst off rematchpcre off monitor on histsavebycopy on histbeep on debugbeforecmd on magicequalsubst off rmstarsilent off posixjobs off hashcmds on posixtraps off extendedhistory on notify on kshoptionprint off histexpiredupsfirst on glob on posixcd off braceccl off badpattern on longlistjobs on banghist on dvorak off alwaystoend on hashall on warnnestedvar off globalexport on ksharrays off correct off cdsilent off autonamedirs off histexpand on typesetsilent off rmstarwait off histnofunctions off autoparamslash on trapsasync off sunkeyboardhack off promptsp on histsavenodups off autocd on allexport off posixidentifiers off cshjunkiehistory off autopushd on completeinword on completealiases off aliases on autocontinue off appendhistory on aliasfuncdef off singlelinezle off hashlistall on ignoreclosebraces off recexact off localoptions off interactivecomments on errexit off cshjunkiequotes off markdirs off hashdirs on cdablevars off rcexpandparam off vi off printeightbit off multifuncdef on xtrace on login off cshjunkieloops off histappend on histignorespace on evallineno on shfileexpansion off rcs on functionargzero on errreturn off combiningchars off histignoredups on histfcntllock off beep on autoremoveslash on hup on globdots off checkrunningjobs on autoparamkeys on shnullcmd off multibyte on zle on promptpercent on flowcontrol off continueonerror off incappendhistorytime off autoresume off globassign off caseglob on shortloops on bsdecho off cprecedences off log on transientrprompt off verbose on localpatterns off ignorebraces off pipefail off equals on menucomplete off cshnullglob off casematch on promptvars on histallowclobber off bareglobqual on shinstdin off restricted off pushdminus on nullglob off chasedots off mailwarning off listambiguous on cshnullcmd off bashrematch off octalzeroes off forcefloat off exec on multios on emacs off nomatch on pathscript off localtraps off stdin off onecmd off kshglob off clobber on posixbuiltins off alwayslastprompt on pushdtohome off histignorealldups off hashexecutablesonly off pushdsilent off shoptionletters off physical off sourcetrace off histlexwords off bgnice on globalrcs on posixstrings off checkjobs on shglob off singlecommand off listrowsfirst off)' | |
+/home/h/.fzf/shell/completion.zsh:70> emulate zsh -o no_aliases | |
+/home/h/.fzf/shell/completion.zsh:77> [[ -o interactive ]] | |
+/home/h/.fzf/shell/completion.zsh:80> declare -f _fzf_compgen_path | |
+/home/h/.fzf/shell/completion.zsh:89> declare -f _fzf_compgen_dir | |
+/home/h/.fzf/shell/completion.zsh:316> [ -z '' ']' | |
+/home/h/.fzf/shell/completion.zsh:317> binding=+/home/h/.fzf/shell/completion.zsh:317> bindkey '^I' | |
+/home/h/.fzf/shell/completion.zsh:317> binding='"^I" expand-or-complete' | |
+/home/h/.fzf/shell/completion.zsh:318> [[ $binding -regex-match 'undefined-key' ]] | |
+/home/h/.fzf/shell/completion.zsh:318> fzf_default_completion=expand-or-complete | |
+/home/h/.fzf/shell/completion.zsh:319> unset binding | |
+/home/h/.fzf/shell/completion.zsh:322> zle -N fzf-completion | |
+/home/h/.fzf/shell/completion.zsh:323> bindkey '^I' fzf-completion | |
+/home/h/.fzf/shell/completion.zsh:327> eval 'options=(posixargzero off autolist on printexitvalue off kshzerosubscript off histreduceblanks off chaselinks off extendedglob off localloops off histnostore off automenu on globcomplete off unset on listpacked off promptsubst on shwordsplit off pathdirs off kshtypeset off listtypes on warncreateglobal off promptbang off dotglob off braceexpand on listbeep on correctall off privileged off numericglobsort off histverify on trackall on histsubstpattern off globstarshort off cbases off rcquotes off posixaliases off histfindnodups off bashautolist off sharehistory on overstrike off kshautoload off incappendhistory off appendcreate off promptcr on mailwarn off pushdignoredups on interactive on ignoreeof off globsubst off rematchpcre off monitor on histsavebycopy on histbeep on debugbeforecmd on magicequalsubst off rmstarsilent off posixjobs off hashcmds on posixtraps off extendedhistory on notify on kshoptionprint off histexpiredupsfirst on glob on posixcd off braceccl off badpattern on longlistjobs on banghist on dvorak off alwaystoend on hashall on warnnestedvar off globalexport on ksharrays off correct off cdsilent off autonamedirs off histexpand on typesetsilent off rmstarwait off histnofunctions off autoparamslash on trapsasync off sunkeyboardhack off promptsp on histsavenodups off autocd on allexport off posixidentifiers off cshjunkiehistory off autopushd on completeinword on completealiases off aliases on autocontinue off appendhistory on aliasfuncdef off singlelinezle off hashlistall on ignoreclosebraces off recexact off localoptions off interactivecomments on errexit off cshjunkiequotes off markdirs off hashdirs on cdablevars off rcexpandparam off vi off printeightbit off multifuncdef on xtrace on login off cshjunkieloops off histappend on histignorespace on evallineno on shfileexpansion off rcs on functionargzero on errreturn off combiningchars off histignoredups on histfcntllock off beep on autoremoveslash on hup on globdots off checkrunningjobs on autoparamkeys on shnullcmd off multibyte on zle on promptpercent on flowcontrol off continueonerror off incappendhistorytime off autoresume off globassign off caseglob on shortloops on bsdecho off cprecedences off log on transientrprompt off verbose on localpatterns off ignorebraces off pipefail off equals on menucomplete off cshnullglob off casematch on promptvars on histallowclobber off bareglobqual on shinstdin off restricted off pushdminus on nullglob off chasedots off mailwarning off listambiguous on cshnullcmd off bashrematch off octalzeroes off forcefloat off exec on multios on emacs off nomatch on pathscript off localtraps off stdin off onecmd off kshglob off clobber on posixbuiltins off alwayslastprompt on pushdtohome off histignorealldups off hashexecutablesonly off pushdsilent off shoptionletters off physical off sourcetrace off histlexwords off bgnice on globalrcs on posixstrings off checkjobs on shglob off singlecommand off listrowsfirst off)' | |
+(eval):1> options=( posixargzero off autolist on printexitvalue off kshzerosubscript off histreduceblanks off chaselinks off extendedglob off localloops off histnostore off automenu on globcomplete off unset on listpacked off promptsubst on shwordsplit off pathdirs off kshtypeset off listtypes on warncreateglobal off promptbang off dotglob off braceexpand on listbeep on correctall off privileged off numericglobsort off histverify on trackall on histsubstpattern off globstarshort off cbases off rcquotes off posixaliases off histfindnodups off bashautolist off sharehistory on overstrike off kshautoload off incappendhistory off appendcreate off promptcr on mailwarn off pushdignoredups on interactive on ignoreeof off globsubst off rematchpcre off monitor on histsavebycopy on histbeep on debugbeforecmd on magicequalsubst off rmstarsilent off posixjobs off hashcmds on posixtraps off extendedhistory on notify on kshoptionprint off histexpiredupsfirst on glob on posixcd off braceccl off badpattern on longlistjobs on banghist on dvorak off alwaystoend on hashall on warnnestedvar off globalexport on ksharrays off correct off cdsilent off autonamedirs off histexpand on typesetsilent off rmstarwait off histnofunctions off autoparamslash on trapsasync off sunkeyboardhack off promptsp on histsavenodups off autocd on allexport off posixidentifiers off cshjunkiehistory off autopushd on completeinword on completealiases off aliases on autocontinue off appendhistory on aliasfuncdef off singlelinezle off hashlistall on ignoreclosebraces off recexact off localoptions off interactivecomments on errexit off cshjunkiequotes off markdirs off hashdirs on cdablevars off rcexpandparam off vi off printeightbit off multifuncdef on xtrace on login off cshjunkieloops off histappend on histignorespace on evallineno on shfileexpansion off rcs on functionargzero on errreturn off combiningchars off histignoredups on histfcntllock off beep on autoremoveslash on hup on globdots off checkrunningjobs on autoparamkeys on shnullcmd off multibyte on zle on promptpercent on flowcontrol off continueonerror off incappendhistorytime off autoresume off globassign off caseglob on shortloops on bsdecho off cprecedences off log on transientrprompt off verbose on localpatterns off ignorebraces off pipefail off equals on menucomplete off cshnullglob off casematch on promptvars on histallowclobber off bareglobqual on shinstdin off restricted off pushdminus on nullglob off chasedots off mailwarning off listambiguous on cshnullcmd off bashrematch off octalzeroes off forcefloat off exec on multios on emacs off nomatch on pathscript off localtraps off stdin off onecmd off kshglob off clobber on posixbuiltins off alwayslastprompt on pushdtohome off histignorealldups off hashexecutablesonly off pushdsilent off shoptionletters off physical off sourcetrace off histlexwords off bgnice on globalrcs on posixstrings off checkjobs on shglob off singlecommand off listrowsfirst off ) | |
+/home/h/.fzf/shell/completion.zsh:328> unset __fzf_completion_options | |
# Key bindings | |
# ------------ | |
source "/home/h/.fzf/shell/key-bindings.zsh" | |
+/home/h/.fzf.zsh:13> source /home/h/.fzf/shell/key-bindings.zsh | |
# ____ ____ | |
# / __/___ / __/ | |
# / /_/_ / / /_ | |
# / __/ / /_/ __/ | |
# /_/ /___/_/ key-bindings.zsh | |
# | |
# - $FZF_TMUX_OPTS | |
# - $FZF_CTRL_T_COMMAND | |
# - $FZF_CTRL_T_OPTS | |
# - $FZF_CTRL_R_OPTS | |
# - $FZF_ALT_C_COMMAND | |
# - $FZF_ALT_C_OPTS | |
# Key bindings | |
# ------------ | |
# The code at the top and the bottom of this file is the same as in completion.zsh. | |
# Refer to that file for explanation. | |
if 'zmodload' 'zsh/parameter' 2>'/dev/null' && (( ${+options} )); then | |
__fzf_key_bindings_options="options=(${(j: :)${(kv)options[@]}})" | |
else | |
() { | |
__fzf_key_bindings_options="setopt" | |
'local' '__fzf_opt' | |
for __fzf_opt in "${(@)${(@f)$(set -o)}%% *}"; do | |
if [[ -o "$__fzf_opt" ]]; then | |
__fzf_key_bindings_options+=" -o $__fzf_opt" | |
else | |
__fzf_key_bindings_options+=" +o $__fzf_opt" | |
fi | |
done | |
} | |
fi | |
+/home/h/.fzf/shell/key-bindings.zsh:19> zmodload zsh/parameter | |
+/home/h/.fzf/shell/key-bindings.zsh:19> (( 1 )) | |
+/home/h/.fzf/shell/key-bindings.zsh:20> __fzf_key_bindings_options='options=(posixargzero off autolist on printexitvalue off kshzerosubscript off histreduceblanks off chaselinks off extendedglob off localloops off histnostore off automenu on globcomplete off unset on listpacked off promptsubst on shwordsplit off pathdirs off kshtypeset off listtypes on warncreateglobal off promptbang off dotglob off braceexpand on listbeep on correctall off privileged off numericglobsort off histverify on trackall on histsubstpattern off globstarshort off cbases off rcquotes off posixaliases off histfindnodups off bashautolist off sharehistory on overstrike off kshautoload off incappendhistory off appendcreate off promptcr on mailwarn off pushdignoredups on interactive on ignoreeof off globsubst off rematchpcre off monitor on histsavebycopy on histbeep on debugbeforecmd on magicequalsubst off rmstarsilent off posixjobs off hashcmds on posixtraps off extendedhistory on notify on kshoptionprint off histexpiredupsfirst on glob on posixcd off braceccl off badpattern on longlistjobs on banghist on dvorak off alwaystoend on hashall on warnnestedvar off globalexport on ksharrays off correct off cdsilent off autonamedirs off histexpand on typesetsilent off rmstarwait off histnofunctions off autoparamslash on trapsasync off sunkeyboardhack off promptsp on histsavenodups off autocd on allexport off posixidentifiers off cshjunkiehistory off autopushd on completeinword on completealiases off aliases on autocontinue off appendhistory on aliasfuncdef off singlelinezle off hashlistall on ignoreclosebraces off recexact off localoptions off interactivecomments on errexit off cshjunkiequotes off markdirs off hashdirs on cdablevars off rcexpandparam off vi off printeightbit off multifuncdef on xtrace on login off cshjunkieloops off histappend on histignorespace on evallineno on shfileexpansion off rcs on functionargzero on errreturn off combiningchars off histignoredups on histfcntllock off beep on autoremoveslash on hup on globdots off checkrunningjobs on autoparamkeys on shnullcmd off multibyte on zle on promptpercent on flowcontrol off continueonerror off incappendhistorytime off autoresume off globassign off caseglob on shortloops on bsdecho off cprecedences off log on transientrprompt off verbose on localpatterns off ignorebraces off pipefail off equals on menucomplete off cshnullglob off casematch on promptvars on histallowclobber off bareglobqual on shinstdin off restricted off pushdminus on nullglob off chasedots off mailwarning off listambiguous on cshnullcmd off bashrematch off octalzeroes off forcefloat off exec on multios on emacs off nomatch on pathscript off localtraps off stdin off onecmd off kshglob off clobber on posixbuiltins off alwayslastprompt on pushdtohome off histignorealldups off hashexecutablesonly off pushdsilent off shoptionletters off physical off sourcetrace off histlexwords off bgnice on globalrcs on posixstrings off checkjobs on shglob off singlecommand off listrowsfirst off)' | |
'emulate' 'zsh' '-o' 'no_aliases' | |
+/home/h/.fzf/shell/key-bindings.zsh:35> emulate zsh -o no_aliases | |
{ | |
[[ -o interactive ]] || return 0 | |
# CTRL-T - Paste the selected file path(s) into the command line | |
__fsel() { | |
local cmd="${FZF_CTRL_T_COMMAND:-"command find -L . -mindepth 1 \\( -path '*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune \ | |
-o -type f -print \ | |
-o -type d -print \ | |
-o -type l -print 2> /dev/null | cut -b3-"}" | |
setopt localoptions pipefail no_aliases 2> /dev/null | |
local item | |
eval "$cmd" | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_CTRL_T_OPTS" $(__fzfcmd) -m "$@" | while read item; do | |
echo -n "${(q)item} " | |
done | |
local ret=$? | |
echo | |
return $ret | |
} | |
__fzfcmd() { | |
[ -n "$TMUX_PANE" ] && { [ "${FZF_TMUX:-0}" != 0 ] || [ -n "$FZF_TMUX_OPTS" ]; } && | |
echo "fzf-tmux ${FZF_TMUX_OPTS:--d${FZF_TMUX_HEIGHT:-40%}} -- " || echo "fzf" | |
} | |
fzf-file-widget() { | |
LBUFFER="${LBUFFER}$(__fsel)" | |
local ret=$? | |
zle reset-prompt | |
return $ret | |
} | |
zle -N fzf-file-widget | |
bindkey '^T' fzf-file-widget | |
# ALT-C - cd into the selected directory | |
fzf-cd-widget() { | |
local cmd="${FZF_ALT_C_COMMAND:-"command find -L . -mindepth 1 \\( -path '*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune \ | |
-o -type d -print 2> /dev/null | cut -b3-"}" | |
setopt localoptions pipefail no_aliases 2> /dev/null | |
local dir="$(eval "$cmd" | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_ALT_C_OPTS" $(__fzfcmd) +m)" | |
if [[ -z "$dir" ]]; then | |
zle redisplay | |
return 0 | |
fi | |
zle push-line # Clear buffer. Auto-restored on next prompt. | |
BUFFER="cd ${(q)dir}" | |
zle accept-line | |
local ret=$? | |
unset dir # ensure this doesn't end up appearing in prompt expansion | |
zle reset-prompt | |
return $ret | |
} | |
zle -N fzf-cd-widget | |
bindkey '\ec' fzf-cd-widget | |
# CTRL-R - Paste the selected command from history into the command line | |
fzf-history-widget() { | |
local selected num | |
setopt localoptions noglobsubst noposixbuiltins pipefail no_aliases 2> /dev/null | |
selected=( $(fc -rl 1 | perl -ne 'print if !$seen{(/^\s*[0-9]+\**\s+(.*)/, $1)}++' | | |
FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} $FZF_DEFAULT_OPTS -n2..,.. --tiebreak=index --bind=ctrl-r:toggle-sort,ctrl-z:ignore $FZF_CTRL_R_OPTS --query=${(qqq)LBUFFER} +m" $(__fzfcmd)) ) | |
local ret=$? | |
if [ -n "$selected" ]; then | |
num=$selected[1] | |
if [ -n "$num" ]; then | |
zle vi-fetch-history -n $num | |
fi | |
fi | |
zle reset-prompt | |
return $ret | |
} | |
zle -N fzf-history-widget | |
bindkey '^R' fzf-history-widget | |
} always { | |
eval $__fzf_key_bindings_options | |
'unset' '__fzf_key_bindings_options' | |
} | |
+/home/h/.fzf/shell/key-bindings.zsh:39> [[ -o interactive ]] | |
+/home/h/.fzf/shell/key-bindings.zsh:68> zle -N fzf-file-widget | |
+/home/h/.fzf/shell/key-bindings.zsh:69> bindkey '^T' fzf-file-widget | |
+/home/h/.fzf/shell/key-bindings.zsh:89> zle -N fzf-cd-widget | |
+/home/h/.fzf/shell/key-bindings.zsh:90> bindkey '\ec' fzf-cd-widget | |
+/home/h/.fzf/shell/key-bindings.zsh:108> zle -N fzf-history-widget | |
+/home/h/.fzf/shell/key-bindings.zsh:109> bindkey '^R' fzf-history-widget | |
+/home/h/.fzf/shell/key-bindings.zsh:112> eval 'options=(posixargzero off autolist on printexitvalue off kshzerosubscript off histreduceblanks off chaselinks off extendedglob off localloops off histnostore off automenu on globcomplete off unset on listpacked off promptsubst on shwordsplit off pathdirs off kshtypeset off listtypes on warncreateglobal off promptbang off dotglob off braceexpand on listbeep on correctall off privileged off numericglobsort off histverify on trackall on histsubstpattern off globstarshort off cbases off rcquotes off posixaliases off histfindnodups off bashautolist off sharehistory on overstrike off kshautoload off incappendhistory off appendcreate off promptcr on mailwarn off pushdignoredups on interactive on ignoreeof off globsubst off rematchpcre off monitor on histsavebycopy on histbeep on debugbeforecmd on magicequalsubst off rmstarsilent off posixjobs off hashcmds on posixtraps off extendedhistory on notify on kshoptionprint off histexpiredupsfirst on glob on posixcd off braceccl off badpattern on longlistjobs on banghist on dvorak off alwaystoend on hashall on warnnestedvar off globalexport on ksharrays off correct off cdsilent off autonamedirs off histexpand on typesetsilent off rmstarwait off histnofunctions off autoparamslash on trapsasync off sunkeyboardhack off promptsp on histsavenodups off autocd on allexport off posixidentifiers off cshjunkiehistory off autopushd on completeinword on completealiases off aliases on autocontinue off appendhistory on aliasfuncdef off singlelinezle off hashlistall on ignoreclosebraces off recexact off localoptions off interactivecomments on errexit off cshjunkiequotes off markdirs off hashdirs on cdablevars off rcexpandparam off vi off printeightbit off multifuncdef on xtrace on login off cshjunkieloops off histappend on histignorespace on evallineno on shfileexpansion off rcs on functionargzero on errreturn off combiningchars off histignoredups on histfcntllock off beep on autoremoveslash on hup on globdots off checkrunningjobs on autoparamkeys on shnullcmd off multibyte on zle on promptpercent on flowcontrol off continueonerror off incappendhistorytime off autoresume off globassign off caseglob on shortloops on bsdecho off cprecedences off log on transientrprompt off verbose on localpatterns off ignorebraces off pipefail off equals on menucomplete off cshnullglob off casematch on promptvars on histallowclobber off bareglobqual on shinstdin off restricted off pushdminus on nullglob off chasedots off mailwarning off listambiguous on cshnullcmd off bashrematch off octalzeroes off forcefloat off exec on multios on emacs off nomatch on pathscript off localtraps off stdin off onecmd off kshglob off clobber on posixbuiltins off alwayslastprompt on pushdtohome off histignorealldups off hashexecutablesonly off pushdsilent off shoptionletters off physical off sourcetrace off histlexwords off bgnice on globalrcs on posixstrings off checkjobs on shglob off singlecommand off listrowsfirst off)' | |
+(eval):1> options=( posixargzero off autolist on printexitvalue off kshzerosubscript off histreduceblanks off chaselinks off extendedglob off localloops off histnostore off automenu on globcomplete off unset on listpacked off promptsubst on shwordsplit off pathdirs off kshtypeset off listtypes on warncreateglobal off promptbang off dotglob off braceexpand on listbeep on correctall off privileged off numericglobsort off histverify on trackall on histsubstpattern off globstarshort off cbases off rcquotes off posixaliases off histfindnodups off bashautolist off sharehistory on overstrike off kshautoload off incappendhistory off appendcreate off promptcr on mailwarn off pushdignoredups on interactive on ignoreeof off globsubst off rematchpcre off monitor on histsavebycopy on histbeep on debugbeforecmd on magicequalsubst off rmstarsilent off posixjobs off hashcmds on posixtraps off extendedhistory on notify on kshoptionprint off histexpiredupsfirst on glob on posixcd off braceccl off badpattern on longlistjobs on banghist on dvorak off alwaystoend on hashall on warnnestedvar off globalexport on ksharrays off correct off cdsilent off autonamedirs off histexpand on typesetsilent off rmstarwait off histnofunctions off autoparamslash on trapsasync off sunkeyboardhack off promptsp on histsavenodups off autocd on allexport off posixidentifiers off cshjunkiehistory off autopushd on completeinword on completealiases off aliases on autocontinue off appendhistory on aliasfuncdef off singlelinezle off hashlistall on ignoreclosebraces off recexact off localoptions off interactivecomments on errexit off cshjunkiequotes off markdirs off hashdirs on cdablevars off rcexpandparam off vi off printeightbit off multifuncdef on xtrace on login off cshjunkieloops off histappend on histignorespace on evallineno on shfileexpansion off rcs on functionargzero on errreturn off combiningchars off histignoredups on histfcntllock off beep on autoremoveslash on hup on globdots off checkrunningjobs on autoparamkeys on shnullcmd off multibyte on zle on promptpercent on flowcontrol off continueonerror off incappendhistorytime off autoresume off globassign off caseglob on shortloops on bsdecho off cprecedences off log on transientrprompt off verbose on localpatterns off ignorebraces off pipefail off equals on menucomplete off cshnullglob off casematch on promptvars on histallowclobber off bareglobqual on shinstdin off restricted off pushdminus on nullglob off chasedots off mailwarning off listambiguous on cshnullcmd off bashrematch off octalzeroes off forcefloat off exec on multios on emacs off nomatch on pathscript off localtraps off stdin off onecmd off kshglob off clobber on posixbuiltins off alwayslastprompt on pushdtohome off histignorealldups off hashexecutablesonly off pushdsilent off shoptionletters off physical off sourcetrace off histlexwords off bgnice on globalrcs on posixstrings off checkjobs on shglob off singlecommand off listrowsfirst off ) | |
+/home/h/.fzf/shell/key-bindings.zsh:113> unset __fzf_key_bindings_options | |
export FZF_DEFAULT_COMMAND='fdfind --type f' | |
+/home/h/.zshrc:116> export FZF_DEFAULT_COMMAND='fdfind --type f' | |
export FZF_DEFAULT_OPTS="--layout=reverse --inline-info --height=80%" | |
+/home/h/.zshrc:117> export FZF_DEFAULT_OPTS='--layout=reverse --inline-info --height=80%' | |
if [ -e /home/h/.nix-profile/etc/profile.d/nix.sh ]; then . /home/h/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer | |
+/home/h/.zshrc:119> [ -e /home/h/.nix-profile/etc/profile.d/nix.sh ']' | |
+/home/h/.zshrc:119> . /home/h/.nix-profile/etc/profile.d/nix.sh | |
if [ -n "$HOME" ] && [ -n "$USER" ]; then | |
# Set up the per-user profile. | |
# This part should be kept in sync with nixpkgs:nixos/modules/programs/shell.nix | |
NIX_LINK=$HOME/.nix-profile | |
# Append ~/.nix-defexpr/channels to $NIX_PATH so that <nixpkgs> | |
# paths work when the user has fetched the Nixpkgs channel. | |
export NIX_PATH=${NIX_PATH:+$NIX_PATH:}$HOME/.nix-defexpr/channels | |
# Set up environment. | |
# This part should be kept in sync with nixpkgs:nixos/modules/programs/environment.nix | |
export NIX_PROFILES="/nix/var/nix/profiles/default $HOME/.nix-profile" | |
# Set $NIX_SSL_CERT_FILE so that Nixpkgs applications like curl work. | |
if [ -e /etc/ssl/certs/ca-certificates.crt ]; then # NixOS, Ubuntu, Debian, Gentoo, Arch | |
export NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt | |
elif [ -e /etc/ssl/ca-bundle.pem ]; then # openSUSE Tumbleweed | |
export NIX_SSL_CERT_FILE=/etc/ssl/ca-bundle.pem | |
elif [ -e /etc/ssl/certs/ca-bundle.crt ]; then # Old NixOS | |
export NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt | |
elif [ -e /etc/pki/tls/certs/ca-bundle.crt ]; then # Fedora, CentOS | |
export NIX_SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt | |
elif [ -e "$NIX_LINK/etc/ssl/certs/ca-bundle.crt" ]; then # fall back to cacert in Nix profile | |
export NIX_SSL_CERT_FILE="$NIX_LINK/etc/ssl/certs/ca-bundle.crt" | |
elif [ -e "$NIX_LINK/etc/ca-bundle.crt" ]; then # old cacert in Nix profile | |
export NIX_SSL_CERT_FILE="$NIX_LINK/etc/ca-bundle.crt" | |
fi | |
if [ -n "${MANPATH-}" ]; then | |
export MANPATH="$NIX_LINK/share/man:$MANPATH" | |
fi | |
export PATH="$NIX_LINK/bin:$PATH" | |
unset NIX_LINK | |
fi | |
+/home/h/.nix-profile/etc/profile.d/nix.sh:1> [ -n /home/h ']' | |
+/home/h/.nix-profile/etc/profile.d/nix.sh:1> [ -n h ']' | |
+/home/h/.nix-profile/etc/profile.d/nix.sh:6> NIX_LINK=/home/h/.nix-profile | |
+/home/h/.nix-profile/etc/profile.d/nix.sh:11> export NIX_PATH=/home/h/.nix-defexpr/channels:/home/h/.nix-defexpr/channels:/home/h/.nix-defexpr/channels | |
+/home/h/.nix-profile/etc/profile.d/nix.sh:15> export NIX_PROFILES='/nix/var/nix/profiles/default /home/h/.nix-profile' | |
+/home/h/.nix-profile/etc/profile.d/nix.sh:18> [ -e /etc/ssl/certs/ca-certificates.crt ']' | |
+/home/h/.nix-profile/etc/profile.d/nix.sh:19> export NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt | |
+/home/h/.nix-profile/etc/profile.d/nix.sh:32> [ -n '' ']' | |
+/home/h/.nix-profile/etc/profile.d/nix.sh:36> export PATH=/home/h/.nix-profile/bin:/home/h/.nix-profile/bin:/home/h/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/h/.fzf/bin | |
+/home/h/.nix-profile/etc/profile.d/nix.sh:37> unset NIX_LINK | |
[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh # This loads NVM | |
+/home/h/.zshrc:121> [[ -s /home/h/.nvm/nvm.sh ]] | |
+/home/h/.zshrc:121> . /home/h/.nvm/nvm.sh | |
# Node Version Manager | |
# Implemented as a POSIX-compliant function | |
# Should work on sh, dash, bash, ksh, zsh | |
# To use source this file from your bash profile | |
# | |
# Implemented by Tim Caswell <[email protected]> | |
# with much bash help from Matthew Ranney | |
# "local" warning, quote expansion warning | |
# shellcheck disable=SC2039,SC2016,SC2001 | |
{ # this ensures the entire script is downloaded # | |
NVM_SCRIPT_SOURCE="$_" | |
nvm_is_zsh() { | |
[ -n "${ZSH_VERSION-}" ] | |
} | |
nvm_stdout_is_terminal() { | |
[ -t 1 ] | |
} | |
nvm_echo() { | |
command printf %s\\n "$*" 2>/dev/null | |
} | |
nvm_cd() { | |
\cd "$@" | |
} | |
nvm_err() { | |
>&2 nvm_echo "$@" | |
} | |
nvm_grep() { | |
GREP_OPTIONS='' command grep "$@" | |
} | |
nvm_has() { | |
type "${1-}" >/dev/null 2>&1 | |
} | |
nvm_has_non_aliased() { | |
nvm_has "${1-}" && ! nvm_is_alias "${1-}" | |
} | |
nvm_is_alias() { | |
# this is intentionally not "command alias" so it works in zsh. | |
\alias "${1-}" >/dev/null 2>&1 | |
} | |
nvm_command_info() { | |
local COMMAND | |
local INFO | |
COMMAND="${1}" | |
if type "${COMMAND}" | nvm_grep -q hashed; then | |
INFO="$(type "${COMMAND}" | command sed -E 's/\(|\)//g' | command awk '{print $4}')" | |
elif type "${COMMAND}" | nvm_grep -q aliased; then | |
# shellcheck disable=SC2230 | |
INFO="$(which "${COMMAND}") ($(type "${COMMAND}" | command awk '{ $1=$2=$3=$4="" ;print }' | command sed -e 's/^\ *//g' -Ee "s/\`|'//g"))" | |
elif type "${COMMAND}" | nvm_grep -q "^${COMMAND} is an alias for"; then | |
# shellcheck disable=SC2230 | |
INFO="$(which "${COMMAND}") ($(type "${COMMAND}" | command awk '{ $1=$2=$3=$4=$5="" ;print }' | command sed 's/^\ *//g'))" | |
elif type "${COMMAND}" | nvm_grep -q "^${COMMAND} is \\/"; then | |
INFO="$(type "${COMMAND}" | command awk '{print $3}')" | |
else | |
INFO="$(type "${COMMAND}")" | |
fi | |
nvm_echo "${INFO}" | |
} | |
nvm_has_colors() { | |
local NVM_COLORS | |
if nvm_has tput; then | |
NVM_COLORS="$(tput -T "${TERM:-vt100}" colors)" | |
fi | |
[ "${NVM_COLORS:--1}" -ge 8 ] | |
} | |
nvm_curl_libz_support() { | |
curl -V 2>/dev/null | nvm_grep "^Features:" | nvm_grep -q "libz" | |
} | |
nvm_curl_use_compression() { | |
nvm_curl_libz_support && nvm_version_greater_than_or_equal_to "$(nvm_curl_version)" 7.21.0 | |
} | |
nvm_get_latest() { | |
local NVM_LATEST_URL | |
local CURL_COMPRESSED_FLAG | |
if nvm_has "curl"; then | |
if nvm_curl_use_compression; then | |
CURL_COMPRESSED_FLAG="--compressed" | |
fi | |
NVM_LATEST_URL="$(curl ${CURL_COMPRESSED_FLAG:-} -q -w "%{url_effective}\\n" -L -s -S http://latest.nvm.sh -o /dev/null)" | |
elif nvm_has "wget"; then | |
NVM_LATEST_URL="$(wget -q http://latest.nvm.sh --server-response -O /dev/null 2>&1 | command awk '/^ Location: /{DEST=$2} END{ print DEST }')" | |
else | |
nvm_err 'nvm needs curl or wget to proceed.' | |
return 1 | |
fi | |
if [ -z "${NVM_LATEST_URL}" ]; then | |
nvm_err "http://latest.nvm.sh did not redirect to the latest release on GitHub" | |
return 2 | |
fi | |
nvm_echo "${NVM_LATEST_URL##*/}" | |
} | |
nvm_download() { | |
local CURL_COMPRESSED_FLAG | |
if nvm_has "curl"; then | |
if nvm_curl_use_compression; then | |
CURL_COMPRESSED_FLAG="--compressed" | |
fi | |
curl --fail ${CURL_COMPRESSED_FLAG:-} -q "$@" | |
elif nvm_has "wget"; then | |
# Emulate curl with wget | |
ARGS=$(nvm_echo "$@" | command sed -e 's/--progress-bar /--progress=bar /' \ | |
-e 's/--compressed //' \ | |
-e 's/--fail //' \ | |
-e 's/-L //' \ | |
-e 's/-I /--server-response /' \ | |
-e 's/-s /-q /' \ | |
-e 's/-sS /-nv /' \ | |
-e 's/-o /-O /' \ | |
-e 's/-C - /-c /') | |
# shellcheck disable=SC2086 | |
eval wget $ARGS | |
fi | |
} | |
nvm_has_system_node() { | |
[ "$(nvm deactivate >/dev/null 2>&1 && command -v node)" != '' ] | |
} | |
nvm_has_system_iojs() { | |
[ "$(nvm deactivate >/dev/null 2>&1 && command -v iojs)" != '' ] | |
} | |
nvm_is_version_installed() { | |
[ -n "${1-}" ] && [ -x "$(nvm_version_path "$1" 2>/dev/null)"/bin/node ] | |
} | |
nvm_print_npm_version() { | |
if nvm_has "npm"; then | |
command printf " (npm v$(npm --version 2>/dev/null))" | |
fi | |
} | |
nvm_install_latest_npm() { | |
nvm_echo 'Attempting to upgrade to the latest working version of npm...' | |
local NODE_VERSION | |
NODE_VERSION="$(nvm_strip_iojs_prefix "$(nvm_ls_current)")" | |
if [ "${NODE_VERSION}" = 'system' ]; then | |
NODE_VERSION="$(node --version)" | |
elif [ "${NODE_VERSION}" = 'none' ]; then | |
nvm_echo "Detected node version ${NODE_VERSION}, npm version v${NPM_VERSION}" | |
NODE_VERSION='' | |
fi | |
if [ -z "${NODE_VERSION}" ]; then | |
nvm_err 'Unable to obtain node version.' | |
return 1 | |
fi | |
local NPM_VERSION | |
NPM_VERSION="$(npm --version 2>/dev/null)" | |
if [ -z "${NPM_VERSION}" ]; then | |
nvm_err 'Unable to obtain npm version.' | |
return 2 | |
fi | |
local NVM_NPM_CMD | |
NVM_NPM_CMD='npm' | |
if [ "${NVM_DEBUG-}" = 1 ]; then | |
nvm_echo "Detected node version ${NODE_VERSION}, npm version v${NPM_VERSION}" | |
NVM_NPM_CMD='nvm_echo npm' | |
fi | |
local NVM_IS_0_6 | |
NVM_IS_0_6=0 | |
if nvm_version_greater_than_or_equal_to "${NODE_VERSION}" 0.6.0 && nvm_version_greater 0.7.0 "${NODE_VERSION}"; then | |
NVM_IS_0_6=1 | |
fi | |
local NVM_IS_0_9 | |
NVM_IS_0_9=0 | |
if nvm_version_greater_than_or_equal_to "${NODE_VERSION}" 0.9.0 && nvm_version_greater 0.10.0 "${NODE_VERSION}"; then | |
NVM_IS_0_9=1 | |
fi | |
if [ $NVM_IS_0_6 -eq 1 ]; then | |
nvm_echo '* `node` v0.6.x can only upgrade to `npm` v1.3.x' | |
$NVM_NPM_CMD install -g [email protected] | |
elif [ $NVM_IS_0_9 -eq 0 ]; then | |
# node 0.9 breaks here, for some reason | |
if nvm_version_greater_than_or_equal_to "${NPM_VERSION}" 1.0.0 && nvm_version_greater 2.0.0 "${NPM_VERSION}"; then | |
nvm_echo '* `npm` v1.x needs to first jump to `npm` v1.4.28 to be able to upgrade further' | |
$NVM_NPM_CMD install -g [email protected] | |
elif nvm_version_greater_than_or_equal_to "${NPM_VERSION}" 2.0.0 && nvm_version_greater 3.0.0 "${NPM_VERSION}"; then | |
nvm_echo '* `npm` v2.x needs to first jump to the latest v2 to be able to upgrade further' | |
$NVM_NPM_CMD install -g npm@2 | |
fi | |
fi | |
if [ $NVM_IS_0_9 -eq 1 ] || [ $NVM_IS_0_6 -eq 1 ]; then | |
nvm_echo '* node v0.6 and v0.9 are unable to upgrade further' | |
elif nvm_version_greater 1.1.0 "${NODE_VERSION}"; then | |
nvm_echo '* `npm` v4.5.x is the last version that works on `node` versions < v1.1.0' | |
$NVM_NPM_CMD install -g [email protected] | |
elif nvm_version_greater 4.0.0 "${NODE_VERSION}"; then | |
nvm_echo '* `npm` v5 and higher do not work on `node` versions below v4.0.0' | |
$NVM_NPM_CMD install -g npm@4 | |
elif [ $NVM_IS_0_9 -eq 0 ] && [ $NVM_IS_0_6 -eq 0 ]; then | |
local NVM_IS_4_4_OR_BELOW | |
NVM_IS_4_4_OR_BELOW=0 | |
if nvm_version_greater 4.5.0 "${NODE_VERSION}"; then | |
NVM_IS_4_4_OR_BELOW=1 | |
fi | |
local NVM_IS_5_OR_ABOVE | |
NVM_IS_5_OR_ABOVE=0 | |
if [ $NVM_IS_4_4_OR_BELOW -eq 0 ] && nvm_version_greater_than_or_equal_to "${NODE_VERSION}" 5.0.0; then | |
NVM_IS_5_OR_ABOVE=1 | |
fi | |
local NVM_IS_6_OR_ABOVE | |
NVM_IS_6_OR_ABOVE=0 | |
local NVM_IS_6_2_OR_ABOVE | |
NVM_IS_6_2_OR_ABOVE=0 | |
if [ $NVM_IS_5_OR_ABOVE -eq 1 ] && nvm_version_greater_than_or_equal_to "${NODE_VERSION}" 6.0.0; then | |
NVM_IS_6_OR_ABOVE=1 | |
if nvm_version_greater_than_or_equal_to "${NODE_VERSION}" 6.2.0; then | |
NVM_IS_6_2_OR_ABOVE=1 | |
fi | |
fi | |
local NVM_IS_9_OR_ABOVE | |
NVM_IS_9_OR_ABOVE=0 | |
local NVM_IS_9_3_OR_ABOVE | |
NVM_IS_9_3_OR_ABOVE=0 | |
if [ $NVM_IS_6_2_OR_ABOVE -eq 1 ] && nvm_version_greater_than_or_equal_to "${NODE_VERSION}" 9.0.0; then | |
NVM_IS_9_OR_ABOVE=1 | |
if nvm_version_greater_than_or_equal_to "${NODE_VERSION}" 9.3.0; then | |
NVM_IS_9_3_OR_ABOVE=1 | |
fi | |
fi | |
if [ $NVM_IS_4_4_OR_BELOW -eq 1 ] || { | |
[ $NVM_IS_5_OR_ABOVE -eq 1 ] && nvm_version_greater 5.10.0 "${NODE_VERSION}"; \ | |
}; then | |
nvm_echo '* `npm` `v5.3.x` is the last version that works on `node` 4.x versions below v4.4, or 5.x versions below v5.10, due to `Buffer.alloc`' | |
$NVM_NPM_CMD install -g [email protected] | |
elif [ $NVM_IS_4_4_OR_BELOW -eq 0 ] && nvm_version_greater 4.7.0 "${NODE_VERSION}"; then | |
nvm_echo '* `npm` `v5.4.1` is the last version that works on `node` `v4.5` and `v4.6`' | |
$NVM_NPM_CMD install -g [email protected] | |
elif [ $NVM_IS_6_OR_ABOVE -eq 0 ]; then | |
nvm_echo '* `npm` `v5.x` is the last version that works on `node` below `v6.0.0`' | |
$NVM_NPM_CMD install -g npm@5 | |
elif \ | |
{ [ $NVM_IS_6_OR_ABOVE -eq 1 ] && [ $NVM_IS_6_2_OR_ABOVE -eq 0 ]; } \ | |
|| { [ $NVM_IS_9_OR_ABOVE -eq 1 ] && [ $NVM_IS_9_3_OR_ABOVE -eq 0 ]; } \ | |
; then | |
nvm_echo '* `npm` `v6.9` is the last version that works on `node` `v6.0.x`, `v6.1.x`, `v9.0.x`, `v9.1.x`, or `v9.2.x`' | |
$NVM_NPM_CMD install -g [email protected] | |
else | |
nvm_echo '* Installing latest `npm`; if this does not work on your node version, please report a bug!' | |
$NVM_NPM_CMD install -g npm | |
fi | |
fi | |
nvm_echo "* npm upgraded to: v$(npm --version 2>/dev/null)" | |
} | |
# Make zsh glob matching behave same as bash | |
# This fixes the "zsh: no matches found" errors | |
if [ -z "${NVM_CD_FLAGS-}" ]; then | |
export NVM_CD_FLAGS='' | |
fi | |
if nvm_is_zsh; then | |
NVM_CD_FLAGS="-q" | |
fi | |
# Auto detect the NVM_DIR when not set | |
if [ -z "${NVM_DIR-}" ]; then | |
# shellcheck disable=SC2128 | |
if [ -n "${BASH_SOURCE-}" ]; then | |
# shellcheck disable=SC2169 | |
NVM_SCRIPT_SOURCE="${BASH_SOURCE[0]}" | |
fi | |
NVM_DIR="$(nvm_cd ${NVM_CD_FLAGS} "$(dirname "${NVM_SCRIPT_SOURCE:-$0}")" >/dev/null && \pwd)" | |
export NVM_DIR | |
else | |
# https://unix.stackexchange.com/a/198289 | |
case $NVM_DIR in | |
*[!/]*/) | |
NVM_DIR="${NVM_DIR%"${NVM_DIR##*[!/]}"}" | |
export NVM_DIR | |
nvm_err "Warning: \$NVM_DIR should not have trailing slashes" | |
;; | |
esac | |
fi | |
unset NVM_SCRIPT_SOURCE 2>/dev/null | |
nvm_tree_contains_path() { | |
local tree | |
tree="${1-}" | |
local node_path | |
node_path="${2-}" | |
if [ "@${tree}@" = "@@" ] || [ "@${node_path}@" = "@@" ]; then | |
nvm_err "both the tree and the node path are required" | |
return 2 | |
fi | |
local pathdir | |
pathdir=$(dirname "${node_path}") | |
while [ "${pathdir}" != "" ] && [ "${pathdir}" != "." ] && [ "${pathdir}" != "/" ] && [ "${pathdir}" != "${tree}" ]; do | |
pathdir=$(dirname "${pathdir}") | |
done | |
[ "${pathdir}" = "${tree}" ] | |
} | |
# Traverse up in directory tree to find containing folder | |
nvm_find_up() { | |
local path_ | |
path_="${PWD}" | |
while [ "${path_}" != "" ] && [ ! -f "${path_}/${1-}" ]; do | |
path_=${path_%/*} | |
done | |
nvm_echo "${path_}" | |
} | |
nvm_find_nvmrc() { | |
local dir | |
dir="$(nvm_find_up '.nvmrc')" | |
if [ -e "${dir}/.nvmrc" ]; then | |
nvm_echo "${dir}/.nvmrc" | |
fi | |
} | |
# Obtain nvm version from rc file | |
nvm_rc_version() { | |
export NVM_RC_VERSION='' | |
local NVMRC_PATH | |
NVMRC_PATH="$(nvm_find_nvmrc)" | |
if [ ! -e "${NVMRC_PATH}" ]; then | |
nvm_err "No .nvmrc file found" | |
return 1 | |
fi | |
NVM_RC_VERSION="$(command head -n 1 "${NVMRC_PATH}" | command tr -d '\r')" || command printf '' | |
if [ -z "${NVM_RC_VERSION}" ]; then | |
nvm_err "Warning: empty .nvmrc file found at \"${NVMRC_PATH}\"" | |
return 2 | |
fi | |
nvm_echo "Found '${NVMRC_PATH}' with version <${NVM_RC_VERSION}>" | |
} | |
nvm_clang_version() { | |
clang --version | command awk '{ if ($2 == "version") print $3; else if ($3 == "version") print $4 }' | command sed 's/-.*$//g' | |
} | |
nvm_curl_version() { | |
curl -V | command awk '{ if ($1 == "curl") print $2 }' | command sed 's/-.*$//g' | |
} | |
nvm_version_greater() { | |
command awk 'BEGIN { | |
if (ARGV[1] == "" || ARGV[2] == "") exit(1) | |
split(ARGV[1], a, /\./); | |
split(ARGV[2], b, /\./); | |
for (i=1; i<=3; i++) { | |
if (a[i] && a[i] !~ /^[0-9]+$/) exit(2); | |
if (b[i] && b[i] !~ /^[0-9]+$/) { exit(0); } | |
if (a[i] < b[i]) exit(3); | |
else if (a[i] > b[i]) exit(0); | |
} | |
exit(4) | |
}' "${1#v}" "${2#v}" | |
} | |
nvm_version_greater_than_or_equal_to() { | |
command awk 'BEGIN { | |
if (ARGV[1] == "" || ARGV[2] == "") exit(1) | |
split(ARGV[1], a, /\./); | |
split(ARGV[2], b, /\./); | |
for (i=1; i<=3; i++) { | |
if (a[i] && a[i] !~ /^[0-9]+$/) exit(2); | |
if (a[i] < b[i]) exit(3); | |
else if (a[i] > b[i]) exit(0); | |
} | |
exit(0) | |
}' "${1#v}" "${2#v}" | |
} | |
nvm_version_dir() { | |
local NVM_WHICH_DIR | |
NVM_WHICH_DIR="${1-}" | |
if [ -z "${NVM_WHICH_DIR}" ] || [ "${NVM_WHICH_DIR}" = "new" ]; then | |
nvm_echo "${NVM_DIR}/versions/node" | |
elif [ "_${NVM_WHICH_DIR}" = "_iojs" ]; then | |
nvm_echo "${NVM_DIR}/versions/io.js" | |
elif [ "_${NVM_WHICH_DIR}" = "_old" ]; then | |
nvm_echo "${NVM_DIR}" | |
else | |
nvm_err 'unknown version dir' | |
return 3 | |
fi | |
} | |
nvm_alias_path() { | |
nvm_echo "$(nvm_version_dir old)/alias" | |
} | |
nvm_version_path() { | |
local VERSION | |
VERSION="${1-}" | |
if [ -z "${VERSION}" ]; then | |
nvm_err 'version is required' | |
return 3 | |
elif nvm_is_iojs_version "${VERSION}"; then | |
nvm_echo "$(nvm_version_dir iojs)/$(nvm_strip_iojs_prefix "${VERSION}")" | |
elif nvm_version_greater 0.12.0 "${VERSION}"; then | |
nvm_echo "$(nvm_version_dir old)/${VERSION}" | |
else | |
nvm_echo "$(nvm_version_dir new)/${VERSION}" | |
fi | |
} | |
nvm_ensure_version_installed() { | |
local PROVIDED_VERSION | |
PROVIDED_VERSION="${1-}" | |
if [ "${PROVIDED_VERSION}" = 'system' ]; then | |
if nvm_has_system_iojs || nvm_has_system_node; then | |
return 0 | |
fi | |
nvm_err "N/A: no system version of node/io.js is installed." | |
return 1 | |
fi | |
local LOCAL_VERSION | |
local EXIT_CODE | |
LOCAL_VERSION="$(nvm_version "${PROVIDED_VERSION}")" | |
EXIT_CODE="$?" | |
local NVM_VERSION_DIR | |
if [ "${EXIT_CODE}" != "0" ] || ! nvm_is_version_installed "${LOCAL_VERSION}"; then | |
if VERSION="$(nvm_resolve_alias "${PROVIDED_VERSION}")"; then | |
nvm_err "N/A: version \"${PROVIDED_VERSION} -> ${VERSION}\" is not yet installed." | |
else | |
local PREFIXED_VERSION | |
PREFIXED_VERSION="$(nvm_ensure_version_prefix "${PROVIDED_VERSION}")" | |
nvm_err "N/A: version \"${PREFIXED_VERSION:-$PROVIDED_VERSION}\" is not yet installed." | |
fi | |
nvm_err "" | |
nvm_err "You need to run \"nvm install ${PROVIDED_VERSION}\" to install it before using it." | |
return 1 | |
fi | |
} | |
# Expand a version using the version cache | |
nvm_version() { | |
local PATTERN | |
PATTERN="${1-}" | |
local VERSION | |
# The default version is the current one | |
if [ -z "${PATTERN}" ]; then | |
PATTERN='current' | |
fi | |
if [ "${PATTERN}" = "current" ]; then | |
nvm_ls_current | |
return $? | |
fi | |
local NVM_NODE_PREFIX | |
NVM_NODE_PREFIX="$(nvm_node_prefix)" | |
case "_${PATTERN}" in | |
"_${NVM_NODE_PREFIX}" | "_${NVM_NODE_PREFIX}-") | |
PATTERN="stable" | |
;; | |
esac | |
VERSION="$(nvm_ls "${PATTERN}" | command tail -1)" | |
if [ -z "${VERSION}" ] || [ "_${VERSION}" = "_N/A" ]; then | |
nvm_echo "N/A" | |
return 3 | |
fi | |
nvm_echo "${VERSION}" | |
} | |
nvm_remote_version() { | |
local PATTERN | |
PATTERN="${1-}" | |
local VERSION | |
if nvm_validate_implicit_alias "${PATTERN}" 2>/dev/null; then | |
case "${PATTERN}" in | |
"$(nvm_iojs_prefix)") | |
VERSION="$(NVM_LTS="${NVM_LTS-}" nvm_ls_remote_iojs | command tail -1)" &&: | |
;; | |
*) | |
VERSION="$(NVM_LTS="${NVM_LTS-}" nvm_ls_remote "${PATTERN}")" &&: | |
;; | |
esac | |
else | |
VERSION="$(NVM_LTS="${NVM_LTS-}" nvm_remote_versions "${PATTERN}" | command tail -1)" | |
fi | |
if [ -n "${NVM_VERSION_ONLY-}" ]; then | |
command awk 'BEGIN { | |
n = split(ARGV[1], a); | |
print a[1] | |
}' "${VERSION}" | |
else | |
nvm_echo "${VERSION}" | |
fi | |
if [ "${VERSION}" = 'N/A' ]; then | |
return 3 | |
fi | |
} | |
nvm_remote_versions() { | |
local NVM_IOJS_PREFIX | |
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)" | |
local NVM_NODE_PREFIX | |
NVM_NODE_PREFIX="$(nvm_node_prefix)" | |
local PATTERN | |
PATTERN="${1-}" | |
local NVM_FLAVOR | |
if [ -n "${NVM_LTS-}" ]; then | |
NVM_FLAVOR="${NVM_NODE_PREFIX}" | |
fi | |
case "${PATTERN}" in | |
"${NVM_IOJS_PREFIX}" | "io.js") | |
NVM_FLAVOR="${NVM_IOJS_PREFIX}" | |
unset PATTERN | |
;; | |
"${NVM_NODE_PREFIX}") | |
NVM_FLAVOR="${NVM_NODE_PREFIX}" | |
unset PATTERN | |
;; | |
esac | |
if nvm_validate_implicit_alias "${PATTERN-}" 2>/dev/null; then | |
nvm_err 'Implicit aliases are not supported in nvm_remote_versions.' | |
return 1 | |
fi | |
local NVM_LS_REMOTE_EXIT_CODE | |
NVM_LS_REMOTE_EXIT_CODE=0 | |
local NVM_LS_REMOTE_PRE_MERGED_OUTPUT | |
NVM_LS_REMOTE_PRE_MERGED_OUTPUT='' | |
local NVM_LS_REMOTE_POST_MERGED_OUTPUT | |
NVM_LS_REMOTE_POST_MERGED_OUTPUT='' | |
if [ -z "${NVM_FLAVOR-}" ] || [ "${NVM_FLAVOR-}" = "${NVM_NODE_PREFIX}" ]; then | |
local NVM_LS_REMOTE_OUTPUT | |
NVM_LS_REMOTE_OUTPUT=$(NVM_LTS="${NVM_LTS-}" nvm_ls_remote "${PATTERN-}") &&: | |
NVM_LS_REMOTE_EXIT_CODE=$? | |
# split output into two | |
NVM_LS_REMOTE_PRE_MERGED_OUTPUT="${NVM_LS_REMOTE_OUTPUT%%v4\.0\.0*}" | |
NVM_LS_REMOTE_POST_MERGED_OUTPUT="${NVM_LS_REMOTE_OUTPUT#$NVM_LS_REMOTE_PRE_MERGED_OUTPUT}" | |
fi | |
local NVM_LS_REMOTE_IOJS_EXIT_CODE | |
NVM_LS_REMOTE_IOJS_EXIT_CODE=0 | |
local NVM_LS_REMOTE_IOJS_OUTPUT | |
NVM_LS_REMOTE_IOJS_OUTPUT='' | |
if [ -z "${NVM_LTS-}" ] && { | |
[ -z "${NVM_FLAVOR-}" ] || [ "${NVM_FLAVOR-}" = "${NVM_IOJS_PREFIX}" ]; | |
}; then | |
NVM_LS_REMOTE_IOJS_OUTPUT=$(nvm_ls_remote_iojs "${PATTERN-}") &&: | |
NVM_LS_REMOTE_IOJS_EXIT_CODE=$? | |
fi | |
VERSIONS="$(nvm_echo "${NVM_LS_REMOTE_PRE_MERGED_OUTPUT} | |
${NVM_LS_REMOTE_IOJS_OUTPUT} | |
${NVM_LS_REMOTE_POST_MERGED_OUTPUT}" | nvm_grep -v "N/A" | command sed '/^$/d')" | |
if [ -z "${VERSIONS}" ]; then | |
nvm_echo 'N/A' | |
return 3 | |
fi | |
nvm_echo "${VERSIONS}" | |
return $NVM_LS_REMOTE_EXIT_CODE || $NVM_LS_REMOTE_IOJS_EXIT_CODE | |
} | |
nvm_is_valid_version() { | |
if nvm_validate_implicit_alias "${1-}" 2>/dev/null; then | |
return 0 | |
fi | |
case "${1-}" in | |
"$(nvm_iojs_prefix)" | \ | |
"$(nvm_node_prefix)") | |
return 0 | |
;; | |
*) | |
local VERSION | |
VERSION="$(nvm_strip_iojs_prefix "${1-}")" | |
nvm_version_greater_than_or_equal_to "${VERSION}" 0 | |
;; | |
esac | |
} | |
nvm_normalize_version() { | |
command awk 'BEGIN { | |
split(ARGV[1], a, /\./); | |
printf "%d%06d%06d\n", a[1], a[2], a[3]; | |
exit; | |
}' "${1#v}" | |
} | |
nvm_ensure_version_prefix() { | |
local NVM_VERSION | |
NVM_VERSION="$(nvm_strip_iojs_prefix "${1-}" | command sed -e 's/^\([0-9]\)/v\1/g')" | |
if nvm_is_iojs_version "${1-}"; then | |
nvm_add_iojs_prefix "${NVM_VERSION}" | |
else | |
nvm_echo "${NVM_VERSION}" | |
fi | |
} | |
nvm_format_version() { | |
local VERSION | |
VERSION="$(nvm_ensure_version_prefix "${1-}")" | |
local NUM_GROUPS | |
NUM_GROUPS="$(nvm_num_version_groups "${VERSION}")" | |
if [ "${NUM_GROUPS}" -lt 3 ]; then | |
nvm_format_version "${VERSION%.}.0" | |
else | |
nvm_echo "${VERSION}" | command cut -f1-3 -d. | |
fi | |
} | |
nvm_num_version_groups() { | |
local VERSION | |
VERSION="${1-}" | |
VERSION="${VERSION#v}" | |
VERSION="${VERSION%.}" | |
if [ -z "${VERSION}" ]; then | |
nvm_echo "0" | |
return | |
fi | |
local NVM_NUM_DOTS | |
NVM_NUM_DOTS=$(nvm_echo "${VERSION}" | command sed -e 's/[^\.]//g') | |
local NVM_NUM_GROUPS | |
NVM_NUM_GROUPS=".${NVM_NUM_DOTS}" # add extra dot, since it's (n - 1) dots at this point | |
nvm_echo "${#NVM_NUM_GROUPS}" | |
} | |
nvm_strip_path() { | |
if [ -z "${NVM_DIR-}" ]; then | |
nvm_err '${NVM_DIR} not set!' | |
return 1 | |
fi | |
nvm_echo "${1-}" | command sed \ | |
-e "s#${NVM_DIR}/[^/]*${2-}[^:]*:##g" \ | |
-e "s#:${NVM_DIR}/[^/]*${2-}[^:]*##g" \ | |
-e "s#${NVM_DIR}/[^/]*${2-}[^:]*##g" \ | |
-e "s#${NVM_DIR}/versions/[^/]*/[^/]*${2-}[^:]*:##g" \ | |
-e "s#:${NVM_DIR}/versions/[^/]*/[^/]*${2-}[^:]*##g" \ | |
-e "s#${NVM_DIR}/versions/[^/]*/[^/]*${2-}[^:]*##g" | |
} | |
nvm_change_path() { | |
# if there’s no initial path, just return the supplementary path | |
if [ -z "${1-}" ]; then | |
nvm_echo "${3-}${2-}" | |
# if the initial path doesn’t contain an nvm path, prepend the supplementary | |
# path | |
elif ! nvm_echo "${1-}" | nvm_grep -q "${NVM_DIR}/[^/]*${2-}" \ | |
&& ! nvm_echo "${1-}" | nvm_grep -q "${NVM_DIR}/versions/[^/]*/[^/]*${2-}"; then | |
nvm_echo "${3-}${2-}:${1-}" | |
# if the initial path contains BOTH an nvm path (checked for above) and | |
# that nvm path is preceded by a system binary path, just prepend the | |
# supplementary path instead of replacing it. | |
# https://github.com/nvm-sh/nvm/issues/1652#issuecomment-342571223 | |
elif nvm_echo "${1-}" | nvm_grep -Eq "(^|:)(/usr(/local)?)?${2-}:.*${NVM_DIR}/[^/]*${2-}" \ | |
|| nvm_echo "${1-}" | nvm_grep -Eq "(^|:)(/usr(/local)?)?${2-}:.*${NVM_DIR}/versions/[^/]*/[^/]*${2-}"; then | |
nvm_echo "${3-}${2-}:${1-}" | |
# use sed to replace the existing nvm path with the supplementary path. This | |
# preserves the order of the path. | |
else | |
nvm_echo "${1-}" | command sed \ | |
-e "s#${NVM_DIR}/[^/]*${2-}[^:]*#${3-}${2-}#" \ | |
-e "s#${NVM_DIR}/versions/[^/]*/[^/]*${2-}[^:]*#${3-}${2-}#" | |
fi | |
} | |
nvm_binary_available() { | |
# binaries started with node 0.8.6 | |
nvm_version_greater_than_or_equal_to "$(nvm_strip_iojs_prefix "${1-}")" v0.8.6 | |
} | |
nvm_print_formatted_alias() { | |
local ALIAS | |
ALIAS="${1-}" | |
local DEST | |
DEST="${2-}" | |
local VERSION | |
VERSION="${3-}" | |
if [ -z "${VERSION}" ]; then | |
VERSION="$(nvm_version "${DEST}")" ||: | |
fi | |
local VERSION_FORMAT | |
local ALIAS_FORMAT | |
local DEST_FORMAT | |
ALIAS_FORMAT='%s' | |
DEST_FORMAT='%s' | |
VERSION_FORMAT='%s' | |
local NEWLINE | |
NEWLINE='\n' | |
if [ "_${DEFAULT}" = '_true' ]; then | |
NEWLINE=' (default)\n' | |
fi | |
local ARROW | |
ARROW='->' | |
if [ -z "${NVM_NO_COLORS}" ] && nvm_has_colors; then | |
ARROW='\033[0;90m->\033[0m' | |
if [ "_${DEFAULT}" = '_true' ]; then | |
NEWLINE=' \033[0;37m(default)\033[0m\n' | |
fi | |
if [ "_${VERSION}" = "_${NVM_CURRENT-}" ]; then | |
ALIAS_FORMAT='\033[0;32m%s\033[0m' | |
DEST_FORMAT='\033[0;32m%s\033[0m' | |
VERSION_FORMAT='\033[0;32m%s\033[0m' | |
elif nvm_is_version_installed "${VERSION}"; then | |
ALIAS_FORMAT='\033[0;34m%s\033[0m' | |
DEST_FORMAT='\033[0;34m%s\033[0m' | |
VERSION_FORMAT='\033[0;34m%s\033[0m' | |
elif [ "${VERSION}" = '∞' ] || [ "${VERSION}" = 'N/A' ]; then | |
ALIAS_FORMAT='\033[1;31m%s\033[0m' | |
DEST_FORMAT='\033[1;31m%s\033[0m' | |
VERSION_FORMAT='\033[1;31m%s\033[0m' | |
fi | |
if [ "_${NVM_LTS-}" = '_true' ]; then | |
ALIAS_FORMAT='\033[1;33m%s\033[0m' | |
fi | |
if [ "_${DEST%/*}" = "_lts" ]; then | |
DEST_FORMAT='\033[1;33m%s\033[0m' | |
fi | |
elif [ "_${VERSION}" != '_∞' ] && [ "_${VERSION}" != '_N/A' ]; then | |
VERSION_FORMAT='%s *' | |
fi | |
if [ "${DEST}" = "${VERSION}" ]; then | |
command printf -- "${ALIAS_FORMAT} ${ARROW} ${VERSION_FORMAT}${NEWLINE}" "${ALIAS}" "${DEST}" | |
else | |
command printf -- "${ALIAS_FORMAT} ${ARROW} ${DEST_FORMAT} (${ARROW} ${VERSION_FORMAT})${NEWLINE}" "${ALIAS}" "${DEST}" "${VERSION}" | |
fi | |
} | |
nvm_print_alias_path() { | |
local NVM_ALIAS_DIR | |
NVM_ALIAS_DIR="${1-}" | |
if [ -z "${NVM_ALIAS_DIR}" ]; then | |
nvm_err 'An alias dir is required.' | |
return 1 | |
fi | |
local ALIAS_PATH | |
ALIAS_PATH="${2-}" | |
if [ -z "${ALIAS_PATH}" ]; then | |
nvm_err 'An alias path is required.' | |
return 2 | |
fi | |
local ALIAS | |
ALIAS="${ALIAS_PATH##${NVM_ALIAS_DIR}\/}" | |
local DEST | |
DEST="$(nvm_alias "${ALIAS}" 2>/dev/null)" ||: | |
if [ -n "${DEST}" ]; then | |
NVM_NO_COLORS="${NVM_NO_COLORS-}" NVM_LTS="${NVM_LTS-}" DEFAULT=false nvm_print_formatted_alias "${ALIAS}" "${DEST}" | |
fi | |
} | |
nvm_print_default_alias() { | |
local ALIAS | |
ALIAS="${1-}" | |
if [ -z "${ALIAS}" ]; then | |
nvm_err 'A default alias is required.' | |
return 1 | |
fi | |
local DEST | |
DEST="$(nvm_print_implicit_alias local "${ALIAS}")" | |
if [ -n "${DEST}" ]; then | |
NVM_NO_COLORS="${NVM_NO_COLORS-}" DEFAULT=true nvm_print_formatted_alias "${ALIAS}" "${DEST}" | |
fi | |
} | |
nvm_make_alias() { | |
local ALIAS | |
ALIAS="${1-}" | |
if [ -z "${ALIAS}" ]; then | |
nvm_err "an alias name is required" | |
return 1 | |
fi | |
local VERSION | |
VERSION="${2-}" | |
if [ -z "${VERSION}" ]; then | |
nvm_err "an alias target version is required" | |
return 2 | |
fi | |
nvm_echo "${VERSION}" | tee "$(nvm_alias_path)/${ALIAS}" >/dev/null | |
} | |
nvm_list_aliases() { | |
local ALIAS | |
ALIAS="${1-}" | |
local NVM_CURRENT | |
NVM_CURRENT="$(nvm_ls_current)" | |
local NVM_ALIAS_DIR | |
NVM_ALIAS_DIR="$(nvm_alias_path)" | |
command mkdir -p "${NVM_ALIAS_DIR}/lts" | |
( | |
local ALIAS_PATH | |
for ALIAS_PATH in "${NVM_ALIAS_DIR}/${ALIAS}"*; do | |
NVM_NO_COLORS="${NVM_NO_COLORS-}" NVM_CURRENT="${NVM_CURRENT}" nvm_print_alias_path "${NVM_ALIAS_DIR}" "${ALIAS_PATH}" & | |
done | |
wait | |
) | sort | |
( | |
local ALIAS_NAME | |
for ALIAS_NAME in "$(nvm_node_prefix)" "stable" "unstable"; do | |
{ | |
if [ ! -f "${NVM_ALIAS_DIR}/${ALIAS_NAME}" ] && { [ -z "${ALIAS}" ] || [ "${ALIAS_NAME}" = "${ALIAS}" ]; }; then | |
NVM_NO_COLORS="${NVM_NO_COLORS-}" NVM_CURRENT="${NVM_CURRENT}" nvm_print_default_alias "${ALIAS_NAME}" | |
fi | |
} & | |
done | |
wait | |
ALIAS_NAME="$(nvm_iojs_prefix)" | |
if [ ! -f "${NVM_ALIAS_DIR}/${ALIAS_NAME}" ] && { [ -z "${ALIAS}" ] || [ "${ALIAS_NAME}" = "${ALIAS}" ]; }; then | |
NVM_NO_COLORS="${NVM_NO_COLORS-}" NVM_CURRENT="${NVM_CURRENT}" nvm_print_default_alias "${ALIAS_NAME}" | |
fi | |
) | sort | |
( | |
local LTS_ALIAS | |
for ALIAS_PATH in "${NVM_ALIAS_DIR}/lts/${ALIAS}"*; do | |
{ | |
LTS_ALIAS="$(NVM_NO_COLORS="${NVM_NO_COLORS-}" NVM_LTS=true nvm_print_alias_path "${NVM_ALIAS_DIR}" "${ALIAS_PATH}")" | |
if [ -n "${LTS_ALIAS}" ]; then | |
nvm_echo "${LTS_ALIAS}" | |
fi | |
} & | |
done | |
wait | |
) | sort | |
return | |
} | |
nvm_alias() { | |
local ALIAS | |
ALIAS="${1-}" | |
if [ -z "${ALIAS}" ]; then | |
nvm_err 'An alias is required.' | |
return 1 | |
fi | |
local NVM_ALIAS_PATH | |
NVM_ALIAS_PATH="$(nvm_alias_path)/${ALIAS}" | |
if [ ! -f "${NVM_ALIAS_PATH}" ]; then | |
nvm_err 'Alias does not exist.' | |
return 2 | |
fi | |
command cat "${NVM_ALIAS_PATH}" | |
} | |
nvm_ls_current() { | |
local NVM_LS_CURRENT_NODE_PATH | |
if ! NVM_LS_CURRENT_NODE_PATH="$(command which node 2>/dev/null)"; then | |
nvm_echo 'none' | |
elif nvm_tree_contains_path "$(nvm_version_dir iojs)" "${NVM_LS_CURRENT_NODE_PATH}"; then | |
nvm_add_iojs_prefix "$(iojs --version 2>/dev/null)" | |
elif nvm_tree_contains_path "${NVM_DIR}" "${NVM_LS_CURRENT_NODE_PATH}"; then | |
local VERSION | |
VERSION="$(node --version 2>/dev/null)" | |
if [ "${VERSION}" = "v0.6.21-pre" ]; then | |
nvm_echo 'v0.6.21' | |
else | |
nvm_echo "${VERSION}" | |
fi | |
else | |
nvm_echo 'system' | |
fi | |
} | |
nvm_resolve_alias() { | |
if [ -z "${1-}" ]; then | |
return 1 | |
fi | |
local PATTERN | |
PATTERN="${1-}" | |
local ALIAS | |
ALIAS="${PATTERN}" | |
local ALIAS_TEMP | |
local SEEN_ALIASES | |
SEEN_ALIASES="${ALIAS}" | |
while true; do | |
ALIAS_TEMP="$(nvm_alias "${ALIAS}" 2>/dev/null || nvm_echo)" | |
if [ -z "${ALIAS_TEMP}" ]; then | |
break | |
fi | |
if command printf "${SEEN_ALIASES}" | nvm_grep -q -e "^${ALIAS_TEMP}$"; then | |
ALIAS="∞" | |
break | |
fi | |
SEEN_ALIASES="${SEEN_ALIASES}\\n${ALIAS_TEMP}" | |
ALIAS="${ALIAS_TEMP}" | |
done | |
if [ -n "${ALIAS}" ] && [ "_${ALIAS}" != "_${PATTERN}" ]; then | |
local NVM_IOJS_PREFIX | |
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)" | |
local NVM_NODE_PREFIX | |
NVM_NODE_PREFIX="$(nvm_node_prefix)" | |
case "${ALIAS}" in | |
'∞' | \ | |
"${NVM_IOJS_PREFIX}" | "${NVM_IOJS_PREFIX}-" | \ | |
"${NVM_NODE_PREFIX}") | |
nvm_echo "${ALIAS}" | |
;; | |
*) | |
nvm_ensure_version_prefix "${ALIAS}" | |
;; | |
esac | |
return 0 | |
fi | |
if nvm_validate_implicit_alias "${PATTERN}" 2>/dev/null; then | |
local IMPLICIT | |
IMPLICIT="$(nvm_print_implicit_alias local "${PATTERN}" 2>/dev/null)" | |
if [ -n "${IMPLICIT}" ]; then | |
nvm_ensure_version_prefix "${IMPLICIT}" | |
fi | |
fi | |
return 2 | |
} | |
nvm_resolve_local_alias() { | |
if [ -z "${1-}" ]; then | |
return 1 | |
fi | |
local VERSION | |
local EXIT_CODE | |
VERSION="$(nvm_resolve_alias "${1-}")" | |
EXIT_CODE=$? | |
if [ -z "${VERSION}" ]; then | |
return $EXIT_CODE | |
fi | |
if [ "_${VERSION}" != '_∞' ]; then | |
nvm_version "${VERSION}" | |
else | |
nvm_echo "${VERSION}" | |
fi | |
} | |
nvm_iojs_prefix() { | |
nvm_echo 'iojs' | |
} | |
nvm_node_prefix() { | |
nvm_echo 'node' | |
} | |
nvm_is_iojs_version() { | |
case "${1-}" in iojs-*) return 0 ;; esac | |
return 1 | |
} | |
nvm_add_iojs_prefix() { | |
nvm_echo "$(nvm_iojs_prefix)-$(nvm_ensure_version_prefix "$(nvm_strip_iojs_prefix "${1-}")")" | |
} | |
nvm_strip_iojs_prefix() { | |
local NVM_IOJS_PREFIX | |
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)" | |
if [ "${1-}" = "${NVM_IOJS_PREFIX}" ]; then | |
nvm_echo | |
else | |
nvm_echo "${1#${NVM_IOJS_PREFIX}-}" | |
fi | |
} | |
nvm_ls() { | |
local PATTERN | |
PATTERN="${1-}" | |
local VERSIONS | |
VERSIONS='' | |
if [ "${PATTERN}" = 'current' ]; then | |
nvm_ls_current | |
return | |
fi | |
local NVM_IOJS_PREFIX | |
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)" | |
local NVM_NODE_PREFIX | |
NVM_NODE_PREFIX="$(nvm_node_prefix)" | |
local NVM_VERSION_DIR_IOJS | |
NVM_VERSION_DIR_IOJS="$(nvm_version_dir "${NVM_IOJS_PREFIX}")" | |
local NVM_VERSION_DIR_NEW | |
NVM_VERSION_DIR_NEW="$(nvm_version_dir new)" | |
local NVM_VERSION_DIR_OLD | |
NVM_VERSION_DIR_OLD="$(nvm_version_dir old)" | |
case "${PATTERN}" in | |
"${NVM_IOJS_PREFIX}" | "${NVM_NODE_PREFIX}") | |
PATTERN="${PATTERN}-" | |
;; | |
*) | |
if nvm_resolve_local_alias "${PATTERN}"; then | |
return | |
fi | |
PATTERN="$(nvm_ensure_version_prefix "${PATTERN}")" | |
;; | |
esac | |
if [ "${PATTERN}" = 'N/A' ]; then | |
return | |
fi | |
# If it looks like an explicit version, don't do anything funny | |
local NVM_PATTERN_STARTS_WITH_V | |
case $PATTERN in | |
v*) NVM_PATTERN_STARTS_WITH_V=true ;; | |
*) NVM_PATTERN_STARTS_WITH_V=false ;; | |
esac | |
if [ $NVM_PATTERN_STARTS_WITH_V = true ] && [ "_$(nvm_num_version_groups "${PATTERN}")" = "_3" ]; then | |
if nvm_is_version_installed "${PATTERN}"; then | |
VERSIONS="${PATTERN}" | |
elif nvm_is_version_installed "$(nvm_add_iojs_prefix "${PATTERN}")"; then | |
VERSIONS="$(nvm_add_iojs_prefix "${PATTERN}")" | |
fi | |
else | |
case "${PATTERN}" in | |
"${NVM_IOJS_PREFIX}-" | "${NVM_NODE_PREFIX}-" | "system") ;; | |
*) | |
local NUM_VERSION_GROUPS | |
NUM_VERSION_GROUPS="$(nvm_num_version_groups "${PATTERN}")" | |
if [ "${NUM_VERSION_GROUPS}" = "2" ] || [ "${NUM_VERSION_GROUPS}" = "1" ]; then | |
PATTERN="${PATTERN%.}." | |
fi | |
;; | |
esac | |
nvm_is_zsh && setopt local_options shwordsplit | |
local NVM_DIRS_TO_SEARCH1 | |
NVM_DIRS_TO_SEARCH1='' | |
local NVM_DIRS_TO_SEARCH2 | |
NVM_DIRS_TO_SEARCH2='' | |
local NVM_DIRS_TO_SEARCH3 | |
NVM_DIRS_TO_SEARCH3='' | |
local NVM_ADD_SYSTEM | |
NVM_ADD_SYSTEM=false | |
if nvm_is_iojs_version "${PATTERN}"; then | |
NVM_DIRS_TO_SEARCH1="${NVM_VERSION_DIR_IOJS}" | |
PATTERN="$(nvm_strip_iojs_prefix "${PATTERN}")" | |
if nvm_has_system_iojs; then | |
NVM_ADD_SYSTEM=true | |
fi | |
elif [ "${PATTERN}" = "${NVM_NODE_PREFIX}-" ]; then | |
NVM_DIRS_TO_SEARCH1="${NVM_VERSION_DIR_OLD}" | |
NVM_DIRS_TO_SEARCH2="${NVM_VERSION_DIR_NEW}" | |
PATTERN='' | |
if nvm_has_system_node; then | |
NVM_ADD_SYSTEM=true | |
fi | |
else | |
NVM_DIRS_TO_SEARCH1="${NVM_VERSION_DIR_OLD}" | |
NVM_DIRS_TO_SEARCH2="${NVM_VERSION_DIR_NEW}" | |
NVM_DIRS_TO_SEARCH3="${NVM_VERSION_DIR_IOJS}" | |
if nvm_has_system_iojs || nvm_has_system_node; then | |
NVM_ADD_SYSTEM=true | |
fi | |
fi | |
if ! [ -d "${NVM_DIRS_TO_SEARCH1}" ] || ! (command ls -1qA "${NVM_DIRS_TO_SEARCH1}" | nvm_grep -q .); then | |
NVM_DIRS_TO_SEARCH1='' | |
fi | |
if ! [ -d "${NVM_DIRS_TO_SEARCH2}" ] || ! (command ls -1qA "${NVM_DIRS_TO_SEARCH2}" | nvm_grep -q .); then | |
NVM_DIRS_TO_SEARCH2="${NVM_DIRS_TO_SEARCH1}" | |
fi | |
if ! [ -d "${NVM_DIRS_TO_SEARCH3}" ] || ! (command ls -1qA "${NVM_DIRS_TO_SEARCH3}" | nvm_grep -q .); then | |
NVM_DIRS_TO_SEARCH3="${NVM_DIRS_TO_SEARCH2}" | |
fi | |
local SEARCH_PATTERN | |
if [ -z "${PATTERN}" ]; then | |
PATTERN='v' | |
SEARCH_PATTERN='.*' | |
else | |
SEARCH_PATTERN="$(nvm_echo "${PATTERN}" | command sed 's#\.#\\\.#g;')" | |
fi | |
if [ -n "${NVM_DIRS_TO_SEARCH1}${NVM_DIRS_TO_SEARCH2}${NVM_DIRS_TO_SEARCH3}" ]; then | |
VERSIONS="$(command find "${NVM_DIRS_TO_SEARCH1}"/* "${NVM_DIRS_TO_SEARCH2}"/* "${NVM_DIRS_TO_SEARCH3}"/* -name . -o -type d -prune -o -path "${PATTERN}*" \ | |
| command sed -e " | |
s#${NVM_VERSION_DIR_IOJS}/#versions/${NVM_IOJS_PREFIX}/#; | |
s#^${NVM_DIR}/##; | |
\\#^[^v]# d; | |
\\#^versions\$# d; | |
s#^versions/##; | |
s#^v#${NVM_NODE_PREFIX}/v#; | |
\\#${SEARCH_PATTERN}# !d; | |
" \ | |
-e 's#^\([^/]\{1,\}\)/\(.*\)$#\2.\1#;' \ | |
| command sort -t. -u -k 1.2,1n -k 2,2n -k 3,3n \ | |
| command sed -e 's#\(.*\)\.\([^\.]\{1,\}\)$#\2-\1#;' \ | |
-e "s#^${NVM_NODE_PREFIX}-##;" \ | |
)" | |
fi | |
fi | |
if [ "${NVM_ADD_SYSTEM-}" = true ]; then | |
if [ -z "${PATTERN}" ] || [ "${PATTERN}" = 'v' ]; then | |
VERSIONS="${VERSIONS}$(command printf '\n%s' 'system')" | |
elif [ "${PATTERN}" = 'system' ]; then | |
VERSIONS="$(command printf '%s' 'system')" | |
fi | |
fi | |
if [ -z "${VERSIONS}" ]; then | |
nvm_echo 'N/A' | |
return 3 | |
fi | |
nvm_echo "${VERSIONS}" | |
} | |
nvm_ls_remote() { | |
local PATTERN | |
PATTERN="${1-}" | |
if nvm_validate_implicit_alias "${PATTERN}" 2>/dev/null ; then | |
local IMPLICIT | |
IMPLICIT="$(nvm_print_implicit_alias remote "${PATTERN}")" | |
if [ -z "${IMPLICIT-}" ] || [ "${IMPLICIT}" = 'N/A' ]; then | |
nvm_echo "N/A" | |
return 3 | |
fi | |
PATTERN="$(NVM_LTS="${NVM_LTS-}" nvm_ls_remote "${IMPLICIT}" | command tail -1 | command awk '{ print $1 }')" | |
elif [ -n "${PATTERN}" ]; then | |
PATTERN="$(nvm_ensure_version_prefix "${PATTERN}")" | |
else | |
PATTERN=".*" | |
fi | |
NVM_LTS="${NVM_LTS-}" nvm_ls_remote_index_tab node std "${PATTERN}" | |
} | |
nvm_ls_remote_iojs() { | |
NVM_LTS="${NVM_LTS-}" nvm_ls_remote_index_tab iojs std "${1-}" | |
} | |
# args flavor, type, version | |
nvm_ls_remote_index_tab() { | |
local LTS | |
LTS="${NVM_LTS-}" | |
if [ "$#" -lt 3 ]; then | |
nvm_err 'not enough arguments' | |
return 5 | |
fi | |
local FLAVOR | |
FLAVOR="${1-}" | |
local TYPE | |
TYPE="${2-}" | |
local MIRROR | |
MIRROR="$(nvm_get_mirror "${FLAVOR}" "${TYPE}")" | |
if [ -z "${MIRROR}" ]; then | |
return 3 | |
fi | |
local PREFIX | |
PREFIX='' | |
case "${FLAVOR}-${TYPE}" in | |
iojs-std) PREFIX="$(nvm_iojs_prefix)-" ;; | |
node-std) PREFIX='' ;; | |
iojs-*) | |
nvm_err 'unknown type of io.js release' | |
return 4 | |
;; | |
*) | |
nvm_err 'unknown type of node.js release' | |
return 4 | |
;; | |
esac | |
local SORT_COMMAND | |
SORT_COMMAND='command sort' | |
case "${FLAVOR}" in | |
node) SORT_COMMAND='command sort -t. -u -k 1.2,1n -k 2,2n -k 3,3n' ;; | |
esac | |
local PATTERN | |
PATTERN="${3-}" | |
local VERSIONS | |
if [ -n "${PATTERN}" ]; then | |
if [ "${FLAVOR}" = 'iojs' ]; then | |
PATTERN="$(nvm_ensure_version_prefix "$(nvm_strip_iojs_prefix "${PATTERN}")")" | |
else | |
PATTERN="$(nvm_ensure_version_prefix "${PATTERN}")" | |
fi | |
else | |
unset PATTERN | |
fi | |
nvm_is_zsh && setopt local_options shwordsplit | |
local VERSION_LIST | |
VERSION_LIST="$(nvm_download -L -s "${MIRROR}/index.tab" -o - \ | |
| command sed " | |
1d; | |
s/^/${PREFIX}/; | |
" \ | |
)" | |
local LTS_ALIAS | |
local LTS_VERSION | |
command mkdir -p "$(nvm_alias_path)/lts" | |
nvm_echo "${VERSION_LIST}" \ | |
| command awk '{ | |
if ($10 ~ /^\-?$/) { next } | |
if ($10 && !a[tolower($10)]++) { | |
if (alias) { print alias, version } | |
alias_name = "lts/" tolower($10) | |
if (!alias) { print "lts/*", alias_name } | |
alias = alias_name | |
version = $1 | |
} | |
} | |
END { | |
if (alias) { | |
print alias, version | |
} | |
}' \ | |
| while read -r LTS_ALIAS_LINE; do | |
LTS_ALIAS="${LTS_ALIAS_LINE%% *}" | |
LTS_VERSION="${LTS_ALIAS_LINE#* }" | |
nvm_make_alias "${LTS_ALIAS}" "${LTS_VERSION}" >/dev/null 2>&1 | |
done | |
VERSIONS="$({ command awk -v pattern="${PATTERN-}" -v lts="${LTS-}" '{ | |
if (!$1) { next } | |
if (pattern && tolower($1) !~ tolower(pattern)) { next } | |
if (lts == "*" && $10 ~ /^\-?$/) { next } | |
if (lts && lts != "*" && tolower($10) !~ tolower(lts)) { next } | |
if ($10 !~ /^\-?$/) print $1, $10; else print $1 | |
}' \ | |
| nvm_grep -w "${PATTERN:-.*}" \ | |
| $SORT_COMMAND; } << EOF | |
$VERSION_LIST | |
EOF | |
)" | |
if [ -z "${VERSIONS}" ]; then | |
nvm_echo 'N/A' | |
return 3 | |
fi | |
nvm_echo "${VERSIONS}" | |
} | |
nvm_get_checksum_alg() { | |
if nvm_has_non_aliased "sha256sum"; then | |
nvm_echo 'sha-256' | |
elif nvm_has_non_aliased "shasum"; then | |
nvm_echo 'sha-256' | |
elif nvm_has_non_aliased "sha256"; then | |
nvm_echo 'sha-256' | |
elif nvm_has_non_aliased "gsha256sum"; then | |
nvm_echo 'sha-256' | |
elif nvm_has_non_aliased "openssl"; then | |
nvm_echo 'sha-256' | |
elif nvm_has_non_aliased "bssl"; then | |
nvm_echo 'sha-256' | |
elif nvm_has_non_aliased "sha1sum"; then | |
nvm_echo 'sha-1' | |
elif nvm_has_non_aliased "sha1"; then | |
nvm_echo 'sha-1' | |
elif nvm_has_non_aliased "shasum"; then | |
nvm_echo 'sha-1' | |
else | |
nvm_err 'Unaliased sha256sum, shasum, sha256, gsha256sum, openssl, or bssl not found.' | |
nvm_err 'Unaliased sha1sum, sha1, or shasum not found.' | |
return 1 | |
fi | |
} | |
nvm_compute_checksum() { | |
local FILE | |
FILE="${1-}" | |
if [ -z "${FILE}" ]; then | |
nvm_err 'Provided file to checksum is empty.' | |
return 2 | |
elif ! [ -f "${FILE}" ]; then | |
nvm_err 'Provided file to checksum does not exist.' | |
return 1 | |
fi | |
if nvm_has_non_aliased "sha256sum"; then | |
nvm_err 'Computing checksum with sha256sum' | |
command sha256sum "${FILE}" | command awk '{print $1}' | |
elif nvm_has_non_aliased "shasum"; then | |
nvm_err 'Computing checksum with shasum -a 256' | |
command shasum -a 256 "${FILE}" | command awk '{print $1}' | |
elif nvm_has_non_aliased "sha256"; then | |
nvm_err 'Computing checksum with sha256 -q' | |
command sha256 -q "${FILE}" | command awk '{print $1}' | |
elif nvm_has_non_aliased "gsha256sum"; then | |
nvm_err 'Computing checksum with gsha256sum' | |
command gsha256sum "${FILE}" | command awk '{print $1}' | |
elif nvm_has_non_aliased "openssl"; then | |
nvm_err 'Computing checksum with openssl dgst -sha256' | |
command openssl dgst -sha256 "${FILE}" | command awk '{print $NF}' | |
elif nvm_has_non_aliased "bssl"; then | |
nvm_err 'Computing checksum with bssl sha256sum' | |
command bssl sha256sum "${FILE}" | command awk '{print $1}' | |
elif nvm_has_non_aliased "sha1sum"; then | |
nvm_err 'Computing checksum with sha1sum' | |
command sha1sum "${FILE}" | command awk '{print $1}' | |
elif nvm_has_non_aliased "sha1"; then | |
nvm_err 'Computing checksum with sha1 -q' | |
command sha1 -q "${FILE}" | |
elif nvm_has_non_aliased "shasum"; then | |
nvm_err 'Computing checksum with shasum' | |
command shasum "${FILE}" | command awk '{print $1}' | |
fi | |
} | |
nvm_compare_checksum() { | |
local FILE | |
FILE="${1-}" | |
if [ -z "${FILE}" ]; then | |
nvm_err 'Provided file to checksum is empty.' | |
return 4 | |
elif ! [ -f "${FILE}" ]; then | |
nvm_err 'Provided file to checksum does not exist.' | |
return 3 | |
fi | |
local COMPUTED_SUM | |
COMPUTED_SUM="$(nvm_compute_checksum "${FILE}")" | |
local CHECKSUM | |
CHECKSUM="${2-}" | |
if [ -z "${CHECKSUM}" ]; then | |
nvm_err 'Provided checksum to compare to is empty.' | |
return 2 | |
fi | |
if [ -z "${COMPUTED_SUM}" ]; then | |
nvm_err "Computed checksum of '${FILE}' is empty." # missing in raspberry pi binary | |
nvm_err 'WARNING: Continuing *without checksum verification*' | |
return | |
elif [ "${COMPUTED_SUM}" != "${CHECKSUM}" ]; then | |
nvm_err "Checksums do not match: '${COMPUTED_SUM}' found, '${CHECKSUM}' expected." | |
return 1 | |
fi | |
nvm_err 'Checksums matched!' | |
} | |
# args: flavor, type, version, slug, compression | |
nvm_get_checksum() { | |
local FLAVOR | |
case "${1-}" in | |
node | iojs) FLAVOR="${1}" ;; | |
*) | |
nvm_err 'supported flavors: node, iojs' | |
return 2 | |
;; | |
esac | |
local MIRROR | |
MIRROR="$(nvm_get_mirror "${FLAVOR}" "${2-}")" | |
if [ -z "${MIRROR}" ]; then | |
return 1 | |
fi | |
local SHASUMS_URL | |
if [ "$(nvm_get_checksum_alg)" = 'sha-256' ]; then | |
SHASUMS_URL="${MIRROR}/${3}/SHASUMS256.txt" | |
else | |
SHASUMS_URL="${MIRROR}/${3}/SHASUMS.txt" | |
fi | |
nvm_download -L -s "${SHASUMS_URL}" -o - | command awk "{ if (\"${4}.tar.${5}\" == \$2) print \$1}" | |
} | |
nvm_checksum() { | |
local NVM_CHECKSUM | |
if [ -z "${3-}" ] || [ "${3-}" = 'sha1' ]; then | |
if nvm_has_non_aliased "sha1sum"; then | |
NVM_CHECKSUM="$(command sha1sum "${1-}" | command awk '{print $1}')" | |
elif nvm_has_non_aliased "sha1"; then | |
NVM_CHECKSUM="$(command sha1 -q "${1-}")" | |
elif nvm_has_non_aliased "shasum"; then | |
NVM_CHECKSUM="$(command shasum "${1-}" | command awk '{print $1}')" | |
else | |
nvm_err 'Unaliased sha1sum, sha1, or shasum not found.' | |
return 2 | |
fi | |
else | |
if nvm_has_non_aliased "sha256sum"; then | |
NVM_CHECKSUM="$(command sha256sum "${1-}" | command awk '{print $1}')" | |
elif nvm_has_non_aliased "shasum"; then | |
NVM_CHECKSUM="$(command shasum -a 256 "${1-}" | command awk '{print $1}')" | |
elif nvm_has_non_aliased "sha256"; then | |
NVM_CHECKSUM="$(command sha256 -q "${1-}" | command awk '{print $1}')" | |
elif nvm_has_non_aliased "gsha256sum"; then | |
NVM_CHECKSUM="$(command gsha256sum "${1-}" | command awk '{print $1}')" | |
elif nvm_has_non_aliased "openssl"; then | |
NVM_CHECKSUM="$(command openssl dgst -sha256 "${1-}" | command awk '{print $NF}')" | |
elif nvm_has_non_aliased "bssl"; then | |
NVM_CHECKSUM="$(command bssl sha256sum "${1-}" | command awk '{print $1}')" | |
else | |
nvm_err 'Unaliased sha256sum, shasum, sha256, gsha256sum, openssl, or bssl not found.' | |
nvm_err 'WARNING: Continuing *without checksum verification*' | |
return | |
fi | |
fi | |
if [ "_${NVM_CHECKSUM}" = "_${2-}" ]; then | |
return | |
elif [ -z "${2-}" ]; then | |
nvm_echo 'Checksums empty' #missing in raspberry pi binary | |
return | |
fi | |
nvm_err 'Checksums do not match.' | |
return 1 | |
} | |
nvm_print_versions() { | |
local VERSION | |
local LTS | |
local FORMAT | |
local NVM_CURRENT | |
NVM_CURRENT=$(nvm_ls_current) | |
local NVM_HAS_COLORS | |
if [ -z "${NVM_NO_COLORS-}" ] && nvm_has_colors; then | |
NVM_HAS_COLORS=1 | |
fi | |
local LTS_LENGTH | |
local LTS_FORMAT | |
nvm_echo "${1-}" \ | |
| command sed '1!G;h;$!d' \ | |
| command awk '{ if ($2 && a[$2]++) { print $1, "(LTS: " $2 ")" } else if ($2) { print $1, "(Latest LTS: " $2 ")" } else { print $0 } }' \ | |
| command sed '1!G;h;$!d' \ | |
| while read -r VERSION_LINE; do | |
VERSION="${VERSION_LINE%% *}" | |
LTS="${VERSION_LINE#* }" | |
FORMAT='%15s' | |
if [ "_${VERSION}" = "_${NVM_CURRENT}" ]; then | |
if [ "${NVM_HAS_COLORS-}" = '1' ]; then | |
FORMAT='\033[0;32m-> %12s\033[0m' | |
else | |
FORMAT='-> %12s *' | |
fi | |
elif [ "${VERSION}" = "system" ]; then | |
if [ "${NVM_HAS_COLORS-}" = '1' ]; then | |
FORMAT='\033[0;33m%15s\033[0m' | |
else | |
FORMAT='%15s *' | |
fi | |
elif nvm_is_version_installed "${VERSION}"; then | |
if [ "${NVM_HAS_COLORS-}" = '1' ]; then | |
FORMAT='\033[0;34m%15s\033[0m' | |
else | |
FORMAT='%15s *' | |
fi | |
fi | |
if [ "${LTS}" != "${VERSION}" ]; then | |
case "${LTS}" in | |
*Latest*) | |
LTS="${LTS##Latest }" | |
LTS_LENGTH="${#LTS}" | |
if [ "${NVM_HAS_COLORS-}" = '1' ]; then | |
LTS_FORMAT=" \\033[1;32m%${LTS_LENGTH}s\\033[0m" | |
else | |
LTS_FORMAT=" %${LTS_LENGTH}s" | |
fi | |
;; | |
*) | |
LTS_LENGTH="${#LTS}" | |
if [ "${NVM_HAS_COLORS-}" = '1' ]; then | |
LTS_FORMAT=" \\033[0;37m%${LTS_LENGTH}s\\033[0m" | |
else | |
LTS_FORMAT=" %${LTS_LENGTH}s" | |
fi | |
;; | |
esac | |
command printf -- "${FORMAT}${LTS_FORMAT}\\n" "${VERSION}" " ${LTS}" | |
else | |
command printf -- "${FORMAT}\\n" "${VERSION}" | |
fi | |
done | |
} | |
nvm_validate_implicit_alias() { | |
local NVM_IOJS_PREFIX | |
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)" | |
local NVM_NODE_PREFIX | |
NVM_NODE_PREFIX="$(nvm_node_prefix)" | |
case "$1" in | |
"stable" | "unstable" | "${NVM_IOJS_PREFIX}" | "${NVM_NODE_PREFIX}") | |
return | |
;; | |
*) | |
nvm_err "Only implicit aliases 'stable', 'unstable', '${NVM_IOJS_PREFIX}', and '${NVM_NODE_PREFIX}' are supported." | |
return 1 | |
;; | |
esac | |
} | |
nvm_print_implicit_alias() { | |
if [ "_$1" != "_local" ] && [ "_$1" != "_remote" ]; then | |
nvm_err "nvm_print_implicit_alias must be specified with local or remote as the first argument." | |
return 1 | |
fi | |
local NVM_IMPLICIT | |
NVM_IMPLICIT="$2" | |
if ! nvm_validate_implicit_alias "${NVM_IMPLICIT}"; then | |
return 2 | |
fi | |
local NVM_IOJS_PREFIX | |
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)" | |
local NVM_NODE_PREFIX | |
NVM_NODE_PREFIX="$(nvm_node_prefix)" | |
local NVM_COMMAND | |
local NVM_ADD_PREFIX_COMMAND | |
local LAST_TWO | |
case "${NVM_IMPLICIT}" in | |
"${NVM_IOJS_PREFIX}") | |
NVM_COMMAND="nvm_ls_remote_iojs" | |
NVM_ADD_PREFIX_COMMAND="nvm_add_iojs_prefix" | |
if [ "_$1" = "_local" ]; then | |
NVM_COMMAND="nvm_ls ${NVM_IMPLICIT}" | |
fi | |
nvm_is_zsh && setopt local_options shwordsplit | |
local NVM_IOJS_VERSION | |
local EXIT_CODE | |
NVM_IOJS_VERSION="$(${NVM_COMMAND})" &&: | |
EXIT_CODE="$?" | |
if [ "_${EXIT_CODE}" = "_0" ]; then | |
NVM_IOJS_VERSION="$(nvm_echo "${NVM_IOJS_VERSION}" | command sed "s/^${NVM_IMPLICIT}-//" | nvm_grep -e '^v' | command cut -c2- | command cut -d . -f 1,2 | uniq | command tail -1)" | |
fi | |
if [ "_$NVM_IOJS_VERSION" = "_N/A" ]; then | |
nvm_echo 'N/A' | |
else | |
${NVM_ADD_PREFIX_COMMAND} "${NVM_IOJS_VERSION}" | |
fi | |
return $EXIT_CODE | |
;; | |
"${NVM_NODE_PREFIX}") | |
nvm_echo 'stable' | |
return | |
;; | |
*) | |
NVM_COMMAND="nvm_ls_remote" | |
if [ "_$1" = "_local" ]; then | |
NVM_COMMAND="nvm_ls node" | |
fi | |
nvm_is_zsh && setopt local_options shwordsplit | |
LAST_TWO=$($NVM_COMMAND | nvm_grep -e '^v' | command cut -c2- | command cut -d . -f 1,2 | uniq) | |
;; | |
esac | |
local MINOR | |
local STABLE | |
local UNSTABLE | |
local MOD | |
local NORMALIZED_VERSION | |
nvm_is_zsh && setopt local_options shwordsplit | |
for MINOR in $LAST_TWO; do | |
NORMALIZED_VERSION="$(nvm_normalize_version "$MINOR")" | |
if [ "_0${NORMALIZED_VERSION#?}" != "_$NORMALIZED_VERSION" ]; then | |
STABLE="$MINOR" | |
else | |
MOD="$(awk 'BEGIN { print int(ARGV[1] / 1000000) % 2 ; exit(0) }' "${NORMALIZED_VERSION}")" | |
if [ "${MOD}" -eq 0 ]; then | |
STABLE="${MINOR}" | |
elif [ "${MOD}" -eq 1 ]; then | |
UNSTABLE="${MINOR}" | |
fi | |
fi | |
done | |
if [ "_$2" = '_stable' ]; then | |
nvm_echo "${STABLE}" | |
elif [ "_$2" = '_unstable' ]; then | |
nvm_echo "${UNSTABLE:-"N/A"}" | |
fi | |
} | |
nvm_get_os() { | |
local NVM_UNAME | |
NVM_UNAME="$(command uname -a)" | |
local NVM_OS | |
case "${NVM_UNAME}" in | |
Linux\ *) NVM_OS=linux ;; | |
Darwin\ *) NVM_OS=darwin ;; | |
SunOS\ *) NVM_OS=sunos ;; | |
FreeBSD\ *) NVM_OS=freebsd ;; | |
AIX\ *) NVM_OS=aix ;; | |
esac | |
nvm_echo "${NVM_OS-}" | |
} | |
nvm_get_arch() { | |
local HOST_ARCH | |
local NVM_OS | |
local EXIT_CODE | |
NVM_OS="$(nvm_get_os)" | |
# If the OS is SunOS, first try to use pkgsrc to guess | |
# the most appropriate arch. If it's not available, use | |
# isainfo to get the instruction set supported by the | |
# kernel. | |
if [ "_${NVM_OS}" = "_sunos" ]; then | |
if HOST_ARCH=$(pkg_info -Q MACHINE_ARCH pkg_install); then | |
HOST_ARCH=$(nvm_echo "${HOST_ARCH}" | command tail -1) | |
else | |
HOST_ARCH=$(isainfo -n) | |
fi | |
elif [ "_${NVM_OS}" = "_aix" ]; then | |
HOST_ARCH=ppc64 | |
else | |
HOST_ARCH="$(command uname -m)" | |
fi | |
local NVM_ARCH | |
case "${HOST_ARCH}" in | |
x86_64 | amd64) NVM_ARCH="x64" ;; | |
i*86) NVM_ARCH="x86" ;; | |
aarch64) NVM_ARCH="arm64" ;; | |
*) NVM_ARCH="${HOST_ARCH}" ;; | |
esac | |
nvm_echo "${NVM_ARCH}" | |
} | |
nvm_get_minor_version() { | |
local VERSION | |
VERSION="$1" | |
if [ -z "${VERSION}" ]; then | |
nvm_err 'a version is required' | |
return 1 | |
fi | |
case "${VERSION}" in | |
v | .* | *..* | v*[!.0123456789]* | [!v]*[!.0123456789]* | [!v0123456789]* | v[!0123456789]*) | |
nvm_err 'invalid version number' | |
return 2 | |
;; | |
esac | |
local PREFIXED_VERSION | |
PREFIXED_VERSION="$(nvm_format_version "${VERSION}")" | |
local MINOR | |
MINOR="$(nvm_echo "${PREFIXED_VERSION}" | nvm_grep -e '^v' | command cut -c2- | command cut -d . -f 1,2)" | |
if [ -z "${MINOR}" ]; then | |
nvm_err 'invalid version number! (please report this)' | |
return 3 | |
fi | |
nvm_echo "${MINOR}" | |
} | |
nvm_ensure_default_set() { | |
local VERSION | |
VERSION="$1" | |
if [ -z "${VERSION}" ]; then | |
nvm_err 'nvm_ensure_default_set: a version is required' | |
return 1 | |
elif nvm_alias default >/dev/null 2>&1; then | |
# default already set | |
return 0 | |
fi | |
local OUTPUT | |
OUTPUT="$(nvm alias default "${VERSION}")" | |
local EXIT_CODE | |
EXIT_CODE="$?" | |
nvm_echo "Creating default alias: ${OUTPUT}" | |
return $EXIT_CODE | |
} | |
nvm_is_merged_node_version() { | |
nvm_version_greater_than_or_equal_to "$1" v4.0.0 | |
} | |
nvm_get_mirror() { | |
case "${1}-${2}" in | |
node-std) nvm_echo "${NVM_NODEJS_ORG_MIRROR:-https://nodejs.org/dist}" ;; | |
iojs-std) nvm_echo "${NVM_IOJS_ORG_MIRROR:-https://iojs.org/dist}" ;; | |
*) | |
nvm_err 'unknown type of node.js or io.js release' | |
return 1 | |
;; | |
esac | |
} | |
# args: flavor, type, version, reinstall | |
nvm_install_binary() { | |
local FLAVOR | |
case "${1-}" in | |
node | iojs) FLAVOR="${1}" ;; | |
*) | |
nvm_err 'supported flavors: node, iojs' | |
return 4 | |
;; | |
esac | |
local TYPE | |
TYPE="${2-}" | |
local PREFIXED_VERSION | |
PREFIXED_VERSION="${3-}" | |
if [ -z "${PREFIXED_VERSION}" ]; then | |
nvm_err 'A version number is required.' | |
return 3 | |
fi | |
local VERSION | |
VERSION="$(nvm_strip_iojs_prefix "${PREFIXED_VERSION}")" | |
if [ -z "$(nvm_get_os)" ]; then | |
return 2 | |
fi | |
local tar_compression_flag | |
tar_compression_flag='z' | |
if nvm_supports_xz "${VERSION}"; then | |
tar_compression_flag='J' | |
fi | |
local TARBALL | |
local TMPDIR | |
local VERSION_PATH | |
local PROGRESS_BAR | |
local NODE_OR_IOJS | |
if [ "${FLAVOR}" = 'node' ]; then | |
NODE_OR_IOJS="${FLAVOR}" | |
elif [ "${FLAVOR}" = 'iojs' ]; then | |
NODE_OR_IOJS="io.js" | |
fi | |
if [ "${NVM_NO_PROGRESS-}" = "1" ]; then | |
# --silent, --show-error, use short option as @samrocketman mentions the compatibility issue. | |
PROGRESS_BAR="-sS" | |
else | |
PROGRESS_BAR="--progress-bar" | |
fi | |
nvm_echo "Downloading and installing ${NODE_OR_IOJS-} ${VERSION}..." | |
TARBALL="$(PROGRESS_BAR="${PROGRESS_BAR}" nvm_download_artifact "${FLAVOR}" binary "${TYPE-}" "${VERSION}" | command tail -1)" | |
if [ -f "${TARBALL}" ]; then | |
TMPDIR="$(dirname "${TARBALL}")/files" | |
fi | |
local tar | |
tar='tar' | |
if [ "${NVM_OS}" = 'aix' ]; then | |
tar='gtar' | |
fi | |
if ( | |
[ -n "${TMPDIR-}" ] && \ | |
command mkdir -p "${TMPDIR}" && \ | |
command "${tar}" -x${tar_compression_flag}f "${TARBALL}" -C "${TMPDIR}" --strip-components 1 && \ | |
VERSION_PATH="$(nvm_version_path "${PREFIXED_VERSION}")" && \ | |
command mkdir -p "${VERSION_PATH}" && \ | |
command mv "${TMPDIR}/"* "${VERSION_PATH}" && \ | |
command rm -rf "${TMPDIR}" | |
); then | |
return 0 | |
fi | |
nvm_err 'Binary download failed, trying source.' | |
if [ -n "${TMPDIR-}" ]; then | |
command rm -rf "${TMPDIR}" | |
fi | |
return 1 | |
} | |
# args: flavor, kind, version | |
nvm_get_download_slug() { | |
local FLAVOR | |
case "${1-}" in | |
node | iojs) FLAVOR="${1}" ;; | |
*) | |
nvm_err 'supported flavors: node, iojs' | |
return 1 | |
;; | |
esac | |
local KIND | |
case "${2-}" in | |
binary | source) KIND="${2}" ;; | |
*) | |
nvm_err 'supported kinds: binary, source' | |
return 2 | |
;; | |
esac | |
local VERSION | |
VERSION="${3-}" | |
local NVM_OS | |
NVM_OS="$(nvm_get_os)" | |
local NVM_ARCH | |
NVM_ARCH="$(nvm_get_arch)" | |
if ! nvm_is_merged_node_version "${VERSION}"; then | |
if [ "${NVM_ARCH}" = 'armv6l' ] || [ "${NVM_ARCH}" = 'armv7l' ]; then | |
NVM_ARCH="arm-pi" | |
fi | |
fi | |
if [ "${KIND}" = 'binary' ]; then | |
nvm_echo "${FLAVOR}-${VERSION}-${NVM_OS}-${NVM_ARCH}" | |
elif [ "${KIND}" = 'source' ]; then | |
nvm_echo "${FLAVOR}-${VERSION}" | |
fi | |
} | |
# args: flavor, kind, type, version | |
nvm_download_artifact() { | |
local FLAVOR | |
case "${1-}" in | |
node | iojs) FLAVOR="${1}" ;; | |
*) | |
nvm_err 'supported flavors: node, iojs' | |
return 1 | |
;; | |
esac | |
local KIND | |
case "${2-}" in | |
binary | source) KIND="${2}" ;; | |
*) | |
nvm_err 'supported kinds: binary, source' | |
return 1 | |
;; | |
esac | |
local TYPE | |
TYPE="${3-}" | |
local MIRROR | |
MIRROR="$(nvm_get_mirror "${FLAVOR}" "${TYPE}")" | |
if [ -z "${MIRROR}" ]; then | |
return 2 | |
fi | |
local VERSION | |
VERSION="${4}" | |
if [ -z "${VERSION}" ]; then | |
nvm_err 'A version number is required.' | |
return 3 | |
fi | |
if [ "${KIND}" = 'binary' ] && ! nvm_binary_available "${VERSION}"; then | |
nvm_err "No precompiled binary available for ${VERSION}." | |
return | |
fi | |
local SLUG | |
SLUG="$(nvm_get_download_slug "${FLAVOR}" "${KIND}" "${VERSION}")" | |
local COMPRESSION | |
COMPRESSION='gz' | |
if nvm_supports_xz "${VERSION}"; then | |
COMPRESSION='xz' | |
fi | |
local CHECKSUM | |
CHECKSUM="$(nvm_get_checksum "${FLAVOR}" "${TYPE}" "${VERSION}" "${SLUG}" "${COMPRESSION}")" | |
local tmpdir | |
if [ "${KIND}" = 'binary' ]; then | |
tmpdir="$(nvm_cache_dir)/bin/${SLUG}" | |
else | |
tmpdir="$(nvm_cache_dir)/src/${SLUG}" | |
fi | |
command mkdir -p "${tmpdir}/files" || ( | |
nvm_err "creating directory ${tmpdir}/files failed" | |
return 3 | |
) | |
local TARBALL | |
TARBALL="${tmpdir}/${SLUG}.tar.${COMPRESSION}" | |
local TARBALL_URL | |
if nvm_version_greater_than_or_equal_to "${VERSION}" 0.1.14; then | |
TARBALL_URL="${MIRROR}/${VERSION}/${SLUG}.tar.${COMPRESSION}" | |
else | |
# node <= 0.1.13 does not have a directory | |
TARBALL_URL="${MIRROR}/${SLUG}.tar.${COMPRESSION}" | |
fi | |
if [ -r "${TARBALL}" ]; then | |
nvm_err "Local cache found: $(nvm_sanitize_path "${TARBALL}")" | |
if nvm_compare_checksum "${TARBALL}" "${CHECKSUM}" >/dev/null 2>&1; then | |
nvm_err "Checksums match! Using existing downloaded archive $(nvm_sanitize_path "${TARBALL}")" | |
nvm_echo "${TARBALL}" | |
return 0 | |
fi | |
nvm_compare_checksum "${TARBALL}" "${CHECKSUM}" | |
nvm_err "Checksum check failed!" | |
nvm_err "Removing the broken local cache..." | |
command rm -rf "${TARBALL}" | |
fi | |
nvm_err "Downloading ${TARBALL_URL}..." | |
nvm_download -L -C - "${PROGRESS_BAR}" "${TARBALL_URL}" -o "${TARBALL}" || ( | |
command rm -rf "${TARBALL}" "${tmpdir}" | |
nvm_err "Binary download from ${TARBALL_URL} failed, trying source." | |
return 4 | |
) | |
if nvm_grep '404 Not Found' "${TARBALL}" >/dev/null; then | |
command rm -rf "${TARBALL}" "${tmpdir}" | |
nvm_err "HTTP 404 at URL ${TARBALL_URL}" | |
return 5 | |
fi | |
nvm_compare_checksum "${TARBALL}" "${CHECKSUM}" || ( | |
command rm -rf "${tmpdir}/files" | |
return 6 | |
) | |
nvm_echo "${TARBALL}" | |
} | |
nvm_get_make_jobs() { | |
if nvm_is_natural_num "${1-}"; then | |
NVM_MAKE_JOBS="$1" | |
nvm_echo "number of \`make\` jobs: ${NVM_MAKE_JOBS}" | |
return | |
elif [ -n "${1-}" ]; then | |
unset NVM_MAKE_JOBS | |
nvm_err "$1 is invalid for number of \`make\` jobs, must be a natural number" | |
fi | |
local NVM_OS | |
NVM_OS="$(nvm_get_os)" | |
local NVM_CPU_CORES | |
case "_${NVM_OS}" in | |
"_linux") | |
NVM_CPU_CORES="$(nvm_grep -c -E '^processor.+: [0-9]+' /proc/cpuinfo)" | |
;; | |
"_freebsd" | "_darwin") | |
NVM_CPU_CORES="$(sysctl -n hw.ncpu)" | |
;; | |
"_sunos") | |
NVM_CPU_CORES="$(psrinfo | wc -l)" | |
;; | |
"_aix") | |
NVM_CPU_CORES="$(pmcycles -m | wc -l)" | |
;; | |
esac | |
if ! nvm_is_natural_num "${NVM_CPU_CORES}"; then | |
nvm_err 'Can not determine how many core(s) are available, running in single-threaded mode.' | |
nvm_err 'Please report an issue on GitHub to help us make nvm run faster on your computer!' | |
NVM_MAKE_JOBS=1 | |
else | |
nvm_echo "Detected that you have ${NVM_CPU_CORES} CPU core(s)" | |
if [ "${NVM_CPU_CORES}" -gt 2 ]; then | |
NVM_MAKE_JOBS=$((NVM_CPU_CORES - 1)) | |
nvm_echo "Running with ${NVM_MAKE_JOBS} threads to speed up the build" | |
else | |
NVM_MAKE_JOBS=1 | |
nvm_echo 'Number of CPU core(s) less than or equal to 2, running in single-threaded mode' | |
fi | |
fi | |
} | |
# args: flavor, type, version, make jobs, additional | |
nvm_install_source() { | |
local FLAVOR | |
case "${1-}" in | |
node | iojs) FLAVOR="${1}" ;; | |
*) | |
nvm_err 'supported flavors: node, iojs' | |
return 4 | |
;; | |
esac | |
local TYPE | |
TYPE="${2-}" | |
local PREFIXED_VERSION | |
PREFIXED_VERSION="${3-}" | |
if [ -z "${PREFIXED_VERSION}" ]; then | |
nvm_err 'A version number is required.' | |
return 3 | |
fi | |
local VERSION | |
VERSION="$(nvm_strip_iojs_prefix "${PREFIXED_VERSION}")" | |
local NVM_MAKE_JOBS | |
NVM_MAKE_JOBS="${4-}" | |
local ADDITIONAL_PARAMETERS | |
ADDITIONAL_PARAMETERS="${5-}" | |
local NVM_ARCH | |
NVM_ARCH="$(nvm_get_arch)" | |
if [ "${NVM_ARCH}" = 'armv6l' ] || [ "${NVM_ARCH}" = 'armv7l' ]; then | |
if [ -n "${ADDITIONAL_PARAMETERS}" ]; then | |
ADDITIONAL_PARAMETERS="--without-snapshot ${ADDITIONAL_PARAMETERS}" | |
else | |
ADDITIONAL_PARAMETERS='--without-snapshot' | |
fi | |
fi | |
if [ -n "${ADDITIONAL_PARAMETERS}" ]; then | |
nvm_echo "Additional options while compiling: ${ADDITIONAL_PARAMETERS}" | |
fi | |
local NVM_OS | |
NVM_OS="$(nvm_get_os)" | |
local make | |
make='make' | |
local MAKE_CXX | |
case "${NVM_OS}" in | |
'freebsd') | |
make='gmake' | |
MAKE_CXX="CC=${CC:-cc} CXX=${CXX:-c++}" | |
;; | |
'darwin') | |
MAKE_CXX="CC=${CC:-cc} CXX=${CXX:-c++}" | |
;; | |
'aix') | |
make='gmake' | |
;; | |
esac | |
if nvm_has "clang++" && nvm_has "clang" && nvm_version_greater_than_or_equal_to "$(nvm_clang_version)" 3.5; then | |
if [ -z "${CC-}" ] || [ -z "${CXX-}" ]; then | |
nvm_echo "Clang v3.5+ detected! CC or CXX not specified, will use Clang as C/C++ compiler!" | |
MAKE_CXX="CC=${CC:-cc} CXX=${CXX:-c++}" | |
fi | |
fi | |
local tar_compression_flag | |
tar_compression_flag='z' | |
if nvm_supports_xz "${VERSION}"; then | |
tar_compression_flag='J' | |
fi | |
local tar | |
tar='tar' | |
if [ "${NVM_OS}" = 'aix' ]; then | |
tar='gtar' | |
fi | |
local TARBALL | |
local TMPDIR | |
local VERSION_PATH | |
if [ "${NVM_NO_PROGRESS-}" = "1" ]; then | |
# --silent, --show-error, use short option as @samrocketman mentions the compatibility issue. | |
PROGRESS_BAR="-sS" | |
else | |
PROGRESS_BAR="--progress-bar" | |
fi | |
nvm_is_zsh && setopt local_options shwordsplit | |
TARBALL="$(PROGRESS_BAR="${PROGRESS_BAR}" nvm_download_artifact "${FLAVOR}" source "${TYPE}" "${VERSION}" | command tail -1)" && \ | |
[ -f "${TARBALL}" ] && \ | |
TMPDIR="$(dirname "${TARBALL}")/files" && \ | |
if ! ( | |
# shellcheck disable=SC2086 | |
command mkdir -p "${TMPDIR}" && \ | |
command "${tar}" -x${tar_compression_flag}f "${TARBALL}" -C "${TMPDIR}" --strip-components 1 && \ | |
VERSION_PATH="$(nvm_version_path "${PREFIXED_VERSION}")" && \ | |
nvm_cd "${TMPDIR}" && \ | |
nvm_echo '$>'./configure --prefix="${VERSION_PATH}" $ADDITIONAL_PARAMETERS'<' && \ | |
./configure --prefix="${VERSION_PATH}" $ADDITIONAL_PARAMETERS && \ | |
$make -j "${NVM_MAKE_JOBS}" ${MAKE_CXX-} && \ | |
command rm -f "${VERSION_PATH}" 2>/dev/null && \ | |
$make -j "${NVM_MAKE_JOBS}" ${MAKE_CXX-} install | |
); then | |
nvm_err "nvm: install ${VERSION} failed!" | |
command rm -rf "${TMPDIR-}" | |
return 1 | |
fi | |
} | |
nvm_use_if_needed() { | |
if [ "_${1-}" = "_$(nvm_ls_current)" ]; then | |
return | |
fi | |
nvm use "$@" | |
} | |
nvm_install_npm_if_needed() { | |
local VERSION | |
VERSION="$(nvm_ls_current)" | |
if ! nvm_has "npm"; then | |
nvm_echo 'Installing npm...' | |
if nvm_version_greater 0.2.0 "${VERSION}"; then | |
nvm_err 'npm requires node v0.2.3 or higher' | |
elif nvm_version_greater_than_or_equal_to "${VERSION}" 0.2.0; then | |
if nvm_version_greater 0.2.3 "${VERSION}"; then | |
nvm_err 'npm requires node v0.2.3 or higher' | |
else | |
nvm_download -L https://npmjs.org/install.sh -o - | clean=yes npm_install=0.2.19 sh | |
fi | |
else | |
nvm_download -L https://npmjs.org/install.sh -o - | clean=yes sh | |
fi | |
fi | |
return $? | |
} | |
nvm_match_version() { | |
local NVM_IOJS_PREFIX | |
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)" | |
local PROVIDED_VERSION | |
PROVIDED_VERSION="$1" | |
case "_${PROVIDED_VERSION}" in | |
"_${NVM_IOJS_PREFIX}" | '_io.js') | |
nvm_version "${NVM_IOJS_PREFIX}" | |
;; | |
'_system') | |
nvm_echo 'system' | |
;; | |
*) | |
nvm_version "${PROVIDED_VERSION}" | |
;; | |
esac | |
} | |
nvm_npm_global_modules() { | |
local NPMLIST | |
local VERSION | |
VERSION="$1" | |
NPMLIST=$(nvm use "${VERSION}" >/dev/null && npm list -g --depth=0 2>/dev/null | command sed 1,1d) | |
local INSTALLS | |
INSTALLS=$(nvm_echo "${NPMLIST}" | command sed -e '/ -> / d' -e '/\(empty\)/ d' -e 's/^.* \(.*@[^ ]*\).*/\1/' -e '/^npm@[^ ]*.*$/ d' | command xargs) | |
local LINKS | |
LINKS="$(nvm_echo "${NPMLIST}" | command sed -n 's/.* -> \(.*\)/\1/ p')" | |
nvm_echo "${INSTALLS} //// ${LINKS}" | |
} | |
nvm_die_on_prefix() { | |
local NVM_DELETE_PREFIX | |
NVM_DELETE_PREFIX="$1" | |
case "${NVM_DELETE_PREFIX}" in | |
0 | 1) ;; | |
*) | |
nvm_err 'First argument "delete the prefix" must be zero or one' | |
return 1 | |
;; | |
esac | |
local NVM_COMMAND | |
NVM_COMMAND="$2" | |
if [ -z "${NVM_COMMAND}" ]; then | |
nvm_err 'Second argument "nvm command" must be nonempty' | |
return 2 | |
fi | |
# npm first looks at $PREFIX (case-sensitive) | |
# we do not bother to test the value here; if this env var is set, unset it to continue. | |
if [ -n "${PREFIX-}" ]; then | |
nvm deactivate >/dev/null 2>&1 | |
nvm_err "nvm is not compatible with the \"PREFIX\" environment variable: currently set to \"${PREFIX}\"" | |
nvm_err 'Run `unset PREFIX` to unset it.' | |
return 3 | |
fi | |
# npm normalizes NPM_CONFIG_-prefixed env vars | |
# https://github.com/npm/npmconf/blob/22827e4038d6eebaafeb5c13ed2b92cf97b8fb82/npmconf.js#L331-L348 | |
# https://github.com/npm/npm/blob/5e426a78ca02d0044f8dd26e0c5f881217081cbd/lib/config/core.js#L343-L359 | |
# | |
# here, we avoid trying to replicate "which one wins" or testing the value; if any are defined, it errors | |
# until none are left. | |
local NVM_NPM_CONFIG_PREFIX_ENV | |
NVM_NPM_CONFIG_PREFIX_ENV="$(command env | nvm_grep -i NPM_CONFIG_PREFIX | command tail -1 | command awk -F '=' '{print $1}')" | |
if [ -n "${NVM_NPM_CONFIG_PREFIX_ENV-}" ]; then | |
local NVM_CONFIG_VALUE | |
eval "NVM_CONFIG_VALUE=\"\$${NVM_NPM_CONFIG_PREFIX_ENV}\"" | |
if [ -n "${NVM_CONFIG_VALUE-}" ]; then | |
nvm deactivate >/dev/null 2>&1 | |
nvm_err "nvm is not compatible with the \"${NVM_NPM_CONFIG_PREFIX_ENV}\" environment variable: currently set to \"${NVM_CONFIG_VALUE}\"" | |
nvm_err "Run \`unset ${NVM_NPM_CONFIG_PREFIX_ENV}\` to unset it." | |
return 4 | |
fi | |
fi | |
if ! nvm_has 'npm'; then | |
return | |
fi | |
local NVM_NPM_PREFIX | |
NVM_NPM_PREFIX="$(npm config --loglevel=warn get prefix)" | |
if ! (nvm_tree_contains_path "${NVM_DIR}" "${NVM_NPM_PREFIX}" >/dev/null 2>&1); then | |
if [ "_${NVM_DELETE_PREFIX}" = "_1" ]; then | |
npm config --loglevel=warn delete prefix | |
else | |
nvm deactivate >/dev/null 2>&1 | |
nvm_err "nvm is not compatible with the npm config \"prefix\" option: currently set to \"${NVM_NPM_PREFIX}\"" | |
if nvm_has 'npm'; then | |
nvm_err "Run \`npm config delete prefix\` or \`${NVM_COMMAND}\` to unset it." | |
else | |
nvm_err "Run \`${NVM_COMMAND}\` to unset it." | |
fi | |
return 10 | |
fi | |
fi | |
} | |
# Succeeds if $IOJS_VERSION represents an io.js version that has a | |
# Solaris binary, fails otherwise. | |
# Currently, only io.js 3.3.1 has a Solaris binary available, and it's the | |
# latest io.js version available. The expectation is that any potential io.js | |
# version later than v3.3.1 will also have Solaris binaries. | |
iojs_version_has_solaris_binary() { | |
local IOJS_VERSION | |
IOJS_VERSION="$1" | |
local STRIPPED_IOJS_VERSION | |
STRIPPED_IOJS_VERSION="$(nvm_strip_iojs_prefix "${IOJS_VERSION}")" | |
if [ "_${STRIPPED_IOJS_VERSION}" = "${IOJS_VERSION}" ]; then | |
return 1 | |
fi | |
# io.js started shipping Solaris binaries with io.js v3.3.1 | |
nvm_version_greater_than_or_equal_to "${STRIPPED_IOJS_VERSION}" v3.3.1 | |
} | |
# Succeeds if $NODE_VERSION represents a node version that has a | |
# Solaris binary, fails otherwise. | |
# Currently, node versions starting from v0.8.6 have a Solaris binary | |
# available. | |
node_version_has_solaris_binary() { | |
local NODE_VERSION | |
NODE_VERSION="$1" | |
# Error out if $NODE_VERSION is actually an io.js version | |
local STRIPPED_IOJS_VERSION | |
STRIPPED_IOJS_VERSION="$(nvm_strip_iojs_prefix "${NODE_VERSION}")" | |
if [ "_${STRIPPED_IOJS_VERSION}" != "_${NODE_VERSION}" ]; then | |
return 1 | |
fi | |
# node (unmerged) started shipping Solaris binaries with v0.8.6 and | |
# node versions v1.0.0 or greater are not considered valid "unmerged" node | |
# versions. | |
nvm_version_greater_than_or_equal_to "${NODE_VERSION}" v0.8.6 \ | |
&& ! nvm_version_greater_than_or_equal_to "${NODE_VERSION}" v1.0.0 | |
} | |
# Succeeds if $VERSION represents a version (node, io.js or merged) that has a | |
# Solaris binary, fails otherwise. | |
nvm_has_solaris_binary() { | |
local VERSION=$1 | |
if nvm_is_merged_node_version "${VERSION}"; then | |
return 0 # All merged node versions have a Solaris binary | |
elif nvm_is_iojs_version "${VERSION}"; then | |
iojs_version_has_solaris_binary "${VERSION}" | |
else | |
node_version_has_solaris_binary "${VERSION}" | |
fi | |
} | |
nvm_sanitize_path() { | |
local SANITIZED_PATH | |
SANITIZED_PATH="${1-}" | |
if [ "_${SANITIZED_PATH}" != "_${NVM_DIR}" ]; then | |
SANITIZED_PATH="$(nvm_echo "${SANITIZED_PATH}" | command sed -e "s#${NVM_DIR}#\${NVM_DIR}#g")" | |
fi | |
if [ "_${SANITIZED_PATH}" != "_${HOME}" ]; then | |
SANITIZED_PATH="$(nvm_echo "${SANITIZED_PATH}" | command sed -e "s#${HOME}#\${HOME}#g")" | |
fi | |
nvm_echo "${SANITIZED_PATH}" | |
} | |
nvm_is_natural_num() { | |
if [ -z "$1" ]; then | |
return 4 | |
fi | |
case "$1" in | |
0) return 1 ;; | |
-*) return 3 ;; # some BSDs return false positives for double-negated args | |
*) | |
[ "$1" -eq "$1" ] 2>/dev/null # returns 2 if it doesn't match | |
;; | |
esac | |
} | |
# Check version dir permissions | |
nvm_check_file_permissions() { | |
nvm_is_zsh && setopt local_options nonomatch | |
for FILE in "$1"/* "$1"/.[!.]* "$1"/..?* ; do | |
if [ -d "$FILE" ]; then | |
if ! nvm_check_file_permissions "$FILE"; then | |
return 2 | |
fi | |
elif [ -e "$FILE" ] && [ ! -w "$FILE" ] && [ ! -O "$FILE" ]; then | |
nvm_err "file is not writable or self-owned: $(nvm_sanitize_path "$FILE")" | |
return 1 | |
fi | |
done | |
return 0 | |
} | |
nvm_cache_dir() { | |
nvm_echo "${NVM_DIR}/.cache" | |
} | |
nvm() { | |
if [ $# -lt 1 ]; then | |
nvm --help | |
return | |
fi | |
local DEFAULT_IFS | |
DEFAULT_IFS=" $(nvm_echo t | command tr t \\t) | |
" | |
if [ "${-#*e}" != "$-" ]; then | |
set +e | |
local EXIT_CODE | |
IFS="${DEFAULT_IFS}" nvm "$@" | |
EXIT_CODE=$? | |
set -e | |
return $EXIT_CODE | |
elif [ "${IFS}" != "${DEFAULT_IFS}" ]; then | |
IFS="${DEFAULT_IFS}" nvm "$@" | |
return $? | |
fi | |
local COMMAND | |
COMMAND="${1-}" | |
shift | |
# initialize local variables | |
local VERSION | |
local ADDITIONAL_PARAMETERS | |
case $COMMAND in | |
'help' | '--help') | |
local NVM_IOJS_PREFIX | |
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)" | |
local NVM_NODE_PREFIX | |
NVM_NODE_PREFIX="$(nvm_node_prefix)" | |
NVM_VERSION="$(nvm --version)" | |
nvm_echo | |
nvm_echo "Node Version Manager (v${NVM_VERSION})" | |
nvm_echo | |
nvm_echo 'Note: <version> refers to any version-like string nvm understands. This includes:' | |
nvm_echo ' - full or partial version numbers, starting with an optional "v" (0.10, v0.1.2, v1)' | |
nvm_echo " - default (built-in) aliases: ${NVM_NODE_PREFIX}, stable, unstable, ${NVM_IOJS_PREFIX}, system" | |
nvm_echo ' - custom aliases you define with `nvm alias foo`' | |
nvm_echo | |
nvm_echo ' Any options that produce colorized output should respect the `--no-colors` option.' | |
nvm_echo | |
nvm_echo 'Usage:' | |
nvm_echo ' nvm --help Show this message' | |
nvm_echo ' nvm --version Print out the installed version of nvm' | |
nvm_echo ' nvm install [-s] <version> Download and install a <version>, [-s] from source. Uses .nvmrc if available' | |
nvm_echo ' --reinstall-packages-from=<version> When installing, reinstall packages installed in <node|iojs|node version number>' | |
nvm_echo ' --lts When installing, only select from LTS (long-term support) versions' | |
nvm_echo ' --lts=<LTS name> When installing, only select from versions for a specific LTS line' | |
nvm_echo ' --skip-default-packages When installing, skip the default-packages file if it exists' | |
nvm_echo ' --latest-npm After installing, attempt to upgrade to the latest working npm on the given node version' | |
nvm_echo ' --no-progress Disable the progress bar on any downloads' | |
nvm_echo ' nvm uninstall <version> Uninstall a version' | |
nvm_echo ' nvm uninstall --lts Uninstall using automatic LTS (long-term support) alias `lts/*`, if available.' | |
nvm_echo ' nvm uninstall --lts=<LTS name> Uninstall using automatic alias for provided LTS line, if available.' | |
nvm_echo ' nvm use [--silent] <version> Modify PATH to use <version>. Uses .nvmrc if available' | |
nvm_echo ' --lts Uses automatic LTS (long-term support) alias `lts/*`, if available.' | |
nvm_echo ' --lts=<LTS name> Uses automatic alias for provided LTS line, if available.' | |
nvm_echo ' nvm exec [--silent] <version> [<command>] Run <command> on <version>. Uses .nvmrc if available' | |
nvm_echo ' --lts Uses automatic LTS (long-term support) alias `lts/*`, if available.' | |
nvm_echo ' --lts=<LTS name> Uses automatic alias for provided LTS line, if available.' | |
nvm_echo ' nvm run [--silent] <version> [<args>] Run `node` on <version> with <args> as arguments. Uses .nvmrc if available' | |
nvm_echo ' --lts Uses automatic LTS (long-term support) alias `lts/*`, if available.' | |
nvm_echo ' --lts=<LTS name> Uses automatic alias for provided LTS line, if available.' | |
nvm_echo ' nvm current Display currently activated version of Node' | |
nvm_echo ' nvm ls [<version>] List installed versions, matching a given <version> if provided' | |
nvm_echo ' --no-colors Suppress colored output' | |
nvm_echo ' --no-alias Suppress `nvm alias` output' | |
nvm_echo ' nvm ls-remote [<version>] List remote versions available for install, matching a given <version> if provided' | |
nvm_echo ' --lts When listing, only show LTS (long-term support) versions' | |
nvm_echo ' --lts=<LTS name> When listing, only show versions for a specific LTS line' | |
nvm_echo ' --no-colors Suppress colored output' | |
nvm_echo ' nvm version <version> Resolve the given description to a single local version' | |
nvm_echo ' nvm version-remote <version> Resolve the given description to a single remote version' | |
nvm_echo ' --lts When listing, only select from LTS (long-term support) versions' | |
nvm_echo ' --lts=<LTS name> When listing, only select from versions for a specific LTS line' | |
nvm_echo ' nvm deactivate Undo effects of `nvm` on current shell' | |
nvm_echo ' nvm alias [<pattern>] Show all aliases beginning with <pattern>' | |
nvm_echo ' --no-colors Suppress colored output' | |
nvm_echo ' nvm alias <name> <version> Set an alias named <name> pointing to <version>' | |
nvm_echo ' nvm unalias <name> Deletes the alias named <name>' | |
nvm_echo ' nvm install-latest-npm Attempt to upgrade to the latest working `npm` on the current node version' | |
nvm_echo ' nvm reinstall-packages <version> Reinstall global `npm` packages contained in <version> to current version' | |
nvm_echo ' nvm unload Unload `nvm` from shell' | |
nvm_echo ' nvm which [current | <version>] Display path to installed node version. Uses .nvmrc if available' | |
nvm_echo ' nvm cache dir Display path to the cache directory for nvm' | |
nvm_echo ' nvm cache clear Empty cache directory for nvm' | |
nvm_echo | |
nvm_echo 'Example:' | |
nvm_echo ' nvm install 8.0.0 Install a specific version number' | |
nvm_echo ' nvm use 8.0 Use the latest available 8.0.x release' | |
nvm_echo ' nvm run 6.10.3 app.js Run app.js using node 6.10.3' | |
nvm_echo ' nvm exec 4.8.3 node app.js Run `node app.js` with the PATH pointing to node 4.8.3' | |
nvm_echo ' nvm alias default 8.1.0 Set default node version on a shell' | |
nvm_echo ' nvm alias default node Always default to the latest available node version on a shell' | |
nvm_echo | |
nvm_echo 'Note:' | |
nvm_echo ' to remove, delete, or uninstall nvm - just remove the `$NVM_DIR` folder (usually `~/.nvm`)' | |
nvm_echo | |
;; | |
"cache") | |
case "${1-}" in | |
dir) nvm_cache_dir ;; | |
clear) | |
local DIR | |
DIR="$(nvm_cache_dir)" | |
if command rm -rf "${DIR}" && command mkdir -p "${DIR}"; then | |
nvm_echo 'nvm cache cleared.' | |
else | |
nvm_err "Unable to clear nvm cache: ${DIR}" | |
return 1 | |
fi | |
;; | |
*) | |
>&2 nvm --help | |
return 127 | |
;; | |
esac | |
;; | |
"debug") | |
local OS_VERSION | |
nvm_is_zsh && setopt local_options shwordsplit | |
nvm_err "nvm --version: v$(nvm --version)" | |
if [ -n "${TERM_PROGRAM-}" ]; then | |
nvm_err "\$TERM_PROGRAM: ${TERM_PROGRAM}" | |
fi | |
nvm_err "\$SHELL: ${SHELL}" | |
# shellcheck disable=SC2169 | |
nvm_err "\$SHLVL: ${SHLVL-}" | |
nvm_err "\${HOME}: ${HOME}" | |
nvm_err "\${NVM_DIR}: '$(nvm_sanitize_path "${NVM_DIR}")'" | |
nvm_err "\${PATH}: $(nvm_sanitize_path "${PATH}")" | |
nvm_err "\$PREFIX: '$(nvm_sanitize_path "${PREFIX}")'" | |
nvm_err "\${NPM_CONFIG_PREFIX}: '$(nvm_sanitize_path "${NPM_CONFIG_PREFIX}")'" | |
nvm_err "\$NVM_NODEJS_ORG_MIRROR: '${NVM_NODEJS_ORG_MIRROR}'" | |
nvm_err "\$NVM_IOJS_ORG_MIRROR: '${NVM_IOJS_ORG_MIRROR}'" | |
nvm_err "shell version: '$(${SHELL} --version | command head -n 1)'" | |
nvm_err "uname -a: '$(command uname -a | command awk '{$2=""; print}' | command xargs)'" | |
if [ "$(nvm_get_os)" = "darwin" ] && nvm_has sw_vers; then | |
OS_VERSION="$(sw_vers | command awk '{print $2}' | command xargs)" | |
elif [ -r "/etc/issue" ]; then | |
OS_VERSION="$(command head -n 1 /etc/issue | command sed 's/\\.//g')" | |
if [ -z "${OS_VERSION}" ] && [ -r "/etc/os-release" ]; then | |
# shellcheck disable=SC1091 | |
OS_VERSION="$(. /etc/os-release && echo "${NAME}" "${VERSION}")" | |
fi | |
fi | |
if [ -n "${OS_VERSION}" ]; then | |
nvm_err "OS version: ${OS_VERSION}" | |
fi | |
if nvm_has "curl"; then | |
nvm_err "curl: $(nvm_command_info curl), $(command curl -V | command head -n 1)" | |
else | |
nvm_err "curl: not found" | |
fi | |
if nvm_has "wget"; then | |
nvm_err "wget: $(nvm_command_info wget), $(command wget -V | command head -n 1)" | |
else | |
nvm_err "wget: not found" | |
fi | |
local TEST_TOOLS ADD_TEST_TOOLS | |
TEST_TOOLS="git grep awk" | |
ADD_TEST_TOOLS="sed cut basename rm mkdir xargs" | |
if [ "darwin" != "$(nvm_get_os)" ] && [ "freebsd" != "$(nvm_get_os)" ]; then | |
TEST_TOOLS="${TEST_TOOLS} ${ADD_TEST_TOOLS}" | |
else | |
for tool in ${ADD_TEST_TOOLS} ; do | |
if nvm_has "${tool}"; then | |
nvm_err "${tool}: $(nvm_command_info "${tool}")" | |
else | |
nvm_err "${tool}: not found" | |
fi | |
done | |
fi | |
for tool in ${TEST_TOOLS} ; do | |
local NVM_TOOL_VERSION | |
if nvm_has "${tool}"; then | |
if command ls -l "$(nvm_command_info "${tool}" | command awk '{print $1}')" | command grep -q busybox; then | |
NVM_TOOL_VERSION="$(command "${tool}" --help 2>&1 | command head -n 1)" | |
else | |
NVM_TOOL_VERSION="$(command "${tool}" --version 2>&1 | command head -n 1)" | |
fi | |
nvm_err "${tool}: $(nvm_command_info "${tool}"), ${NVM_TOOL_VERSION}" | |
else | |
nvm_err "${tool}: not found" | |
fi | |
unset NVM_TOOL_VERSION | |
done | |
unset TEST_TOOLS ADD_TEST_TOOLS | |
local NVM_DEBUG_OUTPUT | |
for NVM_DEBUG_COMMAND in 'nvm current' 'which node' 'which iojs' 'which npm' 'npm config get prefix' 'npm root -g'; do | |
NVM_DEBUG_OUTPUT="$(${NVM_DEBUG_COMMAND} 2>&1)" | |
nvm_err "${NVM_DEBUG_COMMAND}: $(nvm_sanitize_path "${NVM_DEBUG_OUTPUT}")" | |
done | |
return 42 | |
;; | |
"install" | "i") | |
local version_not_provided | |
version_not_provided=0 | |
local NVM_OS | |
NVM_OS="$(nvm_get_os)" | |
if ! nvm_has "curl" && ! nvm_has "wget"; then | |
nvm_err 'nvm needs curl or wget to proceed.' | |
return 1 | |
fi | |
if [ $# -lt 1 ]; then | |
version_not_provided=1 | |
fi | |
local nobinary | |
local noprogress | |
nobinary=0 | |
noprogress=0 | |
local LTS | |
local NVM_UPGRADE_NPM | |
NVM_UPGRADE_NPM=0 | |
while [ $# -ne 0 ]; do | |
case "$1" in | |
---*) | |
nvm_err 'arguments with `---` are not supported - this is likely a typo' | |
return 55; | |
;; | |
-s) | |
shift # consume "-s" | |
nobinary=1 | |
;; | |
-j) | |
shift # consume "-j" | |
nvm_get_make_jobs "$1" | |
shift # consume job count | |
;; | |
--no-progress) | |
noprogress=1 | |
shift | |
;; | |
--lts) | |
LTS='*' | |
shift | |
;; | |
--lts=*) | |
LTS="${1##--lts=}" | |
shift | |
;; | |
--latest-npm) | |
NVM_UPGRADE_NPM=1 | |
shift | |
;; | |
*) | |
break # stop parsing args | |
;; | |
esac | |
done | |
local provided_version | |
provided_version="${1-}" | |
if [ -z "${provided_version}" ]; then | |
if [ "_${LTS-}" = '_*' ]; then | |
nvm_echo 'Installing latest LTS version.' | |
if [ $# -gt 0 ]; then | |
shift | |
fi | |
elif [ "_${LTS-}" != '_' ]; then | |
nvm_echo "Installing with latest version of LTS line: ${LTS}" | |
if [ $# -gt 0 ]; then | |
shift | |
fi | |
else | |
nvm_rc_version | |
if [ $version_not_provided -eq 1 ] && [ -z "${NVM_RC_VERSION}" ]; then | |
unset NVM_RC_VERSION | |
>&2 nvm --help | |
return 127 | |
fi | |
provided_version="${NVM_RC_VERSION}" | |
unset NVM_RC_VERSION | |
fi | |
elif [ $# -gt 0 ]; then | |
shift | |
fi | |
case "${provided_version}" in | |
'lts/*') | |
LTS='*' | |
provided_version='' | |
;; | |
lts/*) | |
LTS="${provided_version##lts/}" | |
provided_version='' | |
;; | |
esac | |
VERSION="$(NVM_VERSION_ONLY=true NVM_LTS="${LTS-}" nvm_remote_version "${provided_version}")" | |
if [ "${VERSION}" = 'N/A' ]; then | |
local LTS_MSG | |
local REMOTE_CMD | |
if [ "${LTS-}" = '*' ]; then | |
LTS_MSG='(with LTS filter) ' | |
REMOTE_CMD='nvm ls-remote --lts' | |
elif [ -n "${LTS-}" ]; then | |
LTS_MSG="(with LTS filter '${LTS}') " | |
REMOTE_CMD="nvm ls-remote --lts=${LTS}" | |
else | |
REMOTE_CMD='nvm ls-remote' | |
fi | |
nvm_err "Version '${provided_version}' ${LTS_MSG-}not found - try \`${REMOTE_CMD}\` to browse available versions." | |
return 3 | |
fi | |
ADDITIONAL_PARAMETERS='' | |
local PROVIDED_REINSTALL_PACKAGES_FROM | |
local REINSTALL_PACKAGES_FROM | |
local SKIP_DEFAULT_PACKAGES | |
local DEFAULT_PACKAGES | |
while [ $# -ne 0 ]; do | |
case "$1" in | |
--reinstall-packages-from=*) | |
PROVIDED_REINSTALL_PACKAGES_FROM="$(nvm_echo "$1" | command cut -c 27-)" | |
if [ -z "${PROVIDED_REINSTALL_PACKAGES_FROM}" ]; then | |
nvm_err 'If --reinstall-packages-from is provided, it must point to an installed version of node.' | |
return 6 | |
fi | |
REINSTALL_PACKAGES_FROM="$(nvm_version "${PROVIDED_REINSTALL_PACKAGES_FROM}")" ||: | |
;; | |
--reinstall-packages-from) | |
nvm_err 'If --reinstall-packages-from is provided, it must point to an installed version of node using `=`.' | |
return 6 | |
;; | |
--copy-packages-from=*) | |
PROVIDED_REINSTALL_PACKAGES_FROM="$(nvm_echo "$1" | command cut -c 22-)" | |
REINSTALL_PACKAGES_FROM="$(nvm_version "${PROVIDED_REINSTALL_PACKAGES_FROM}")" ||: | |
;; | |
--skip-default-packages) | |
SKIP_DEFAULT_PACKAGES=true | |
;; | |
*) | |
ADDITIONAL_PARAMETERS="${ADDITIONAL_PARAMETERS} $1" | |
;; | |
esac | |
shift | |
done | |
if [ -z "${SKIP_DEFAULT_PACKAGES-}" ]; then | |
DEFAULT_PACKAGES="$(nvm_get_default_packages)" | |
EXIT_CODE=$? | |
if [ $EXIT_CODE -ne 0 ]; then | |
return $EXIT_CODE | |
fi | |
fi | |
if [ -n "${PROVIDED_REINSTALL_PACKAGES_FROM-}" ] && [ "$(nvm_ensure_version_prefix "${PROVIDED_REINSTALL_PACKAGES_FROM}")" = "${VERSION}" ]; then | |
nvm_err "You can't reinstall global packages from the same version of node you're installing." | |
return 4 | |
elif [ "${REINSTALL_PACKAGES_FROM-}" = 'N/A' ]; then | |
nvm_err "If --reinstall-packages-from is provided, it must point to an installed version of node." | |
return 5 | |
fi | |
local FLAVOR | |
if nvm_is_iojs_version "${VERSION}"; then | |
FLAVOR="$(nvm_iojs_prefix)" | |
else | |
FLAVOR="$(nvm_node_prefix)" | |
fi | |
if nvm_is_version_installed "${VERSION}"; then | |
nvm_err "${VERSION} is already installed." | |
if nvm use "${VERSION}"; then | |
if [ "${NVM_UPGRADE_NPM}" = 1 ]; then | |
nvm install-latest-npm | |
fi | |
if [ -z "${SKIP_DEFAULT_PACKAGES-}" ] && [ -n "${DEFAULT_PACKAGES-}" ]; then | |
nvm_install_default_packages "${DEFAULT_PACKAGES}" | |
fi | |
if [ -n "${REINSTALL_PACKAGES_FROM-}" ] && [ "_${REINSTALL_PACKAGES_FROM}" != "_N/A" ]; then | |
nvm reinstall-packages "${REINSTALL_PACKAGES_FROM}" | |
fi | |
fi | |
if [ -n "${LTS-}" ]; then | |
LTS="$(echo "${LTS}" | tr '[:upper:]' '[:lower:]')" | |
nvm_ensure_default_set "lts/${LTS}" | |
else | |
nvm_ensure_default_set "${provided_version}" | |
fi | |
return $? | |
fi | |
local EXIT_CODE | |
EXIT_CODE=-1 | |
if [ -n "${NVM_INSTALL_THIRD_PARTY_HOOK-}" ]; then | |
nvm_err '** $NVM_INSTALL_THIRD_PARTY_HOOK env var set; dispatching to third-party installation method **' | |
local NVM_METHOD_PREFERENCE | |
NVM_METHOD_PREFERENCE='binary' | |
if [ $nobinary -eq 1 ]; then | |
NVM_METHOD_PREFERENCE='source' | |
fi | |
local VERSION_PATH | |
VERSION_PATH="$(nvm_version_path "${VERSION}")" | |
"${NVM_INSTALL_THIRD_PARTY_HOOK}" "${VERSION}" "${FLAVOR}" std "${NVM_METHOD_PREFERENCE}" "${VERSION_PATH}" || { | |
EXIT_CODE=$? | |
nvm_err '*** Third-party $NVM_INSTALL_THIRD_PARTY_HOOK env var failed to install! ***' | |
return $EXIT_CODE | |
} | |
if ! nvm_is_version_installed "${VERSION}"; then | |
nvm_err '*** Third-party $NVM_INSTALL_THIRD_PARTY_HOOK env var claimed to succeed, but failed to install! ***' | |
return 33 | |
fi | |
EXIT_CODE=0 | |
else | |
if [ "_${NVM_OS}" = "_freebsd" ]; then | |
# node.js and io.js do not have a FreeBSD binary | |
nobinary=1 | |
nvm_err "Currently, there is no binary for FreeBSD" | |
elif [ "_${NVM_OS}" = "_sunos" ]; then | |
# Not all node/io.js versions have a Solaris binary | |
if ! nvm_has_solaris_binary "${VERSION}"; then | |
nobinary=1 | |
nvm_err "Currently, there is no binary of version ${VERSION} for SunOS" | |
fi | |
fi | |
# skip binary install if "nobinary" option specified. | |
if [ $nobinary -ne 1 ] && nvm_binary_available "${VERSION}"; then | |
NVM_NO_PROGRESS="${NVM_NO_PROGRESS:-${noprogress}}" nvm_install_binary "${FLAVOR}" std "${VERSION}" | |
EXIT_CODE=$? | |
fi | |
if [ $EXIT_CODE -ne 0 ]; then | |
if [ -z "${NVM_MAKE_JOBS-}" ]; then | |
nvm_get_make_jobs | |
fi | |
NVM_NO_PROGRESS="${NVM_NO_PROGRESS:-${noprogress}}" nvm_install_source "${FLAVOR}" std "${VERSION}" "${NVM_MAKE_JOBS}" "${ADDITIONAL_PARAMETERS}" | |
EXIT_CODE=$? | |
fi | |
fi | |
if [ $EXIT_CODE -eq 0 ] && nvm_use_if_needed "${VERSION}" && nvm_install_npm_if_needed "${VERSION}"; then | |
if [ -n "${LTS-}" ]; then | |
nvm_ensure_default_set "lts/${LTS}" | |
else | |
nvm_ensure_default_set "${provided_version}" | |
fi | |
if [ "${NVM_UPGRADE_NPM}" = 1 ]; then | |
nvm install-latest-npm | |
EXIT_CODE=$? | |
fi | |
if [ -z "${SKIP_DEFAULT_PACKAGES-}" ] && [ -n "${DEFAULT_PACKAGES-}" ]; then | |
nvm_install_default_packages "${DEFAULT_PACKAGES}" | |
fi | |
if [ -n "${REINSTALL_PACKAGES_FROM-}" ] && [ "_${REINSTALL_PACKAGES_FROM}" != "_N/A" ]; then | |
nvm reinstall-packages "${REINSTALL_PACKAGES_FROM}" | |
EXIT_CODE=$? | |
fi | |
else | |
EXIT_CODE=$? | |
fi | |
return $EXIT_CODE | |
;; | |
"uninstall") | |
if [ $# -ne 1 ]; then | |
>&2 nvm --help | |
return 127 | |
fi | |
local PATTERN | |
PATTERN="${1-}" | |
case "${PATTERN-}" in | |
--) ;; | |
--lts | 'lts/*') | |
VERSION="$(nvm_match_version "lts/*")" | |
;; | |
lts/*) | |
VERSION="$(nvm_match_version "lts/${PATTERN##lts/}")" | |
;; | |
--lts=*) | |
VERSION="$(nvm_match_version "lts/${PATTERN##--lts=}")" | |
;; | |
*) | |
VERSION="$(nvm_version "${PATTERN}")" | |
;; | |
esac | |
if [ "_${VERSION}" = "_$(nvm_ls_current)" ]; then | |
if nvm_is_iojs_version "${VERSION}"; then | |
nvm_err "nvm: Cannot uninstall currently-active io.js version, ${VERSION} (inferred from ${PATTERN})." | |
else | |
nvm_err "nvm: Cannot uninstall currently-active node version, ${VERSION} (inferred from ${PATTERN})." | |
fi | |
return 1 | |
fi | |
if ! nvm_is_version_installed "${VERSION}"; then | |
nvm_err "${VERSION} version is not installed..." | |
return | |
fi | |
local SLUG_BINARY | |
local SLUG_SOURCE | |
if nvm_is_iojs_version "${VERSION}"; then | |
SLUG_BINARY="$(nvm_get_download_slug iojs binary std "${VERSION}")" | |
SLUG_SOURCE="$(nvm_get_download_slug iojs source std "${VERSION}")" | |
else | |
SLUG_BINARY="$(nvm_get_download_slug node binary std "${VERSION}")" | |
SLUG_SOURCE="$(nvm_get_download_slug node source std "${VERSION}")" | |
fi | |
local NVM_SUCCESS_MSG | |
if nvm_is_iojs_version "${VERSION}"; then | |
NVM_SUCCESS_MSG="Uninstalled io.js $(nvm_strip_iojs_prefix "${VERSION}")" | |
else | |
NVM_SUCCESS_MSG="Uninstalled node ${VERSION}" | |
fi | |
local VERSION_PATH | |
VERSION_PATH="$(nvm_version_path "${VERSION}")" | |
if ! nvm_check_file_permissions "${VERSION_PATH}"; then | |
nvm_err 'Cannot uninstall, incorrect permissions on installation folder.' | |
nvm_err 'This is usually caused by running `npm install -g` as root. Run the following commands as root to fix the permissions and then try again.' | |
nvm_err | |
nvm_err " chown -R $(whoami) \"$(nvm_sanitize_path "${VERSION_PATH}")\"" | |
nvm_err " chmod -R u+w \"$(nvm_sanitize_path "${VERSION_PATH}")\"" | |
return 1 | |
fi | |
# Delete all files related to target version. | |
local CACHE_DIR | |
CACHE_DIR="$(nvm_cache_dir)" | |
command rm -rf \ | |
"${CACHE_DIR}/bin/${SLUG_BINARY}/files" \ | |
"${CACHE_DIR}/src/${SLUG_SOURCE}/files" \ | |
"${VERSION_PATH}" 2>/dev/null | |
nvm_echo "${NVM_SUCCESS_MSG}" | |
# rm any aliases that point to uninstalled version. | |
for ALIAS in $(nvm_grep -l "${VERSION}" "$(nvm_alias_path)/*" 2>/dev/null); do | |
nvm unalias "$(command basename "${ALIAS}")" | |
done | |
;; | |
"deactivate") | |
local NEWPATH | |
NEWPATH="$(nvm_strip_path "${PATH}" "/bin")" | |
if [ "_${PATH}" = "_${NEWPATH}" ]; then | |
nvm_err "Could not find ${NVM_DIR}/*/bin in \${PATH}" | |
else | |
export PATH="${NEWPATH}" | |
hash -r | |
nvm_echo "${NVM_DIR}/*/bin removed from \${PATH}" | |
fi | |
if [ -n "${MANPATH-}" ]; then | |
NEWPATH="$(nvm_strip_path "${MANPATH}" "/share/man")" | |
if [ "_${MANPATH}" = "_${NEWPATH}" ]; then | |
nvm_err "Could not find ${NVM_DIR}/*/share/man in \${MANPATH}" | |
else | |
export MANPATH="${NEWPATH}" | |
nvm_echo "${NVM_DIR}/*/share/man removed from \${MANPATH}" | |
fi | |
fi | |
if [ -n "${NODE_PATH-}" ]; then | |
NEWPATH="$(nvm_strip_path "${NODE_PATH}" "/lib/node_modules")" | |
if [ "_${NODE_PATH}" != "_${NEWPATH}" ]; then | |
export NODE_PATH="${NEWPATH}" | |
nvm_echo "${NVM_DIR}/*/lib/node_modules removed from \${NODE_PATH}" | |
fi | |
fi | |
unset NVM_BIN | |
;; | |
"use") | |
local PROVIDED_VERSION | |
local NVM_USE_SILENT | |
NVM_USE_SILENT=0 | |
local NVM_DELETE_PREFIX | |
NVM_DELETE_PREFIX=0 | |
local NVM_LTS | |
while [ $# -ne 0 ]; do | |
case "$1" in | |
--silent) NVM_USE_SILENT=1 ;; | |
--delete-prefix) NVM_DELETE_PREFIX=1 ;; | |
--) ;; | |
--lts) NVM_LTS='*' ;; | |
--lts=*) NVM_LTS="${1##--lts=}" ;; | |
--*) ;; | |
*) | |
if [ -n "${1-}" ]; then | |
PROVIDED_VERSION="$1" | |
fi | |
;; | |
esac | |
shift | |
done | |
if [ -n "${NVM_LTS-}" ]; then | |
VERSION="$(nvm_match_version "lts/${NVM_LTS:-*}")" | |
elif [ -z "${PROVIDED_VERSION-}" ]; then | |
nvm_rc_version | |
if [ -n "${NVM_RC_VERSION-}" ]; then | |
PROVIDED_VERSION="${NVM_RC_VERSION}" | |
VERSION="$(nvm_version "${PROVIDED_VERSION}")" | |
fi | |
unset NVM_RC_VERSION | |
if [ -z "${VERSION}" ]; then | |
nvm_err 'Please see `nvm --help` or https://github.com/nvm-sh/nvm#nvmrc for more information.' | |
return 127 | |
fi | |
else | |
VERSION="$(nvm_match_version "${PROVIDED_VERSION}")" | |
fi | |
if [ -z "${VERSION}" ]; then | |
>&2 nvm --help | |
return 127 | |
fi | |
if [ "_${VERSION}" = '_system' ]; then | |
if nvm_has_system_node && nvm deactivate >/dev/null 2>&1; then | |
if [ $NVM_USE_SILENT -ne 1 ]; then | |
nvm_echo "Now using system version of node: $(node -v 2>/dev/null)$(nvm_print_npm_version)" | |
fi | |
return | |
elif nvm_has_system_iojs && nvm deactivate >/dev/null 2>&1; then | |
if [ $NVM_USE_SILENT -ne 1 ]; then | |
nvm_echo "Now using system version of io.js: $(iojs --version 2>/dev/null)$(nvm_print_npm_version)" | |
fi | |
return | |
elif [ $NVM_USE_SILENT -ne 1 ]; then | |
nvm_err 'System version of node not found.' | |
fi | |
return 127 | |
elif [ "_${VERSION}" = "_∞" ]; then | |
if [ $NVM_USE_SILENT -ne 1 ]; then | |
nvm_err "The alias \"${PROVIDED_VERSION}\" leads to an infinite loop. Aborting." | |
fi | |
return 8 | |
fi | |
if [ "${VERSION}" = 'N/A' ]; then | |
nvm_err "N/A: version \"${PROVIDED_VERSION} -> ${VERSION}\" is not yet installed." | |
nvm_err "" | |
nvm_err "You need to run \"nvm install ${PROVIDED_VERSION}\" to install it before using it." | |
return 3 | |
# This nvm_ensure_version_installed call can be a performance bottleneck | |
# on shell startup. Perhaps we can optimize it away or make it faster. | |
elif ! nvm_ensure_version_installed "${VERSION}"; then | |
return $? | |
fi | |
local NVM_VERSION_DIR | |
NVM_VERSION_DIR="$(nvm_version_path "${VERSION}")" | |
# Change current version | |
PATH="$(nvm_change_path "${PATH}" "/bin" "${NVM_VERSION_DIR}")" | |
if nvm_has manpath; then | |
if [ -z "${MANPATH-}" ]; then | |
local MANPATH | |
MANPATH=$(manpath) | |
fi | |
# Change current version | |
MANPATH="$(nvm_change_path "${MANPATH}" "/share/man" "${NVM_VERSION_DIR}")" | |
export MANPATH | |
fi | |
export PATH | |
hash -r | |
export NVM_BIN="${NVM_VERSION_DIR}/bin" | |
if [ "${NVM_SYMLINK_CURRENT-}" = true ]; then | |
command rm -f "${NVM_DIR}/current" && ln -s "${NVM_VERSION_DIR}" "${NVM_DIR}/current" | |
fi | |
local NVM_USE_OUTPUT | |
NVM_USE_OUTPUT='' | |
if [ $NVM_USE_SILENT -ne 1 ]; then | |
if nvm_is_iojs_version "${VERSION}"; then | |
NVM_USE_OUTPUT="Now using io.js $(nvm_strip_iojs_prefix "${VERSION}")$(nvm_print_npm_version)" | |
else | |
NVM_USE_OUTPUT="Now using node ${VERSION}$(nvm_print_npm_version)" | |
fi | |
fi | |
if [ "_${VERSION}" != "_system" ]; then | |
local NVM_USE_CMD | |
NVM_USE_CMD="nvm use --delete-prefix" | |
if [ -n "${PROVIDED_VERSION}" ]; then | |
NVM_USE_CMD="${NVM_USE_CMD} ${VERSION}" | |
fi | |
if [ $NVM_USE_SILENT -eq 1 ]; then | |
NVM_USE_CMD="${NVM_USE_CMD} --silent" | |
fi | |
if ! nvm_die_on_prefix "${NVM_DELETE_PREFIX}" "${NVM_USE_CMD}"; then | |
return 11 | |
fi | |
fi | |
if [ -n "${NVM_USE_OUTPUT-}" ]; then | |
nvm_echo "${NVM_USE_OUTPUT}" | |
fi | |
;; | |
"run") | |
local provided_version | |
local has_checked_nvmrc | |
has_checked_nvmrc=0 | |
# run given version of node | |
local NVM_SILENT | |
local NVM_LTS | |
while [ $# -gt 0 ]; do | |
case "$1" in | |
--silent) NVM_SILENT='--silent' ; shift ;; | |
--lts) NVM_LTS='*' ; shift ;; | |
--lts=*) NVM_LTS="${1##--lts=}" ; shift ;; | |
*) | |
if [ -n "$1" ]; then | |
break | |
else | |
shift | |
fi | |
;; # stop processing arguments | |
esac | |
done | |
if [ $# -lt 1 ] && [ -z "${NVM_LTS-}" ]; then | |
if [ -n "${NVM_SILENT-}" ]; then | |
nvm_rc_version >/dev/null 2>&1 && has_checked_nvmrc=1 | |
else | |
nvm_rc_version && has_checked_nvmrc=1 | |
fi | |
if [ -n "${NVM_RC_VERSION-}" ]; then | |
VERSION="$(nvm_version "${NVM_RC_VERSION-}")" ||: | |
fi | |
unset NVM_RC_VERSION | |
if [ "${VERSION:-N/A}" = 'N/A' ]; then | |
>&2 nvm --help | |
return 127 | |
fi | |
fi | |
if [ -z "${NVM_LTS-}" ]; then | |
provided_version="$1" | |
if [ -n "${provided_version}" ]; then | |
VERSION="$(nvm_version "${provided_version}")" ||: | |
if [ "_${VERSION:-N/A}" = '_N/A' ] && ! nvm_is_valid_version "${provided_version}"; then | |
provided_version='' | |
if [ $has_checked_nvmrc -ne 1 ]; then | |
if [ -n "${NVM_SILENT-}" ]; then | |
nvm_rc_version >/dev/null 2>&1 && has_checked_nvmrc=1 | |
else | |
nvm_rc_version && has_checked_nvmrc=1 | |
fi | |
fi | |
VERSION="$(nvm_version "${NVM_RC_VERSION}")" ||: | |
unset NVM_RC_VERSION | |
else | |
shift | |
fi | |
fi | |
fi | |
local NVM_IOJS | |
if nvm_is_iojs_version "${VERSION}"; then | |
NVM_IOJS=true | |
fi | |
local EXIT_CODE | |
nvm_is_zsh && setopt local_options shwordsplit | |
local LTS_ARG | |
if [ -n "${NVM_LTS-}" ]; then | |
LTS_ARG="--lts=${NVM_LTS-}" | |
VERSION='' | |
fi | |
if [ "_${VERSION}" = "_N/A" ]; then | |
nvm_ensure_version_installed "${provided_version}" | |
elif [ "${NVM_IOJS}" = true ]; then | |
nvm exec "${NVM_SILENT-}" "${LTS_ARG-}" "${VERSION}" iojs "$@" | |
else | |
nvm exec "${NVM_SILENT-}" "${LTS_ARG-}" "${VERSION}" node "$@" | |
fi | |
EXIT_CODE="$?" | |
return $EXIT_CODE | |
;; | |
"exec") | |
local NVM_SILENT | |
local NVM_LTS | |
while [ $# -gt 0 ]; do | |
case "$1" in | |
--silent) NVM_SILENT='--silent' ; shift ;; | |
--lts) NVM_LTS='*' ; shift ;; | |
--lts=*) NVM_LTS="${1##--lts=}" ; shift ;; | |
--) break ;; | |
--*) | |
nvm_err "Unsupported option \"$1\"." | |
return 55 | |
;; | |
*) | |
if [ -n "$1" ]; then | |
break | |
else | |
shift | |
fi | |
;; # stop processing arguments | |
esac | |
done | |
local provided_version | |
provided_version="$1" | |
if [ "${NVM_LTS-}" != '' ]; then | |
provided_version="lts/${NVM_LTS:-*}" | |
VERSION="${provided_version}" | |
elif [ -n "${provided_version}" ]; then | |
VERSION="$(nvm_version "${provided_version}")" ||: | |
if [ "_${VERSION}" = '_N/A' ] && ! nvm_is_valid_version "${provided_version}"; then | |
if [ -n "${NVM_SILENT-}" ]; then | |
nvm_rc_version >/dev/null 2>&1 | |
else | |
nvm_rc_version | |
fi | |
provided_version="${NVM_RC_VERSION}" | |
unset NVM_RC_VERSION | |
VERSION="$(nvm_version "${provided_version}")" ||: | |
else | |
shift | |
fi | |
fi | |
nvm_ensure_version_installed "${provided_version}" | |
EXIT_CODE=$? | |
if [ "${EXIT_CODE}" != "0" ]; then | |
return $EXIT_CODE | |
fi | |
if [ -z "${NVM_SILENT-}" ]; then | |
if [ "${NVM_LTS-}" = '*' ]; then | |
nvm_echo "Running node latest LTS -> $(nvm_version "${VERSION}")$(nvm use --silent "${VERSION}" && nvm_print_npm_version)" | |
elif [ -n "${NVM_LTS-}" ]; then | |
nvm_echo "Running node LTS \"${NVM_LTS-}\" -> $(nvm_version "${VERSION}")$(nvm use --silent "${VERSION}" && nvm_print_npm_version)" | |
elif nvm_is_iojs_version "${VERSION}"; then | |
nvm_echo "Running io.js $(nvm_strip_iojs_prefix "${VERSION}")$(nvm use --silent "${VERSION}" && nvm_print_npm_version)" | |
else | |
nvm_echo "Running node ${VERSION}$(nvm use --silent "${VERSION}" && nvm_print_npm_version)" | |
fi | |
fi | |
NODE_VERSION="${VERSION}" "${NVM_DIR}/nvm-exec" "$@" | |
;; | |
"ls" | "list") | |
local PATTERN | |
local NVM_NO_COLORS | |
local NVM_NO_ALIAS | |
while [ $# -gt 0 ]; do | |
case "${1}" in | |
--) ;; | |
--no-colors) NVM_NO_COLORS="${1}" ;; | |
--no-alias) NVM_NO_ALIAS="${1}" ;; | |
--*) | |
nvm_err "Unsupported option \"${1}\"." | |
return 55 | |
;; | |
*) | |
PATTERN="${PATTERN:-$1}" | |
;; | |
esac | |
shift | |
done | |
if [ -n "${PATTERN-}" ] && [ -n "${NVM_NO_ALIAS-}" ]; then | |
nvm_err '`--no-alias` is not supported when a pattern is provided.' | |
return 55 | |
fi | |
local NVM_LS_OUTPUT | |
local NVM_LS_EXIT_CODE | |
NVM_LS_OUTPUT=$(nvm_ls "${PATTERN-}") | |
NVM_LS_EXIT_CODE=$? | |
NVM_NO_COLORS="${NVM_NO_COLORS-}" nvm_print_versions "${NVM_LS_OUTPUT}" | |
if [ -z "${NVM_NO_ALIAS-}" ] && [ -z "${PATTERN-}" ]; then | |
if [ -n "${NVM_NO_COLORS-}" ]; then | |
nvm alias --no-colors | |
else | |
nvm alias | |
fi | |
fi | |
return $NVM_LS_EXIT_CODE | |
;; | |
"ls-remote" | "list-remote") | |
local NVM_LTS | |
local PATTERN | |
local NVM_NO_COLORS | |
while [ $# -gt 0 ]; do | |
case "${1-}" in | |
--) ;; | |
--lts) | |
NVM_LTS='*' | |
;; | |
--lts=*) | |
NVM_LTS="${1##--lts=}" | |
;; | |
--no-colors) NVM_NO_COLORS="${1}" ;; | |
--*) | |
nvm_err "Unsupported option \"${1}\"." | |
return 55 | |
;; | |
*) | |
if [ -z "${PATTERN-}" ]; then | |
PATTERN="${1-}" | |
if [ -z "${NVM_LTS-}" ]; then | |
case "${PATTERN}" in | |
'lts/*') NVM_LTS='*' ;; | |
lts/*) NVM_LTS="${PATTERN##lts/}" ;; | |
esac | |
fi | |
fi | |
;; | |
esac | |
shift | |
done | |
local NVM_OUTPUT | |
local EXIT_CODE | |
NVM_OUTPUT="$(NVM_LTS="${NVM_LTS-}" nvm_remote_versions "${PATTERN}" &&:)" | |
EXIT_CODE=$? | |
if [ -n "${NVM_OUTPUT}" ]; then | |
NVM_NO_COLORS="${NVM_NO_COLORS-}" nvm_print_versions "${NVM_OUTPUT}" | |
return $EXIT_CODE | |
fi | |
NVM_NO_COLORS="${NVM_NO_COLORS-}" nvm_print_versions "N/A" | |
return 3 | |
;; | |
"current") | |
nvm_version current | |
;; | |
"which") | |
local provided_version | |
provided_version="${1-}" | |
if [ $# -eq 0 ]; then | |
nvm_rc_version | |
if [ -n "${NVM_RC_VERSION}" ]; then | |
provided_version="${NVM_RC_VERSION}" | |
VERSION=$(nvm_version "${NVM_RC_VERSION}") ||: | |
fi | |
unset NVM_RC_VERSION | |
elif [ "_${1}" != '_system' ]; then | |
VERSION="$(nvm_version "${provided_version}")" ||: | |
else | |
VERSION="${1-}" | |
fi | |
if [ -z "${VERSION}" ]; then | |
>&2 nvm --help | |
return 127 | |
fi | |
if [ "_${VERSION}" = '_system' ]; then | |
if nvm_has_system_iojs >/dev/null 2>&1 || nvm_has_system_node >/dev/null 2>&1; then | |
local NVM_BIN | |
NVM_BIN="$(nvm use system >/dev/null 2>&1 && command which node)" | |
if [ -n "${NVM_BIN}" ]; then | |
nvm_echo "${NVM_BIN}" | |
return | |
fi | |
return 1 | |
fi | |
nvm_err 'System version of node not found.' | |
return 127 | |
elif [ "_${VERSION}" = "_∞" ]; then | |
nvm_err "The alias \"$2\" leads to an infinite loop. Aborting." | |
return 8 | |
fi | |
nvm_ensure_version_installed "${provided_version}" | |
EXIT_CODE=$? | |
if [ "${EXIT_CODE}" != "0" ]; then | |
return $EXIT_CODE | |
fi | |
local NVM_VERSION_DIR | |
NVM_VERSION_DIR="$(nvm_version_path "${VERSION}")" | |
nvm_echo "${NVM_VERSION_DIR}/bin/node" | |
;; | |
"alias") | |
local NVM_ALIAS_DIR | |
NVM_ALIAS_DIR="$(nvm_alias_path)" | |
local NVM_CURRENT | |
NVM_CURRENT="$(nvm_ls_current)" | |
command mkdir -p "${NVM_ALIAS_DIR}/lts" | |
local ALIAS | |
local TARGET | |
local NVM_NO_COLORS | |
ALIAS='--' | |
TARGET='--' | |
while [ $# -gt 0 ]; do | |
case "${1-}" in | |
--) ;; | |
--no-colors) NVM_NO_COLORS="${1}" ;; | |
--*) | |
nvm_err "Unsupported option \"${1}\"." | |
return 55 | |
;; | |
*) | |
if [ "${ALIAS}" = '--' ]; then | |
ALIAS="${1-}" | |
elif [ "${TARGET}" = '--' ]; then | |
TARGET="${1-}" | |
fi | |
;; | |
esac | |
shift | |
done | |
if [ -z "${TARGET}" ]; then | |
# for some reason the empty string was explicitly passed as the target | |
# so, unalias it. | |
nvm unalias "${ALIAS}" | |
return $? | |
elif [ "${TARGET}" != '--' ]; then | |
# a target was passed: create an alias | |
if [ "${ALIAS#*\/}" != "${ALIAS}" ]; then | |
nvm_err 'Aliases in subdirectories are not supported.' | |
return 1 | |
fi | |
VERSION="$(nvm_version "${TARGET}")" ||: | |
if [ "${VERSION}" = 'N/A' ]; then | |
nvm_err "! WARNING: Version '${TARGET}' does not exist." | |
fi | |
nvm_make_alias "${ALIAS}" "${TARGET}" | |
NVM_NO_COLORS="${NVM_NO_COLORS-}" NVM_CURRENT="${NVM_CURRENT-}" DEFAULT=false nvm_print_formatted_alias "${ALIAS}" "${TARGET}" "${VERSION}" | |
else | |
if [ "${ALIAS-}" = '--' ]; then | |
unset ALIAS | |
fi | |
nvm_list_aliases "${ALIAS-}" | |
fi | |
;; | |
"unalias") | |
local NVM_ALIAS_DIR | |
NVM_ALIAS_DIR="$(nvm_alias_path)" | |
command mkdir -p "${NVM_ALIAS_DIR}" | |
if [ $# -ne 1 ]; then | |
>&2 nvm --help | |
return 127 | |
fi | |
if [ "${1#*\/}" != "${1-}" ]; then | |
nvm_err 'Aliases in subdirectories are not supported.' | |
return 1 | |
fi | |
local NVM_IOJS_PREFIX | |
local NVM_NODE_PREFIX | |
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)" | |
NVM_NODE_PREFIX="$(nvm_node_prefix)" | |
case "$1" in | |
"stable" | "unstable" | "${NVM_IOJS_PREFIX}" | "${NVM_NODE_PREFIX}" | "system") | |
nvm_err "${1-} is a default (built-in) alias and cannot be deleted." | |
return 1 | |
;; | |
esac | |
[ ! -f "${NVM_ALIAS_DIR}/${1-}" ] && nvm_err "Alias ${1-} doesn't exist!" && return | |
local NVM_ALIAS_ORIGINAL | |
NVM_ALIAS_ORIGINAL="$(nvm_alias "${1}")" | |
command rm -f "${NVM_ALIAS_DIR}/${1}" | |
nvm_echo "Deleted alias ${1} - restore it with \`nvm alias \"${1}\" \"${NVM_ALIAS_ORIGINAL}\"\`" | |
;; | |
"install-latest-npm") | |
if [ $# -ne 0 ]; then | |
>&2 nvm --help | |
return 127 | |
fi | |
nvm_install_latest_npm | |
;; | |
"reinstall-packages" | "copy-packages") | |
if [ $# -ne 1 ]; then | |
>&2 nvm --help | |
return 127 | |
fi | |
local PROVIDED_VERSION | |
PROVIDED_VERSION="${1-}" | |
if [ "${PROVIDED_VERSION}" = "$(nvm_ls_current)" ] || [ "$(nvm_version "${PROVIDED_VERSION}" ||:)" = "$(nvm_ls_current)" ]; then | |
nvm_err 'Can not reinstall packages from the current version of node.' | |
return 2 | |
fi | |
local VERSION | |
if [ "_${PROVIDED_VERSION}" = "_system" ]; then | |
if ! nvm_has_system_node && ! nvm_has_system_iojs; then | |
nvm_err 'No system version of node or io.js detected.' | |
return 3 | |
fi | |
VERSION="system" | |
else | |
VERSION="$(nvm_version "${PROVIDED_VERSION}")" ||: | |
fi | |
local NPMLIST | |
NPMLIST="$(nvm_npm_global_modules "${VERSION}")" | |
local INSTALLS | |
local LINKS | |
INSTALLS="${NPMLIST%% //// *}" | |
LINKS="${NPMLIST##* //// }" | |
nvm_echo "Reinstalling global packages from ${VERSION}..." | |
if [ -n "${INSTALLS}" ]; then | |
nvm_echo "${INSTALLS}" | command xargs npm install -g --quiet | |
else | |
nvm_echo "No installed global packages found..." | |
fi | |
nvm_echo "Linking global packages from ${VERSION}..." | |
if [ -n "${LINKS}" ]; then | |
( | |
set -f; IFS=' | |
' # necessary to turn off variable expansion except for newlines | |
for LINK in ${LINKS}; do | |
set +f; unset IFS # restore variable expansion | |
if [ -n "${LINK}" ]; then | |
(nvm_cd "${LINK}" && npm link) | |
fi | |
done | |
) | |
else | |
nvm_echo "No linked global packages found..." | |
fi | |
;; | |
"clear-cache") | |
command rm -f "${NVM_DIR}/v*" "$(nvm_version_dir)" 2>/dev/null | |
nvm_echo 'nvm cache cleared.' | |
;; | |
"version") | |
nvm_version "${1}" | |
;; | |
"version-remote") | |
local NVM_LTS | |
local PATTERN | |
while [ $# -gt 0 ]; do | |
case "${1-}" in | |
--) ;; | |
--lts) | |
NVM_LTS='*' | |
;; | |
--lts=*) | |
NVM_LTS="${1##--lts=}" | |
;; | |
--*) | |
nvm_err "Unsupported option \"${1}\"." | |
return 55 | |
;; | |
*) | |
PATTERN="${PATTERN:-${1}}" | |
;; | |
esac | |
shift | |
done | |
case "${PATTERN-}" in | |
'lts/*') | |
NVM_LTS='*' | |
unset PATTERN | |
;; | |
lts/*) | |
NVM_LTS="${PATTERN##lts/}" | |
unset PATTERN | |
;; | |
esac | |
NVM_VERSION_ONLY=true NVM_LTS="${NVM_LTS-}" nvm_remote_version "${PATTERN:-node}" | |
;; | |
"--version") | |
nvm_echo '0.35.1' | |
;; | |
"unload") | |
nvm deactivate >/dev/null 2>&1 | |
unset -f nvm \ | |
nvm_iojs_prefix nvm_node_prefix \ | |
nvm_add_iojs_prefix nvm_strip_iojs_prefix \ | |
nvm_is_iojs_version nvm_is_alias nvm_has_non_aliased \ | |
nvm_ls_remote nvm_ls_remote_iojs nvm_ls_remote_index_tab \ | |
nvm_ls nvm_remote_version nvm_remote_versions \ | |
nvm_install_binary nvm_install_source nvm_clang_version \ | |
nvm_get_mirror nvm_get_download_slug nvm_download_artifact \ | |
nvm_install_npm_if_needed nvm_use_if_needed nvm_check_file_permissions \ | |
nvm_print_versions nvm_compute_checksum nvm_checksum \ | |
nvm_get_checksum_alg nvm_get_checksum nvm_compare_checksum \ | |
nvm_version nvm_rc_version nvm_match_version \ | |
nvm_ensure_default_set nvm_get_arch nvm_get_os \ | |
nvm_print_implicit_alias nvm_validate_implicit_alias \ | |
nvm_resolve_alias nvm_ls_current nvm_alias \ | |
nvm_binary_available nvm_change_path nvm_strip_path \ | |
nvm_num_version_groups nvm_format_version nvm_ensure_version_prefix \ | |
nvm_normalize_version nvm_is_valid_version \ | |
nvm_ensure_version_installed nvm_cache_dir \ | |
nvm_version_path nvm_alias_path nvm_version_dir \ | |
nvm_find_nvmrc nvm_find_up nvm_tree_contains_path \ | |
nvm_version_greater nvm_version_greater_than_or_equal_to \ | |
nvm_print_npm_version nvm_install_latest_npm nvm_npm_global_modules \ | |
nvm_has_system_node nvm_has_system_iojs \ | |
nvm_download nvm_get_latest nvm_has nvm_install_default_packages nvm_get_default_packages \ | |
nvm_curl_use_compression nvm_curl_version \ | |
nvm_supports_source_options nvm_auto nvm_supports_xz \ | |
nvm_echo nvm_err nvm_grep nvm_cd \ | |
nvm_die_on_prefix nvm_get_make_jobs nvm_get_minor_version \ | |
nvm_has_solaris_binary nvm_is_merged_node_version \ | |
nvm_is_natural_num nvm_is_version_installed \ | |
nvm_list_aliases nvm_make_alias nvm_print_alias_path \ | |
nvm_print_default_alias nvm_print_formatted_alias nvm_resolve_local_alias \ | |
nvm_sanitize_path nvm_has_colors nvm_process_parameters \ | |
node_version_has_solaris_binary iojs_version_has_solaris_binary \ | |
nvm_curl_libz_support nvm_command_info nvm_is_zsh nvm_stdout_is_terminal \ | |
>/dev/null 2>&1 | |
unset NVM_RC_VERSION NVM_NODEJS_ORG_MIRROR NVM_IOJS_ORG_MIRROR NVM_DIR \ | |
NVM_CD_FLAGS NVM_BIN NVM_MAKE_JOBS \ | |
>/dev/null 2>&1 | |
;; | |
*) | |
>&2 nvm --help | |
return 127 | |
;; | |
esac | |
} | |
nvm_get_default_packages() { | |
local NVM_DEFAULT_PACKAGE_FILE="${NVM_DIR}/default-packages" | |
if [ -f "${NVM_DEFAULT_PACKAGE_FILE}" ]; then | |
local DEFAULT_PACKAGES | |
DEFAULT_PACKAGES='' | |
# Read lines from $NVM_DIR/default-packages | |
local line | |
# ensure a trailing newline | |
WORK=$(mktemp -d) || exit $? | |
# shellcheck disable=SC2064 | |
trap "rm -rf '$WORK'" EXIT | |
# shellcheck disable=SC1003 | |
sed -e '$a\' "${NVM_DEFAULT_PACKAGE_FILE}" > "${WORK}/default-packages" | |
while IFS=' ' read -r line; do | |
# Skip empty lines. | |
[ -n "${line-}" ] || continue | |
# Skip comment lines that begin with `#`. | |
[ "$(nvm_echo "${line}" | command cut -c1)" != "#" ] || continue | |
# Fail on lines that have multiple space-separated words | |
case $line in | |
*\ *) | |
nvm_err "Only one package per line is allowed in the ${NVM_DIR}/default-packages file. Please remove any lines with multiple space-separated values." | |
return 1 | |
;; | |
esac | |
DEFAULT_PACKAGES="${DEFAULT_PACKAGES}${line} " | |
done < "${WORK}/default-packages" | |
echo "${DEFAULT_PACKAGES}" | xargs | |
fi | |
} | |
nvm_install_default_packages() { | |
nvm_echo "Installing default global packages from ${NVM_DIR}/default-packages..." | |
nvm_echo "npm install -g --quiet $1" | |
if ! nvm_echo "$1" | command xargs npm install -g --quiet; then | |
nvm_err "Failed installing default packages. Please check if your default-packages file or a package in it has problems!" | |
return 1 | |
fi | |
} | |
nvm_supports_source_options() { | |
# shellcheck disable=SC1091,SC2240 | |
[ "_$( . /dev/stdin yes 2> /dev/null <<'EOF' | |
[ $# -gt 0 ] && nvm_echo $1 | |
EOF | |
)" = "_yes" ] | |
} | |
nvm_supports_xz() { | |
if [ -z "${1-}" ] || ! command which xz >/dev/null 2>&1; then | |
return 1 | |
fi | |
# all node versions v4.0.0 and later have xz | |
if nvm_is_merged_node_version "${1}"; then | |
return 0 | |
fi | |
# 0.12x: node v0.12.10 and later have xz | |
if nvm_version_greater_than_or_equal_to "${1}" "0.12.10" && nvm_version_greater "0.13.0" "${1}"; then | |
return 0 | |
fi | |
# 0.10x: node v0.10.42 and later have xz | |
if nvm_version_greater_than_or_equal_to "${1}" "0.10.42" && nvm_version_greater "0.11.0" "${1}"; then | |
return 0 | |
fi | |
local NVM_OS | |
NVM_OS="$(nvm_get_os)" | |
case "${NVM_OS}" in | |
darwin) | |
# darwin only has xz for io.js v2.3.2 and later | |
nvm_version_greater_than_or_equal_to "${1}" "2.3.2" | |
;; | |
*) | |
nvm_version_greater_than_or_equal_to "${1}" "1.0.0" | |
;; | |
esac | |
return $? | |
} | |
nvm_auto() { | |
local NVM_CURRENT | |
NVM_CURRENT="$(nvm_ls_current)" | |
local NVM_MODE | |
NVM_MODE="${1-}" | |
local VERSION | |
if [ "_${NVM_MODE}" = '_install' ]; then | |
VERSION="$(nvm_alias default 2>/dev/null || nvm_echo)" | |
if [ -n "${VERSION}" ]; then | |
nvm install "${VERSION}" >/dev/null | |
elif nvm_rc_version >/dev/null 2>&1; then | |
nvm install >/dev/null | |
fi | |
elif [ "_$NVM_MODE" = '_use' ]; then | |
if [ "_${NVM_CURRENT}" = '_none' ] || [ "_${NVM_CURRENT}" = '_system' ]; then | |
VERSION="$(nvm_resolve_local_alias default 2>/dev/null || nvm_echo)" | |
if [ -n "${VERSION}" ]; then | |
nvm use --silent "${VERSION}" >/dev/null | |
elif nvm_rc_version >/dev/null 2>&1; then | |
nvm use --silent >/dev/null | |
fi | |
else | |
nvm use --silent "${NVM_CURRENT}" >/dev/null | |
fi | |
elif [ "_${NVM_MODE}" != '_none' ]; then | |
nvm_err 'Invalid auto mode supplied.' | |
return 1 | |
fi | |
} | |
nvm_process_parameters() { | |
local NVM_AUTO_MODE | |
NVM_AUTO_MODE='use' | |
if nvm_supports_source_options; then | |
while [ $# -ne 0 ]; do | |
case "$1" in | |
--install) NVM_AUTO_MODE='install' ;; | |
--no-use) NVM_AUTO_MODE='none' ;; | |
esac | |
shift | |
done | |
fi | |
nvm_auto "${NVM_AUTO_MODE}" | |
} | |
nvm_process_parameters "$@" | |
} # this ensures the entire script is downloaded # | |
+/home/h/.nvm/nvm.sh:13> NVM_SCRIPT_SOURCE='' | |
+/home/h/.nvm/nvm.sh:273> [ -z -q ']' | |
+/home/h/.nvm/nvm.sh:276> nvm_is_zsh | |
+nvm_is_zsh:1> [ -n 5.8 ']' | |
+/home/h/.nvm/nvm.sh:277> NVM_CD_FLAGS=-q | |
+/home/h/.nvm/nvm.sh:281> [ -z /home/h/.nvm ']' | |
+/home/h/.nvm/nvm.sh:291> case /home/h/.nvm (*[!/]*/) | |
+/home/h/.nvm/nvm.sh:299> unset NVM_SCRIPT_SOURCE | |
+/home/h/.nvm/nvm.sh:3677> nvm_process_parameters | |
+nvm_process_parameters:1> local NVM_AUTO_MODE | |
+nvm_process_parameters:2> NVM_AUTO_MODE=use | |
+nvm_process_parameters:3> nvm_supports_source_options | |
+nvm_supports_source_options:2> . /dev/stdin yes | |
+/dev/stdin:1> [ 1 -gt 0 ']' | |
+/dev/stdin:1> nvm_echo yes | |
+nvm_supports_source_options:2> [ _yes '=' _yes ']' | |
+nvm_process_parameters:4> [ 0 -ne 0 ']' | |
+nvm_process_parameters:12> nvm_auto use | |
+nvm_auto:1> local NVM_CURRENT | |
+nvm_auto:2> NVM_CURRENT=+nvm_auto:2> nvm_ls_current | |
+nvm_ls_current:1> local NVM_LS_CURRENT_NODE_PATH | |
+nvm_ls_current:2> NVM_LS_CURRENT_NODE_PATH=+nvm_ls_current:2> which node | |
+nvm_ls_current:2> NVM_LS_CURRENT_NODE_PATH=/usr/bin/node | |
+nvm_ls_current:4> nvm_version_dir iojs | |
+nvm_version_dir:1> local NVM_WHICH_DIR | |
+nvm_version_dir:2> NVM_WHICH_DIR=iojs | |
+nvm_version_dir:3> [ -z iojs ']' | |
+nvm_version_dir:3> [ iojs '=' new ']' | |
+nvm_version_dir:5> [ _iojs '=' _iojs ']' | |
+nvm_version_dir:6> nvm_echo /home/h/.nvm/versions/io.js | |
+nvm_echo:1> printf '%s\n' /home/h/.nvm/versions/io.js | |
+nvm_ls_current:4> nvm_tree_contains_path /home/h/.nvm/versions/io.js /usr/bin/node | |
+nvm_tree_contains_path:1> local tree | |
+nvm_tree_contains_path:2> tree=/home/h/.nvm/versions/io.js | |
+nvm_tree_contains_path:3> local node_path | |
+nvm_tree_contains_path:4> node_path=/usr/bin/node | |
+nvm_tree_contains_path:6> [ @/home/h/.nvm/versions/io.js@ '=' @@ ']' | |
+nvm_tree_contains_path:6> [ @/usr/bin/node@ '=' @@ ']' | |
+nvm_tree_contains_path:11> local pathdir | |
+nvm_tree_contains_path:12> pathdir=+nvm_tree_contains_path:12> dirname /usr/bin/node | |
+nvm_tree_contains_path:12> pathdir=/usr/bin | |
+nvm_tree_contains_path:13> [ /usr/bin '!=' '' ']' | |
+nvm_tree_contains_path:13> [ /usr/bin '!=' . ']' | |
+nvm_tree_contains_path:13> [ /usr/bin '!=' / ']' | |
+nvm_tree_contains_path:13> [ /usr/bin '!=' /home/h/.nvm/versions/io.js ']' | |
+nvm_tree_contains_path:14> pathdir=+nvm_tree_contains_path:14> dirname /usr/bin | |
+nvm_tree_contains_path:14> pathdir=/usr | |
+nvm_tree_contains_path:13> [ /usr '!=' '' ']' | |
+nvm_tree_contains_path:13> [ /usr '!=' . ']' | |
+nvm_tree_contains_path:13> [ /usr '!=' / ']' | |
+nvm_tree_contains_path:13> [ /usr '!=' /home/h/.nvm/versions/io.js ']' | |
+nvm_tree_contains_path:14> pathdir=+nvm_tree_contains_path:14> dirname /usr | |
+nvm_tree_contains_path:14> pathdir=/ | |
+nvm_tree_contains_path:13> [ / '!=' '' ']' | |
+nvm_tree_contains_path:13> [ / '!=' . ']' | |
+nvm_tree_contains_path:13> [ / '!=' / ']' | |
+nvm_tree_contains_path:16> [ / '=' /home/h/.nvm/versions/io.js ']' | |
+nvm_ls_current:6> nvm_tree_contains_path /home/h/.nvm /usr/bin/node | |
+nvm_tree_contains_path:1> local tree | |
+nvm_tree_contains_path:2> tree=/home/h/.nvm | |
+nvm_tree_contains_path:3> local node_path | |
+nvm_tree_contains_path:4> node_path=/usr/bin/node | |
+nvm_tree_contains_path:6> [ @/home/h/.nvm@ '=' @@ ']' | |
+nvm_tree_contains_path:6> [ @/usr/bin/node@ '=' @@ ']' | |
+nvm_tree_contains_path:11> local pathdir | |
+nvm_tree_contains_path:12> pathdir=+nvm_tree_contains_path:12> dirname /usr/bin/node | |
+nvm_tree_contains_path:12> pathdir=/usr/bin | |
+nvm_tree_contains_path:13> [ /usr/bin '!=' '' ']' | |
+nvm_tree_contains_path:13> [ /usr/bin '!=' . ']' | |
+nvm_tree_contains_path:13> [ /usr/bin '!=' / ']' | |
+nvm_tree_contains_path:13> [ /usr/bin '!=' /home/h/.nvm ']' | |
+nvm_tree_contains_path:14> pathdir=+nvm_tree_contains_path:14> dirname /usr/bin | |
+nvm_tree_contains_path:14> pathdir=/usr | |
+nvm_tree_contains_path:13> [ /usr '!=' '' ']' | |
+nvm_tree_contains_path:13> [ /usr '!=' . ']' | |
+nvm_tree_contains_path:13> [ /usr '!=' / ']' | |
+nvm_tree_contains_path:13> [ /usr '!=' /home/h/.nvm ']' | |
+nvm_tree_contains_path:14> pathdir=+nvm_tree_contains_path:14> dirname /usr | |
+nvm_tree_contains_path:14> pathdir=/ | |
+nvm_tree_contains_path:13> [ / '!=' '' ']' | |
+nvm_tree_contains_path:13> [ / '!=' . ']' | |
+nvm_tree_contains_path:13> [ / '!=' / ']' | |
+nvm_tree_contains_path:16> [ / '=' /home/h/.nvm ']' | |
+nvm_ls_current:15> nvm_echo system | |
+nvm_echo:1> printf '%s\n' system | |
+nvm_auto:2> NVM_CURRENT=system | |
+nvm_auto:3> local NVM_MODE | |
+nvm_auto:4> NVM_MODE=use | |
+nvm_auto:5> local VERSION | |
+nvm_auto:6> [ _use '=' _install ']' | |
+nvm_auto:13> [ _use '=' _use ']' | |
+nvm_auto:14> [ _system '=' _none ']' | |
+nvm_auto:14> [ _system '=' _system ']' | |
+nvm_auto:15> VERSION=+nvm_auto:15> nvm_resolve_local_alias default | |
+nvm_auto:15> nvm_echo | |
+nvm_echo:1> printf '%s\n' '' | |
+nvm_auto:15> VERSION='' | |
+nvm_auto:16> [ -n '' ']' | |
+nvm_auto:18> nvm_rc_version | |
+omz_termsupport_precmd:1> [[ '' == true ]] | |
+omz_termsupport_precmd:2> title '%15<..<%~%<<' '%n@%m:%~' | |
+title:1> emulate -L zsh | |
+title:2> setopt prompt_subst | |
+title:4> [[ '' == *term* ]] | |
+title:8> : '%n@%m:%~' | |
+title:10> case alacritty (cygwin | xterm* | putty* | rxvt* | konsole* | ansi | mlterm* | alacritty) | |
+title:12> print -Pn '\e]2;%n@%m:%~\a' | |
]2;h@ckr:~+title:13> print -Pn '\e]1;%15\<..\<%~%\<\<\a' | |
]1;~+_zsh_autosuggest_start:7> (( 0 )) | |
+_zsh_autosuggest_start:11> _zsh_autosuggest_bind_widgets | |
+_zsh_autosuggest_bind_widgets:1> emulate -L zsh | |
+_zsh_autosuggest_bind_widgets:3> local widget | |
+_zsh_autosuggest_bind_widgets:4> local ignore_widgets | |
+_zsh_autosuggest_bind_widgets:6> ignore_widgets=( '.*' '_*' 'autosuggest-*' 'autosuggest-orig-*' 'orig-*' beep run-help set-local-history which-command yank yank-pop 'zle-*' ) | |
+_zsh_autosuggest_bind_widgets:15> zle -la | |
+_zsh_autosuggest_bind_widgets:15> widget=accept-and-hold | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget accept-and-hold modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=accept-and-hold | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count accept-and-hold | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_accept-and-hold() { zle .accept-and-hold }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-accept-and-hold _zsh_autosuggest_orig_accept-and-hold | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_accept-and-hold() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-accept-and-hold $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- accept-and-hold _zsh_autosuggest_bound_1_accept-and-hold | |
+_zsh_autosuggest_bind_widgets:15> widget=accept-and-infer-next-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget accept-and-infer-next-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=accept-and-infer-next-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count accept-and-infer-next-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_accept-and-infer-next-history() { zle .accept-and-infer-next-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-accept-and-infer-next-history _zsh_autosuggest_orig_accept-and-infer-next-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_accept-and-infer-next-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-accept-and-infer-next-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- accept-and-infer-next-history _zsh_autosuggest_bound_1_accept-and-infer-next-history | |
+_zsh_autosuggest_bind_widgets:15> widget=accept-and-menu-complete | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget accept-and-menu-complete modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=accept-and-menu-complete | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count accept-and-menu-complete | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_accept-and-menu-complete() { zle .accept-and-menu-complete }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-accept-and-menu-complete _zsh_autosuggest_orig_accept-and-menu-complete | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_accept-and-menu-complete() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-accept-and-menu-complete $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- accept-and-menu-complete _zsh_autosuggest_bound_1_accept-and-menu-complete | |
+_zsh_autosuggest_bind_widgets:15> widget=accept-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n accept-line ]] | |
+_zsh_autosuggest_bind_widgets:17> _zsh_autosuggest_bind_widget accept-line clear | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=accept-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=clear | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count accept-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_accept-line() { zle .accept-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-accept-line _zsh_autosuggest_orig_accept-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_accept-line() {\n\t\t_zsh_autosuggest_widget_clear autosuggest-orig-1-accept-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- accept-line _zsh_autosuggest_bound_1_accept-line | |
+_zsh_autosuggest_bind_widgets:15> widget=accept-line-and-down-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget accept-line-and-down-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=accept-line-and-down-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count accept-line-and-down-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_accept-line-and-down-history() { zle .accept-line-and-down-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-accept-line-and-down-history _zsh_autosuggest_orig_accept-line-and-down-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_accept-line-and-down-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-accept-line-and-down-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- accept-line-and-down-history _zsh_autosuggest_bound_1_accept-line-and-down-history | |
+_zsh_autosuggest_bind_widgets:15> widget=accept-search | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget accept-search modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=accept-search | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count accept-search | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_accept-search() { zle .accept-search }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-accept-search _zsh_autosuggest_orig_accept-search | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_accept-search() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-accept-search $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- accept-search _zsh_autosuggest_bound_1_accept-search | |
+_zsh_autosuggest_bind_widgets:15> widget=argument-base | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget argument-base modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=argument-base | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count argument-base | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_argument-base() { zle .argument-base }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-argument-base _zsh_autosuggest_orig_argument-base | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_argument-base() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-argument-base $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- argument-base _zsh_autosuggest_bound_1_argument-base | |
+_zsh_autosuggest_bind_widgets:15> widget=auto-suffix-remove | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget auto-suffix-remove modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=auto-suffix-remove | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count auto-suffix-remove | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_auto-suffix-remove() { zle .auto-suffix-remove }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-auto-suffix-remove _zsh_autosuggest_orig_auto-suffix-remove | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_auto-suffix-remove() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-auto-suffix-remove $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- auto-suffix-remove _zsh_autosuggest_bound_1_auto-suffix-remove | |
+_zsh_autosuggest_bind_widgets:15> widget=auto-suffix-retain | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget auto-suffix-retain modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=auto-suffix-retain | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count auto-suffix-retain | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_auto-suffix-retain() { zle .auto-suffix-retain }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-auto-suffix-retain _zsh_autosuggest_orig_auto-suffix-retain | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_auto-suffix-retain() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-auto-suffix-retain $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- auto-suffix-retain _zsh_autosuggest_bound_1_auto-suffix-retain | |
+_zsh_autosuggest_bind_widgets:15> widget=backward-char | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget backward-char modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=backward-char | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count backward-char | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_backward-char() { zle .backward-char }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-backward-char _zsh_autosuggest_orig_backward-char | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_backward-char() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-backward-char $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- backward-char _zsh_autosuggest_bound_1_backward-char | |
+_zsh_autosuggest_bind_widgets:15> widget=backward-delete-char | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget backward-delete-char modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=backward-delete-char | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count backward-delete-char | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_backward-delete-char() { zle .backward-delete-char }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-backward-delete-char _zsh_autosuggest_orig_backward-delete-char | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_backward-delete-char() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-backward-delete-char $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- backward-delete-char _zsh_autosuggest_bound_1_backward-delete-char | |
+_zsh_autosuggest_bind_widgets:15> widget=backward-delete-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget backward-delete-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=backward-delete-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count backward-delete-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_backward-delete-word() { zle .backward-delete-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-backward-delete-word _zsh_autosuggest_orig_backward-delete-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_backward-delete-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-backward-delete-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- backward-delete-word _zsh_autosuggest_bound_1_backward-delete-word | |
+_zsh_autosuggest_bind_widgets:15> widget=backward-kill-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget backward-kill-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=backward-kill-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count backward-kill-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_backward-kill-line() { zle .backward-kill-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-backward-kill-line _zsh_autosuggest_orig_backward-kill-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_backward-kill-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-backward-kill-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- backward-kill-line _zsh_autosuggest_bound_1_backward-kill-line | |
+_zsh_autosuggest_bind_widgets:15> widget=backward-kill-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget backward-kill-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=backward-kill-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count backward-kill-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_backward-kill-word() { zle .backward-kill-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-backward-kill-word _zsh_autosuggest_orig_backward-kill-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_backward-kill-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-backward-kill-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- backward-kill-word _zsh_autosuggest_bound_1_backward-kill-word | |
+_zsh_autosuggest_bind_widgets:15> widget=backward-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget backward-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=backward-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count backward-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_backward-word() { zle .backward-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-backward-word _zsh_autosuggest_orig_backward-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_backward-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-backward-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- backward-word _zsh_autosuggest_bound_1_backward-word | |
+_zsh_autosuggest_bind_widgets:15> widget=beginning-of-buffer-or-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget beginning-of-buffer-or-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=beginning-of-buffer-or-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count beginning-of-buffer-or-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_beginning-of-buffer-or-history() { zle .beginning-of-buffer-or-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-beginning-of-buffer-or-history _zsh_autosuggest_orig_beginning-of-buffer-or-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_beginning-of-buffer-or-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-beginning-of-buffer-or-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- beginning-of-buffer-or-history _zsh_autosuggest_bound_1_beginning-of-buffer-or-history | |
+_zsh_autosuggest_bind_widgets:15> widget=beginning-of-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget beginning-of-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=beginning-of-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count beginning-of-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_beginning-of-history() { zle .beginning-of-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-beginning-of-history _zsh_autosuggest_orig_beginning-of-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_beginning-of-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-beginning-of-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- beginning-of-history _zsh_autosuggest_bound_1_beginning-of-history | |
+_zsh_autosuggest_bind_widgets:15> widget=beginning-of-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget beginning-of-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=beginning-of-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count beginning-of-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_beginning-of-line() { zle .beginning-of-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-beginning-of-line _zsh_autosuggest_orig_beginning-of-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_beginning-of-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-beginning-of-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- beginning-of-line _zsh_autosuggest_bound_1_beginning-of-line | |
+_zsh_autosuggest_bind_widgets:15> widget=beginning-of-line-hist | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget beginning-of-line-hist modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=beginning-of-line-hist | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count beginning-of-line-hist | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_beginning-of-line-hist() { zle .beginning-of-line-hist }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-beginning-of-line-hist _zsh_autosuggest_orig_beginning-of-line-hist | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_beginning-of-line-hist() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-beginning-of-line-hist $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- beginning-of-line-hist _zsh_autosuggest_bound_1_beginning-of-line-hist | |
+_zsh_autosuggest_bind_widgets:15> widget=bracketed-paste | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget bracketed-paste modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=bracketed-paste | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case user:bracketed-paste-magic (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case user:bracketed-paste-magic (user:*) | |
+_zsh_autosuggest_bind_widget:18> _zsh_autosuggest_incr_bind_count bracketed-paste | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:19> zle -N autosuggest-orig-1-bracketed-paste bracketed-paste-magic | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_bracketed-paste() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-bracketed-paste $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- bracketed-paste _zsh_autosuggest_bound_1_bracketed-paste | |
+_zsh_autosuggest_bind_widgets:15> widget=capitalize-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget capitalize-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=capitalize-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count capitalize-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_capitalize-word() { zle .capitalize-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-capitalize-word _zsh_autosuggest_orig_capitalize-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_capitalize-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-capitalize-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- capitalize-word _zsh_autosuggest_bound_1_capitalize-word | |
+_zsh_autosuggest_bind_widgets:15> widget=clear-screen | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget clear-screen modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=clear-screen | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count clear-screen | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_clear-screen() { zle .clear-screen }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-clear-screen _zsh_autosuggest_orig_clear-screen | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_clear-screen() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-clear-screen $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- clear-screen _zsh_autosuggest_bound_1_clear-screen | |
+_zsh_autosuggest_bind_widgets:15> widget=complete-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget complete-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=complete-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case completion:.complete-word:_main_complete (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.complete-word:_main_complete (user:*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.complete-word:_main_complete (builtin) | |
+_zsh_autosuggest_bind_widget:10> case completion:.complete-word:_main_complete (completion:*) | |
+_zsh_autosuggest_bind_widget:31> _zsh_autosuggest_incr_bind_count complete-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:32> eval 'zle -C autosuggest-orig-1-complete-word .complete-word _main_complete' | |
+(eval):1> zle -C autosuggest-orig-1-complete-word .complete-word _main_complete | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_complete-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-complete-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- complete-word _zsh_autosuggest_bound_1_complete-word | |
+_zsh_autosuggest_bind_widgets:15> widget=copy-prev-shell-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget copy-prev-shell-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=copy-prev-shell-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count copy-prev-shell-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_copy-prev-shell-word() { zle .copy-prev-shell-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-copy-prev-shell-word _zsh_autosuggest_orig_copy-prev-shell-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_copy-prev-shell-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-copy-prev-shell-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- copy-prev-shell-word _zsh_autosuggest_bound_1_copy-prev-shell-word | |
+_zsh_autosuggest_bind_widgets:15> widget=copy-prev-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget copy-prev-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=copy-prev-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count copy-prev-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_copy-prev-word() { zle .copy-prev-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-copy-prev-word _zsh_autosuggest_orig_copy-prev-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_copy-prev-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-copy-prev-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- copy-prev-word _zsh_autosuggest_bound_1_copy-prev-word | |
+_zsh_autosuggest_bind_widgets:15> widget=copy-region-as-kill | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget copy-region-as-kill modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=copy-region-as-kill | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count copy-region-as-kill | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_copy-region-as-kill() { zle .copy-region-as-kill }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-copy-region-as-kill _zsh_autosuggest_orig_copy-region-as-kill | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_copy-region-as-kill() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-copy-region-as-kill $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- copy-region-as-kill _zsh_autosuggest_bound_1_copy-region-as-kill | |
+_zsh_autosuggest_bind_widgets:15> widget=deactivate-region | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget deactivate-region modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=deactivate-region | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count deactivate-region | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_deactivate-region() { zle .deactivate-region }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-deactivate-region _zsh_autosuggest_orig_deactivate-region | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_deactivate-region() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-deactivate-region $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- deactivate-region _zsh_autosuggest_bound_1_deactivate-region | |
+_zsh_autosuggest_bind_widgets:15> widget=delete-char | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget delete-char modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=delete-char | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count delete-char | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_delete-char() { zle .delete-char }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-delete-char _zsh_autosuggest_orig_delete-char | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_delete-char() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-delete-char $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- delete-char _zsh_autosuggest_bound_1_delete-char | |
+_zsh_autosuggest_bind_widgets:15> widget=delete-char-or-list | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget delete-char-or-list modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=delete-char-or-list | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case completion:.delete-char-or-list:_main_complete (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.delete-char-or-list:_main_complete (user:*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.delete-char-or-list:_main_complete (builtin) | |
+_zsh_autosuggest_bind_widget:10> case completion:.delete-char-or-list:_main_complete (completion:*) | |
+_zsh_autosuggest_bind_widget:31> _zsh_autosuggest_incr_bind_count delete-char-or-list | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:32> eval 'zle -C autosuggest-orig-1-delete-char-or-list .delete-char-or-list _main_complete' | |
+(eval):1> zle -C autosuggest-orig-1-delete-char-or-list .delete-char-or-list _main_complete | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_delete-char-or-list() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-delete-char-or-list $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- delete-char-or-list _zsh_autosuggest_bound_1_delete-char-or-list | |
+_zsh_autosuggest_bind_widgets:15> widget=delete-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget delete-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=delete-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count delete-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_delete-word() { zle .delete-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-delete-word _zsh_autosuggest_orig_delete-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_delete-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-delete-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- delete-word _zsh_autosuggest_bound_1_delete-word | |
+_zsh_autosuggest_bind_widgets:15> widget=describe-key-briefly | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget describe-key-briefly modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=describe-key-briefly | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count describe-key-briefly | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_describe-key-briefly() { zle .describe-key-briefly }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-describe-key-briefly _zsh_autosuggest_orig_describe-key-briefly | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_describe-key-briefly() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-describe-key-briefly $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- describe-key-briefly _zsh_autosuggest_bound_1_describe-key-briefly | |
+_zsh_autosuggest_bind_widgets:15> widget=digit-argument | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget digit-argument modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=digit-argument | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count digit-argument | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_digit-argument() { zle .digit-argument }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-digit-argument _zsh_autosuggest_orig_digit-argument | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_digit-argument() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-digit-argument $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- digit-argument _zsh_autosuggest_bound_1_digit-argument | |
+_zsh_autosuggest_bind_widgets:15> widget=down-case-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget down-case-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=down-case-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count down-case-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_down-case-word() { zle .down-case-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-down-case-word _zsh_autosuggest_orig_down-case-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_down-case-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-down-case-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- down-case-word _zsh_autosuggest_bound_1_down-case-word | |
+_zsh_autosuggest_bind_widgets:15> widget=down-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget down-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=down-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count down-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_down-history() { zle .down-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-down-history _zsh_autosuggest_orig_down-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_down-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-down-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- down-history _zsh_autosuggest_bound_1_down-history | |
+_zsh_autosuggest_bind_widgets:15> widget=down-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget down-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=down-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count down-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_down-line() { zle .down-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-down-line _zsh_autosuggest_orig_down-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_down-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-down-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- down-line _zsh_autosuggest_bound_1_down-line | |
+_zsh_autosuggest_bind_widgets:15> widget=down-line-or-beginning-search | |
+_zsh_autosuggest_bind_widgets:16> [[ -n down-line-or-beginning-search ]] | |
+_zsh_autosuggest_bind_widgets:17> _zsh_autosuggest_bind_widget down-line-or-beginning-search clear | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=down-line-or-beginning-search | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=clear | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case user:down-line-or-beginning-search (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case user:down-line-or-beginning-search (user:*) | |
+_zsh_autosuggest_bind_widget:18> _zsh_autosuggest_incr_bind_count down-line-or-beginning-search | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:19> zle -N autosuggest-orig-1-down-line-or-beginning-search down-line-or-beginning-search | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_down-line-or-beginning-search() {\n\t\t_zsh_autosuggest_widget_clear autosuggest-orig-1-down-line-or-beginning-search $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- down-line-or-beginning-search _zsh_autosuggest_bound_1_down-line-or-beginning-search | |
+_zsh_autosuggest_bind_widgets:15> widget=down-line-or-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n down-line-or-history ]] | |
+_zsh_autosuggest_bind_widgets:17> _zsh_autosuggest_bind_widget down-line-or-history clear | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=down-line-or-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=clear | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count down-line-or-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_down-line-or-history() { zle .down-line-or-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-down-line-or-history _zsh_autosuggest_orig_down-line-or-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_down-line-or-history() {\n\t\t_zsh_autosuggest_widget_clear autosuggest-orig-1-down-line-or-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- down-line-or-history _zsh_autosuggest_bound_1_down-line-or-history | |
+_zsh_autosuggest_bind_widgets:15> widget=down-line-or-search | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget down-line-or-search modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=down-line-or-search | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count down-line-or-search | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_down-line-or-search() { zle .down-line-or-search }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-down-line-or-search _zsh_autosuggest_orig_down-line-or-search | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_down-line-or-search() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-down-line-or-search $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- down-line-or-search _zsh_autosuggest_bound_1_down-line-or-search | |
+_zsh_autosuggest_bind_widgets:15> widget=edit-command-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget edit-command-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=edit-command-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case user:edit-command-line (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case user:edit-command-line (user:*) | |
+_zsh_autosuggest_bind_widget:18> _zsh_autosuggest_incr_bind_count edit-command-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:19> zle -N autosuggest-orig-1-edit-command-line edit-command-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_edit-command-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-edit-command-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- edit-command-line _zsh_autosuggest_bound_1_edit-command-line | |
+_zsh_autosuggest_bind_widgets:15> widget=emacs-backward-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget emacs-backward-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=emacs-backward-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count emacs-backward-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_emacs-backward-word() { zle .emacs-backward-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-emacs-backward-word _zsh_autosuggest_orig_emacs-backward-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_emacs-backward-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-emacs-backward-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- emacs-backward-word _zsh_autosuggest_bound_1_emacs-backward-word | |
+_zsh_autosuggest_bind_widgets:15> widget=emacs-forward-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n emacs-forward-word ]] | |
+_zsh_autosuggest_bind_widgets:23> _zsh_autosuggest_bind_widget emacs-forward-word partial_accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=emacs-forward-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=partial_accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count emacs-forward-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_emacs-forward-word() { zle .emacs-forward-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-emacs-forward-word _zsh_autosuggest_orig_emacs-forward-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_emacs-forward-word() {\n\t\t_zsh_autosuggest_widget_partial_accept autosuggest-orig-1-emacs-forward-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- emacs-forward-word _zsh_autosuggest_bound_1_emacs-forward-word | |
+_zsh_autosuggest_bind_widgets:15> widget=end-of-buffer-or-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget end-of-buffer-or-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=end-of-buffer-or-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count end-of-buffer-or-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_end-of-buffer-or-history() { zle .end-of-buffer-or-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-end-of-buffer-or-history _zsh_autosuggest_orig_end-of-buffer-or-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_end-of-buffer-or-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-end-of-buffer-or-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- end-of-buffer-or-history _zsh_autosuggest_bound_1_end-of-buffer-or-history | |
+_zsh_autosuggest_bind_widgets:15> widget=end-of-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget end-of-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=end-of-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count end-of-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_end-of-history() { zle .end-of-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-end-of-history _zsh_autosuggest_orig_end-of-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_end-of-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-end-of-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- end-of-history _zsh_autosuggest_bound_1_end-of-history | |
+_zsh_autosuggest_bind_widgets:15> widget=end-of-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n end-of-line ]] | |
+_zsh_autosuggest_bind_widgets:19> _zsh_autosuggest_bind_widget end-of-line accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=end-of-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count end-of-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_end-of-line() { zle .end-of-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-end-of-line _zsh_autosuggest_orig_end-of-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_end-of-line() {\n\t\t_zsh_autosuggest_widget_accept autosuggest-orig-1-end-of-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- end-of-line _zsh_autosuggest_bound_1_end-of-line | |
+_zsh_autosuggest_bind_widgets:15> widget=end-of-line-hist | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget end-of-line-hist modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=end-of-line-hist | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count end-of-line-hist | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_end-of-line-hist() { zle .end-of-line-hist }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-end-of-line-hist _zsh_autosuggest_orig_end-of-line-hist | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_end-of-line-hist() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-end-of-line-hist $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- end-of-line-hist _zsh_autosuggest_bound_1_end-of-line-hist | |
+_zsh_autosuggest_bind_widgets:15> widget=end-of-list | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget end-of-list modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=end-of-list | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count end-of-list | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_end-of-list() { zle .end-of-list }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-end-of-list _zsh_autosuggest_orig_end-of-list | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_end-of-list() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-end-of-list $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- end-of-list _zsh_autosuggest_bound_1_end-of-list | |
+_zsh_autosuggest_bind_widgets:15> widget=exchange-point-and-mark | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget exchange-point-and-mark modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=exchange-point-and-mark | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count exchange-point-and-mark | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_exchange-point-and-mark() { zle .exchange-point-and-mark }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-exchange-point-and-mark _zsh_autosuggest_orig_exchange-point-and-mark | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_exchange-point-and-mark() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-exchange-point-and-mark $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- exchange-point-and-mark _zsh_autosuggest_bound_1_exchange-point-and-mark | |
+_zsh_autosuggest_bind_widgets:15> widget=execute-last-named-cmd | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget execute-last-named-cmd modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=execute-last-named-cmd | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count execute-last-named-cmd | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_execute-last-named-cmd() { zle .execute-last-named-cmd }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-execute-last-named-cmd _zsh_autosuggest_orig_execute-last-named-cmd | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_execute-last-named-cmd() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-execute-last-named-cmd $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- execute-last-named-cmd _zsh_autosuggest_bound_1_execute-last-named-cmd | |
+_zsh_autosuggest_bind_widgets:15> widget=execute-named-cmd | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget execute-named-cmd modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=execute-named-cmd | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count execute-named-cmd | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_execute-named-cmd() { zle .execute-named-cmd }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-execute-named-cmd _zsh_autosuggest_orig_execute-named-cmd | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_execute-named-cmd() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-execute-named-cmd $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- execute-named-cmd _zsh_autosuggest_bound_1_execute-named-cmd | |
+_zsh_autosuggest_bind_widgets:15> widget=expand-cmd-path | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget expand-cmd-path modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=expand-cmd-path | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count expand-cmd-path | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_expand-cmd-path() { zle .expand-cmd-path }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-expand-cmd-path _zsh_autosuggest_orig_expand-cmd-path | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_expand-cmd-path() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-expand-cmd-path $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- expand-cmd-path _zsh_autosuggest_bound_1_expand-cmd-path | |
+_zsh_autosuggest_bind_widgets:15> widget=expand-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget expand-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=expand-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count expand-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_expand-history() { zle .expand-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-expand-history _zsh_autosuggest_orig_expand-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_expand-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-expand-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- expand-history _zsh_autosuggest_bound_1_expand-history | |
+_zsh_autosuggest_bind_widgets:15> widget=expand-or-complete | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget expand-or-complete modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=expand-or-complete | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case completion:.expand-or-complete:_main_complete (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.expand-or-complete:_main_complete (user:*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.expand-or-complete:_main_complete (builtin) | |
+_zsh_autosuggest_bind_widget:10> case completion:.expand-or-complete:_main_complete (completion:*) | |
+_zsh_autosuggest_bind_widget:31> _zsh_autosuggest_incr_bind_count expand-or-complete | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:32> eval 'zle -C autosuggest-orig-1-expand-or-complete .expand-or-complete _main_complete' | |
+(eval):1> zle -C autosuggest-orig-1-expand-or-complete .expand-or-complete _main_complete | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_expand-or-complete() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-expand-or-complete $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- expand-or-complete _zsh_autosuggest_bound_1_expand-or-complete | |
+_zsh_autosuggest_bind_widgets:15> widget=expand-or-complete-prefix | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget expand-or-complete-prefix modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=expand-or-complete-prefix | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case completion:.expand-or-complete-prefix:_main_complete (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.expand-or-complete-prefix:_main_complete (user:*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.expand-or-complete-prefix:_main_complete (builtin) | |
+_zsh_autosuggest_bind_widget:10> case completion:.expand-or-complete-prefix:_main_complete (completion:*) | |
+_zsh_autosuggest_bind_widget:31> _zsh_autosuggest_incr_bind_count expand-or-complete-prefix | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:32> eval 'zle -C autosuggest-orig-1-expand-or-complete-prefix .expand-or-complete-prefix _main_complete' | |
+(eval):1> zle -C autosuggest-orig-1-expand-or-complete-prefix .expand-or-complete-prefix _main_complete | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_expand-or-complete-prefix() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-expand-or-complete-prefix $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- expand-or-complete-prefix _zsh_autosuggest_bound_1_expand-or-complete-prefix | |
+_zsh_autosuggest_bind_widgets:15> widget=expand-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget expand-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=expand-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count expand-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_expand-word() { zle .expand-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-expand-word _zsh_autosuggest_orig_expand-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_expand-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-expand-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- expand-word _zsh_autosuggest_bound_1_expand-word | |
+_zsh_autosuggest_bind_widgets:15> widget=forward-char | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n forward-char ]] | |
+_zsh_autosuggest_bind_widgets:19> _zsh_autosuggest_bind_widget forward-char accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=forward-char | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count forward-char | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_forward-char() { zle .forward-char }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-forward-char _zsh_autosuggest_orig_forward-char | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_forward-char() {\n\t\t_zsh_autosuggest_widget_accept autosuggest-orig-1-forward-char $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- forward-char _zsh_autosuggest_bound_1_forward-char | |
+_zsh_autosuggest_bind_widgets:15> widget=forward-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n forward-word ]] | |
+_zsh_autosuggest_bind_widgets:23> _zsh_autosuggest_bind_widget forward-word partial_accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=forward-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=partial_accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count forward-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_forward-word() { zle .forward-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-forward-word _zsh_autosuggest_orig_forward-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_forward-word() {\n\t\t_zsh_autosuggest_widget_partial_accept autosuggest-orig-1-forward-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- forward-word _zsh_autosuggest_bound_1_forward-word | |
+_zsh_autosuggest_bind_widgets:15> widget=fzf-cd-widget | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget fzf-cd-widget modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=fzf-cd-widget | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case user:fzf-cd-widget (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case user:fzf-cd-widget (user:*) | |
+_zsh_autosuggest_bind_widget:18> _zsh_autosuggest_incr_bind_count fzf-cd-widget | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:19> zle -N autosuggest-orig-1-fzf-cd-widget fzf-cd-widget | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_fzf-cd-widget() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-fzf-cd-widget $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- fzf-cd-widget _zsh_autosuggest_bound_1_fzf-cd-widget | |
+_zsh_autosuggest_bind_widgets:15> widget=fzf-completion | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget fzf-completion modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=fzf-completion | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case user:fzf-completion (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case user:fzf-completion (user:*) | |
+_zsh_autosuggest_bind_widget:18> _zsh_autosuggest_incr_bind_count fzf-completion | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:19> zle -N autosuggest-orig-1-fzf-completion fzf-completion | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_fzf-completion() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-fzf-completion $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- fzf-completion _zsh_autosuggest_bound_1_fzf-completion | |
+_zsh_autosuggest_bind_widgets:15> widget=fzf-file-widget | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget fzf-file-widget modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=fzf-file-widget | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case user:fzf-file-widget (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case user:fzf-file-widget (user:*) | |
+_zsh_autosuggest_bind_widget:18> _zsh_autosuggest_incr_bind_count fzf-file-widget | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:19> zle -N autosuggest-orig-1-fzf-file-widget fzf-file-widget | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_fzf-file-widget() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-fzf-file-widget $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- fzf-file-widget _zsh_autosuggest_bound_1_fzf-file-widget | |
+_zsh_autosuggest_bind_widgets:15> widget=fzf-history-widget | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget fzf-history-widget modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=fzf-history-widget | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case user:fzf-history-widget (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case user:fzf-history-widget (user:*) | |
+_zsh_autosuggest_bind_widget:18> _zsh_autosuggest_incr_bind_count fzf-history-widget | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:19> zle -N autosuggest-orig-1-fzf-history-widget fzf-history-widget | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_fzf-history-widget() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-fzf-history-widget $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- fzf-history-widget _zsh_autosuggest_bound_1_fzf-history-widget | |
+_zsh_autosuggest_bind_widgets:15> widget=get-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget get-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=get-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count get-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_get-line() { zle .get-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-get-line _zsh_autosuggest_orig_get-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_get-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-get-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- get-line _zsh_autosuggest_bound_1_get-line | |
+_zsh_autosuggest_bind_widgets:15> widget=gosmacs-transpose-chars | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget gosmacs-transpose-chars modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=gosmacs-transpose-chars | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count gosmacs-transpose-chars | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_gosmacs-transpose-chars() { zle .gosmacs-transpose-chars }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-gosmacs-transpose-chars _zsh_autosuggest_orig_gosmacs-transpose-chars | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_gosmacs-transpose-chars() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-gosmacs-transpose-chars $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- gosmacs-transpose-chars _zsh_autosuggest_bound_1_gosmacs-transpose-chars | |
+_zsh_autosuggest_bind_widgets:15> widget=history-beginning-search-backward | |
+_zsh_autosuggest_bind_widgets:16> [[ -n history-beginning-search-backward ]] | |
+_zsh_autosuggest_bind_widgets:17> _zsh_autosuggest_bind_widget history-beginning-search-backward clear | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=history-beginning-search-backward | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=clear | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count history-beginning-search-backward | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_history-beginning-search-backward() { zle .history-beginning-search-backward }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-history-beginning-search-backward _zsh_autosuggest_orig_history-beginning-search-backward | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_history-beginning-search-backward() {\n\t\t_zsh_autosuggest_widget_clear autosuggest-orig-1-history-beginning-search-backward $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- history-beginning-search-backward _zsh_autosuggest_bound_1_history-beginning-search-backward | |
+_zsh_autosuggest_bind_widgets:15> widget=history-beginning-search-forward | |
+_zsh_autosuggest_bind_widgets:16> [[ -n history-beginning-search-forward ]] | |
+_zsh_autosuggest_bind_widgets:17> _zsh_autosuggest_bind_widget history-beginning-search-forward clear | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=history-beginning-search-forward | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=clear | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count history-beginning-search-forward | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_history-beginning-search-forward() { zle .history-beginning-search-forward }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-history-beginning-search-forward _zsh_autosuggest_orig_history-beginning-search-forward | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_history-beginning-search-forward() {\n\t\t_zsh_autosuggest_widget_clear autosuggest-orig-1-history-beginning-search-forward $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- history-beginning-search-forward _zsh_autosuggest_bound_1_history-beginning-search-forward | |
+_zsh_autosuggest_bind_widgets:15> widget=history-incremental-pattern-search-backward | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget history-incremental-pattern-search-backward modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=history-incremental-pattern-search-backward | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count history-incremental-pattern-search-backward | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_history-incremental-pattern-search-backward() { zle .history-incremental-pattern-search-backward }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-history-incremental-pattern-search-backward _zsh_autosuggest_orig_history-incremental-pattern-search-backward | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_history-incremental-pattern-search-backward() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-history-incremental-pattern-search-backward $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- history-incremental-pattern-search-backward _zsh_autosuggest_bound_1_history-incremental-pattern-search-backward | |
+_zsh_autosuggest_bind_widgets:15> widget=history-incremental-pattern-search-forward | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget history-incremental-pattern-search-forward modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=history-incremental-pattern-search-forward | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count history-incremental-pattern-search-forward | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_history-incremental-pattern-search-forward() { zle .history-incremental-pattern-search-forward }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-history-incremental-pattern-search-forward _zsh_autosuggest_orig_history-incremental-pattern-search-forward | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_history-incremental-pattern-search-forward() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-history-incremental-pattern-search-forward $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- history-incremental-pattern-search-forward _zsh_autosuggest_bound_1_history-incremental-pattern-search-forward | |
+_zsh_autosuggest_bind_widgets:15> widget=history-incremental-search-backward | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget history-incremental-search-backward modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=history-incremental-search-backward | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count history-incremental-search-backward | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_history-incremental-search-backward() { zle .history-incremental-search-backward }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-history-incremental-search-backward _zsh_autosuggest_orig_history-incremental-search-backward | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_history-incremental-search-backward() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-history-incremental-search-backward $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- history-incremental-search-backward _zsh_autosuggest_bound_1_history-incremental-search-backward | |
+_zsh_autosuggest_bind_widgets:15> widget=history-incremental-search-forward | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget history-incremental-search-forward modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=history-incremental-search-forward | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count history-incremental-search-forward | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_history-incremental-search-forward() { zle .history-incremental-search-forward }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-history-incremental-search-forward _zsh_autosuggest_orig_history-incremental-search-forward | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_history-incremental-search-forward() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-history-incremental-search-forward $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- history-incremental-search-forward _zsh_autosuggest_bound_1_history-incremental-search-forward | |
+_zsh_autosuggest_bind_widgets:15> widget=history-search-backward | |
+_zsh_autosuggest_bind_widgets:16> [[ -n history-search-backward ]] | |
+_zsh_autosuggest_bind_widgets:17> _zsh_autosuggest_bind_widget history-search-backward clear | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=history-search-backward | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=clear | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count history-search-backward | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_history-search-backward() { zle .history-search-backward }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-history-search-backward _zsh_autosuggest_orig_history-search-backward | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_history-search-backward() {\n\t\t_zsh_autosuggest_widget_clear autosuggest-orig-1-history-search-backward $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- history-search-backward _zsh_autosuggest_bound_1_history-search-backward | |
+_zsh_autosuggest_bind_widgets:15> widget=history-search-forward | |
+_zsh_autosuggest_bind_widgets:16> [[ -n history-search-forward ]] | |
+_zsh_autosuggest_bind_widgets:17> _zsh_autosuggest_bind_widget history-search-forward clear | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=history-search-forward | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=clear | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count history-search-forward | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_history-search-forward() { zle .history-search-forward }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-history-search-forward _zsh_autosuggest_orig_history-search-forward | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_history-search-forward() {\n\t\t_zsh_autosuggest_widget_clear autosuggest-orig-1-history-search-forward $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- history-search-forward _zsh_autosuggest_bound_1_history-search-forward | |
+_zsh_autosuggest_bind_widgets:15> widget=infer-next-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget infer-next-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=infer-next-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count infer-next-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_infer-next-history() { zle .infer-next-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-infer-next-history _zsh_autosuggest_orig_infer-next-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_infer-next-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-infer-next-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- infer-next-history _zsh_autosuggest_bound_1_infer-next-history | |
+_zsh_autosuggest_bind_widgets:15> widget=insert-last-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget insert-last-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=insert-last-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count insert-last-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_insert-last-word() { zle .insert-last-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-insert-last-word _zsh_autosuggest_orig_insert-last-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_insert-last-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-insert-last-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- insert-last-word _zsh_autosuggest_bound_1_insert-last-word | |
+_zsh_autosuggest_bind_widgets:15> widget=kill-buffer | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget kill-buffer modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=kill-buffer | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count kill-buffer | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_kill-buffer() { zle .kill-buffer }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-kill-buffer _zsh_autosuggest_orig_kill-buffer | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_kill-buffer() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-kill-buffer $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- kill-buffer _zsh_autosuggest_bound_1_kill-buffer | |
+_zsh_autosuggest_bind_widgets:15> widget=kill-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget kill-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=kill-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count kill-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_kill-line() { zle .kill-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-kill-line _zsh_autosuggest_orig_kill-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_kill-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-kill-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- kill-line _zsh_autosuggest_bound_1_kill-line | |
+_zsh_autosuggest_bind_widgets:15> widget=kill-region | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget kill-region modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=kill-region | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count kill-region | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_kill-region() { zle .kill-region }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-kill-region _zsh_autosuggest_orig_kill-region | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_kill-region() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-kill-region $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- kill-region _zsh_autosuggest_bound_1_kill-region | |
+_zsh_autosuggest_bind_widgets:15> widget=kill-whole-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget kill-whole-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=kill-whole-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count kill-whole-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_kill-whole-line() { zle .kill-whole-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-kill-whole-line _zsh_autosuggest_orig_kill-whole-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_kill-whole-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-kill-whole-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- kill-whole-line _zsh_autosuggest_bound_1_kill-whole-line | |
+_zsh_autosuggest_bind_widgets:15> widget=kill-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget kill-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=kill-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count kill-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_kill-word() { zle .kill-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-kill-word _zsh_autosuggest_orig_kill-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_kill-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-kill-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- kill-word _zsh_autosuggest_bound_1_kill-word | |
+_zsh_autosuggest_bind_widgets:15> widget=list-choices | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget list-choices modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=list-choices | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case completion:.list-choices:_main_complete (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.list-choices:_main_complete (user:*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.list-choices:_main_complete (builtin) | |
+_zsh_autosuggest_bind_widget:10> case completion:.list-choices:_main_complete (completion:*) | |
+_zsh_autosuggest_bind_widget:31> _zsh_autosuggest_incr_bind_count list-choices | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:32> eval 'zle -C autosuggest-orig-1-list-choices .list-choices _main_complete' | |
+(eval):1> zle -C autosuggest-orig-1-list-choices .list-choices _main_complete | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_list-choices() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-list-choices $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- list-choices _zsh_autosuggest_bound_1_list-choices | |
+_zsh_autosuggest_bind_widgets:15> widget=list-expand | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget list-expand modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=list-expand | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count list-expand | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_list-expand() { zle .list-expand }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-list-expand _zsh_autosuggest_orig_list-expand | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_list-expand() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-list-expand $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- list-expand _zsh_autosuggest_bound_1_list-expand | |
+_zsh_autosuggest_bind_widgets:15> widget=magic-space | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget magic-space modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=magic-space | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count magic-space | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_magic-space() { zle .magic-space }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-magic-space _zsh_autosuggest_orig_magic-space | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_magic-space() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-magic-space $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- magic-space _zsh_autosuggest_bound_1_magic-space | |
+_zsh_autosuggest_bind_widgets:15> widget=menu-complete | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget menu-complete modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=menu-complete | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case completion:.menu-complete:_main_complete (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.menu-complete:_main_complete (user:*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.menu-complete:_main_complete (builtin) | |
+_zsh_autosuggest_bind_widget:10> case completion:.menu-complete:_main_complete (completion:*) | |
+_zsh_autosuggest_bind_widget:31> _zsh_autosuggest_incr_bind_count menu-complete | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:32> eval 'zle -C autosuggest-orig-1-menu-complete .menu-complete _main_complete' | |
+(eval):1> zle -C autosuggest-orig-1-menu-complete .menu-complete _main_complete | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_menu-complete() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-menu-complete $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- menu-complete _zsh_autosuggest_bound_1_menu-complete | |
+_zsh_autosuggest_bind_widgets:15> widget=menu-expand-or-complete | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget menu-expand-or-complete modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=menu-expand-or-complete | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case completion:.menu-expand-or-complete:_main_complete (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.menu-expand-or-complete:_main_complete (user:*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.menu-expand-or-complete:_main_complete (builtin) | |
+_zsh_autosuggest_bind_widget:10> case completion:.menu-expand-or-complete:_main_complete (completion:*) | |
+_zsh_autosuggest_bind_widget:31> _zsh_autosuggest_incr_bind_count menu-expand-or-complete | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:32> eval 'zle -C autosuggest-orig-1-menu-expand-or-complete .menu-expand-or-complete _main_complete' | |
+(eval):1> zle -C autosuggest-orig-1-menu-expand-or-complete .menu-expand-or-complete _main_complete | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_menu-expand-or-complete() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-menu-expand-or-complete $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- menu-expand-or-complete _zsh_autosuggest_bound_1_menu-expand-or-complete | |
+_zsh_autosuggest_bind_widgets:15> widget=menu-select | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget menu-select modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=menu-select | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count menu-select | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_menu-select() { zle .menu-select }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-menu-select _zsh_autosuggest_orig_menu-select | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_menu-select() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-menu-select $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- menu-select _zsh_autosuggest_bound_1_menu-select | |
+_zsh_autosuggest_bind_widgets:15> widget=neg-argument | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget neg-argument modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=neg-argument | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count neg-argument | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_neg-argument() { zle .neg-argument }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-neg-argument _zsh_autosuggest_orig_neg-argument | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_neg-argument() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-neg-argument $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- neg-argument _zsh_autosuggest_bound_1_neg-argument | |
+_zsh_autosuggest_bind_widgets:15> widget=overwrite-mode | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget overwrite-mode modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=overwrite-mode | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count overwrite-mode | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_overwrite-mode() { zle .overwrite-mode }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-overwrite-mode _zsh_autosuggest_orig_overwrite-mode | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_overwrite-mode() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-overwrite-mode $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- overwrite-mode _zsh_autosuggest_bound_1_overwrite-mode | |
+_zsh_autosuggest_bind_widgets:15> widget=pound-insert | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget pound-insert modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=pound-insert | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count pound-insert | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_pound-insert() { zle .pound-insert }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-pound-insert _zsh_autosuggest_orig_pound-insert | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_pound-insert() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-pound-insert $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- pound-insert _zsh_autosuggest_bound_1_pound-insert | |
+_zsh_autosuggest_bind_widgets:15> widget=push-input | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget push-input modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=push-input | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count push-input | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_push-input() { zle .push-input }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-push-input _zsh_autosuggest_orig_push-input | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_push-input() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-push-input $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- push-input _zsh_autosuggest_bound_1_push-input | |
+_zsh_autosuggest_bind_widgets:15> widget=push-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget push-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=push-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count push-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_push-line() { zle .push-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-push-line _zsh_autosuggest_orig_push-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_push-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-push-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- push-line _zsh_autosuggest_bound_1_push-line | |
+_zsh_autosuggest_bind_widgets:15> widget=push-line-or-edit | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget push-line-or-edit modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=push-line-or-edit | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count push-line-or-edit | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_push-line-or-edit() { zle .push-line-or-edit }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-push-line-or-edit _zsh_autosuggest_orig_push-line-or-edit | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_push-line-or-edit() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-push-line-or-edit $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- push-line-or-edit _zsh_autosuggest_bound_1_push-line-or-edit | |
+_zsh_autosuggest_bind_widgets:15> widget=put-replace-selection | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget put-replace-selection modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=put-replace-selection | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count put-replace-selection | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_put-replace-selection() { zle .put-replace-selection }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-put-replace-selection _zsh_autosuggest_orig_put-replace-selection | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_put-replace-selection() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-put-replace-selection $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- put-replace-selection _zsh_autosuggest_bound_1_put-replace-selection | |
+_zsh_autosuggest_bind_widgets:15> widget=quote-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget quote-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=quote-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count quote-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_quote-line() { zle .quote-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-quote-line _zsh_autosuggest_orig_quote-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_quote-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-quote-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- quote-line _zsh_autosuggest_bound_1_quote-line | |
+_zsh_autosuggest_bind_widgets:15> widget=quote-region | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget quote-region modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=quote-region | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count quote-region | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_quote-region() { zle .quote-region }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-quote-region _zsh_autosuggest_orig_quote-region | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_quote-region() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-quote-region $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- quote-region _zsh_autosuggest_bound_1_quote-region | |
+_zsh_autosuggest_bind_widgets:15> widget=quoted-insert | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget quoted-insert modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=quoted-insert | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count quoted-insert | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_quoted-insert() { zle .quoted-insert }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-quoted-insert _zsh_autosuggest_orig_quoted-insert | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_quoted-insert() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-quoted-insert $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- quoted-insert _zsh_autosuggest_bound_1_quoted-insert | |
+_zsh_autosuggest_bind_widgets:15> widget=read-command | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget read-command modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=read-command | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count read-command | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_read-command() { zle .read-command }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-read-command _zsh_autosuggest_orig_read-command | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_read-command() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-read-command $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- read-command _zsh_autosuggest_bound_1_read-command | |
+_zsh_autosuggest_bind_widgets:15> widget=recursive-edit | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget recursive-edit modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=recursive-edit | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count recursive-edit | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_recursive-edit() { zle .recursive-edit }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-recursive-edit _zsh_autosuggest_orig_recursive-edit | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_recursive-edit() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-recursive-edit $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- recursive-edit _zsh_autosuggest_bound_1_recursive-edit | |
+_zsh_autosuggest_bind_widgets:15> widget=redisplay | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget redisplay modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=redisplay | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count redisplay | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_redisplay() { zle .redisplay }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-redisplay _zsh_autosuggest_orig_redisplay | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_redisplay() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-redisplay $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- redisplay _zsh_autosuggest_bound_1_redisplay | |
+_zsh_autosuggest_bind_widgets:15> widget=redo | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget redo modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=redo | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count redo | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_redo() { zle .redo }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-redo _zsh_autosuggest_orig_redo | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_redo() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-redo $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- redo _zsh_autosuggest_bound_1_redo | |
+_zsh_autosuggest_bind_widgets:15> widget=reset-prompt | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget reset-prompt modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=reset-prompt | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count reset-prompt | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_reset-prompt() { zle .reset-prompt }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-reset-prompt _zsh_autosuggest_orig_reset-prompt | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_reset-prompt() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-reset-prompt $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- reset-prompt _zsh_autosuggest_bound_1_reset-prompt | |
+_zsh_autosuggest_bind_widgets:15> widget=reverse-menu-complete | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget reverse-menu-complete modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=reverse-menu-complete | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case completion:.reverse-menu-complete:_main_complete (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.reverse-menu-complete:_main_complete (user:*) | |
+_zsh_autosuggest_bind_widget:10> case completion:.reverse-menu-complete:_main_complete (builtin) | |
+_zsh_autosuggest_bind_widget:10> case completion:.reverse-menu-complete:_main_complete (completion:*) | |
+_zsh_autosuggest_bind_widget:31> _zsh_autosuggest_incr_bind_count reverse-menu-complete | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:32> eval 'zle -C autosuggest-orig-1-reverse-menu-complete .reverse-menu-complete _main_complete' | |
+(eval):1> zle -C autosuggest-orig-1-reverse-menu-complete .reverse-menu-complete _main_complete | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_reverse-menu-complete() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-reverse-menu-complete $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- reverse-menu-complete _zsh_autosuggest_bound_1_reverse-menu-complete | |
+_zsh_autosuggest_bind_widgets:15> widget=select-a-blank-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget select-a-blank-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=select-a-blank-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count select-a-blank-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_select-a-blank-word() { zle .select-a-blank-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-select-a-blank-word _zsh_autosuggest_orig_select-a-blank-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_select-a-blank-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-select-a-blank-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- select-a-blank-word _zsh_autosuggest_bound_1_select-a-blank-word | |
+_zsh_autosuggest_bind_widgets:15> widget=select-a-shell-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget select-a-shell-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=select-a-shell-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count select-a-shell-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_select-a-shell-word() { zle .select-a-shell-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-select-a-shell-word _zsh_autosuggest_orig_select-a-shell-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_select-a-shell-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-select-a-shell-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- select-a-shell-word _zsh_autosuggest_bound_1_select-a-shell-word | |
+_zsh_autosuggest_bind_widgets:15> widget=select-a-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget select-a-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=select-a-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count select-a-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_select-a-word() { zle .select-a-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-select-a-word _zsh_autosuggest_orig_select-a-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_select-a-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-select-a-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- select-a-word _zsh_autosuggest_bound_1_select-a-word | |
+_zsh_autosuggest_bind_widgets:15> widget=select-in-blank-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget select-in-blank-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=select-in-blank-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count select-in-blank-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_select-in-blank-word() { zle .select-in-blank-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-select-in-blank-word _zsh_autosuggest_orig_select-in-blank-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_select-in-blank-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-select-in-blank-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- select-in-blank-word _zsh_autosuggest_bound_1_select-in-blank-word | |
+_zsh_autosuggest_bind_widgets:15> widget=select-in-shell-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget select-in-shell-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=select-in-shell-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count select-in-shell-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_select-in-shell-word() { zle .select-in-shell-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-select-in-shell-word _zsh_autosuggest_orig_select-in-shell-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_select-in-shell-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-select-in-shell-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- select-in-shell-word _zsh_autosuggest_bound_1_select-in-shell-word | |
+_zsh_autosuggest_bind_widgets:15> widget=select-in-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget select-in-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=select-in-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count select-in-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_select-in-word() { zle .select-in-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-select-in-word _zsh_autosuggest_orig_select-in-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_select-in-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-select-in-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- select-in-word _zsh_autosuggest_bound_1_select-in-word | |
+_zsh_autosuggest_bind_widgets:15> widget=self-insert | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget self-insert modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=self-insert | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case user:url-quote-magic (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case user:url-quote-magic (user:*) | |
+_zsh_autosuggest_bind_widget:18> _zsh_autosuggest_incr_bind_count self-insert | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:19> zle -N autosuggest-orig-1-self-insert url-quote-magic | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_self-insert() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-self-insert $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- self-insert _zsh_autosuggest_bound_1_self-insert | |
+_zsh_autosuggest_bind_widgets:15> widget=self-insert-unmeta | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget self-insert-unmeta modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=self-insert-unmeta | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count self-insert-unmeta | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_self-insert-unmeta() { zle .self-insert-unmeta }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-self-insert-unmeta _zsh_autosuggest_orig_self-insert-unmeta | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_self-insert-unmeta() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-self-insert-unmeta $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- self-insert-unmeta _zsh_autosuggest_bound_1_self-insert-unmeta | |
+_zsh_autosuggest_bind_widgets:15> widget=send-break | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget send-break modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=send-break | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count send-break | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_send-break() { zle .send-break }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-send-break _zsh_autosuggest_orig_send-break | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_send-break() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-send-break $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- send-break _zsh_autosuggest_bound_1_send-break | |
+_zsh_autosuggest_bind_widgets:15> widget=set-mark-command | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget set-mark-command modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=set-mark-command | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count set-mark-command | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_set-mark-command() { zle .set-mark-command }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-set-mark-command _zsh_autosuggest_orig_set-mark-command | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_set-mark-command() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-set-mark-command $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- set-mark-command _zsh_autosuggest_bound_1_set-mark-command | |
+_zsh_autosuggest_bind_widgets:15> widget=spell-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget spell-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=spell-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count spell-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_spell-word() { zle .spell-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-spell-word _zsh_autosuggest_orig_spell-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_spell-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-spell-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- spell-word _zsh_autosuggest_bound_1_spell-word | |
+_zsh_autosuggest_bind_widgets:15> widget=split-undo | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget split-undo modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=split-undo | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count split-undo | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_split-undo() { zle .split-undo }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-split-undo _zsh_autosuggest_orig_split-undo | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_split-undo() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-split-undo $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- split-undo _zsh_autosuggest_bound_1_split-undo | |
+_zsh_autosuggest_bind_widgets:15> widget=transpose-chars | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget transpose-chars modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=transpose-chars | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count transpose-chars | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_transpose-chars() { zle .transpose-chars }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-transpose-chars _zsh_autosuggest_orig_transpose-chars | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_transpose-chars() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-transpose-chars $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- transpose-chars _zsh_autosuggest_bound_1_transpose-chars | |
+_zsh_autosuggest_bind_widgets:15> widget=transpose-words | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget transpose-words modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=transpose-words | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count transpose-words | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_transpose-words() { zle .transpose-words }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-transpose-words _zsh_autosuggest_orig_transpose-words | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_transpose-words() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-transpose-words $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- transpose-words _zsh_autosuggest_bound_1_transpose-words | |
+_zsh_autosuggest_bind_widgets:15> widget=undefined-key | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget undefined-key modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=undefined-key | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count undefined-key | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_undefined-key() { zle .undefined-key }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-undefined-key _zsh_autosuggest_orig_undefined-key | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_undefined-key() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-undefined-key $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- undefined-key _zsh_autosuggest_bound_1_undefined-key | |
+_zsh_autosuggest_bind_widgets:15> widget=undo | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget undo modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=undo | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count undo | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_undo() { zle .undo }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-undo _zsh_autosuggest_orig_undo | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_undo() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-undo $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- undo _zsh_autosuggest_bound_1_undo | |
+_zsh_autosuggest_bind_widgets:15> widget=universal-argument | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget universal-argument modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=universal-argument | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count universal-argument | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_universal-argument() { zle .universal-argument }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-universal-argument _zsh_autosuggest_orig_universal-argument | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_universal-argument() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-universal-argument $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- universal-argument _zsh_autosuggest_bound_1_universal-argument | |
+_zsh_autosuggest_bind_widgets:15> widget=up-case-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget up-case-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=up-case-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count up-case-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_up-case-word() { zle .up-case-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-up-case-word _zsh_autosuggest_orig_up-case-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_up-case-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-up-case-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- up-case-word _zsh_autosuggest_bound_1_up-case-word | |
+_zsh_autosuggest_bind_widgets:15> widget=up-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget up-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=up-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count up-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_up-history() { zle .up-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-up-history _zsh_autosuggest_orig_up-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_up-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-up-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- up-history _zsh_autosuggest_bound_1_up-history | |
+_zsh_autosuggest_bind_widgets:15> widget=up-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget up-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=up-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count up-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_up-line() { zle .up-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-up-line _zsh_autosuggest_orig_up-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_up-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-up-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- up-line _zsh_autosuggest_bound_1_up-line | |
+_zsh_autosuggest_bind_widgets:15> widget=up-line-or-beginning-search | |
+_zsh_autosuggest_bind_widgets:16> [[ -n up-line-or-beginning-search ]] | |
+_zsh_autosuggest_bind_widgets:17> _zsh_autosuggest_bind_widget up-line-or-beginning-search clear | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=up-line-or-beginning-search | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=clear | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case user:up-line-or-beginning-search (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case user:up-line-or-beginning-search (user:*) | |
+_zsh_autosuggest_bind_widget:18> _zsh_autosuggest_incr_bind_count up-line-or-beginning-search | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:19> zle -N autosuggest-orig-1-up-line-or-beginning-search up-line-or-beginning-search | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_up-line-or-beginning-search() {\n\t\t_zsh_autosuggest_widget_clear autosuggest-orig-1-up-line-or-beginning-search $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- up-line-or-beginning-search _zsh_autosuggest_bound_1_up-line-or-beginning-search | |
+_zsh_autosuggest_bind_widgets:15> widget=up-line-or-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n up-line-or-history ]] | |
+_zsh_autosuggest_bind_widgets:17> _zsh_autosuggest_bind_widget up-line-or-history clear | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=up-line-or-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=clear | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count up-line-or-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_up-line-or-history() { zle .up-line-or-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-up-line-or-history _zsh_autosuggest_orig_up-line-or-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_up-line-or-history() {\n\t\t_zsh_autosuggest_widget_clear autosuggest-orig-1-up-line-or-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- up-line-or-history _zsh_autosuggest_bound_1_up-line-or-history | |
+_zsh_autosuggest_bind_widgets:15> widget=up-line-or-search | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget up-line-or-search modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=up-line-or-search | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count up-line-or-search | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_up-line-or-search() { zle .up-line-or-search }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-up-line-or-search _zsh_autosuggest_orig_up-line-or-search | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_up-line-or-search() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-up-line-or-search $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- up-line-or-search _zsh_autosuggest_bound_1_up-line-or-search | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-add-eol | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n vi-add-eol ]] | |
+_zsh_autosuggest_bind_widgets:19> _zsh_autosuggest_bind_widget vi-add-eol accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-add-eol | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-add-eol | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-add-eol() { zle .vi-add-eol }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-add-eol _zsh_autosuggest_orig_vi-add-eol | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-add-eol() {\n\t\t_zsh_autosuggest_widget_accept autosuggest-orig-1-vi-add-eol $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-add-eol _zsh_autosuggest_bound_1_vi-add-eol | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-add-next | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-add-next modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-add-next | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-add-next | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-add-next() { zle .vi-add-next }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-add-next _zsh_autosuggest_orig_vi-add-next | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-add-next() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-add-next $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-add-next _zsh_autosuggest_bound_1_vi-add-next | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-backward-blank-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-backward-blank-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-backward-blank-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-backward-blank-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-backward-blank-word() { zle .vi-backward-blank-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-backward-blank-word _zsh_autosuggest_orig_vi-backward-blank-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-backward-blank-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-backward-blank-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-backward-blank-word _zsh_autosuggest_bound_1_vi-backward-blank-word | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-backward-blank-word-end | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-backward-blank-word-end modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-backward-blank-word-end | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-backward-blank-word-end | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-backward-blank-word-end() { zle .vi-backward-blank-word-end }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-backward-blank-word-end _zsh_autosuggest_orig_vi-backward-blank-word-end | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-backward-blank-word-end() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-backward-blank-word-end $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-backward-blank-word-end _zsh_autosuggest_bound_1_vi-backward-blank-word-end | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-backward-char | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-backward-char modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-backward-char | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-backward-char | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-backward-char() { zle .vi-backward-char }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-backward-char _zsh_autosuggest_orig_vi-backward-char | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-backward-char() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-backward-char $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-backward-char _zsh_autosuggest_bound_1_vi-backward-char | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-backward-delete-char | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-backward-delete-char modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-backward-delete-char | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-backward-delete-char | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-backward-delete-char() { zle .vi-backward-delete-char }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-backward-delete-char _zsh_autosuggest_orig_vi-backward-delete-char | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-backward-delete-char() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-backward-delete-char $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-backward-delete-char _zsh_autosuggest_bound_1_vi-backward-delete-char | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-backward-kill-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-backward-kill-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-backward-kill-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-backward-kill-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-backward-kill-word() { zle .vi-backward-kill-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-backward-kill-word _zsh_autosuggest_orig_vi-backward-kill-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-backward-kill-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-backward-kill-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-backward-kill-word _zsh_autosuggest_bound_1_vi-backward-kill-word | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-backward-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-backward-word modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-backward-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-backward-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-backward-word() { zle .vi-backward-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-backward-word _zsh_autosuggest_orig_vi-backward-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-backward-word() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-backward-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-backward-word _zsh_autosuggest_bound_1_vi-backward-word | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-backward-word-end | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-backward-word-end modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-backward-word-end | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-backward-word-end | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-backward-word-end() { zle .vi-backward-word-end }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-backward-word-end _zsh_autosuggest_orig_vi-backward-word-end | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-backward-word-end() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-backward-word-end $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-backward-word-end _zsh_autosuggest_bound_1_vi-backward-word-end | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-beginning-of-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-beginning-of-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-beginning-of-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-beginning-of-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-beginning-of-line() { zle .vi-beginning-of-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-beginning-of-line _zsh_autosuggest_orig_vi-beginning-of-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-beginning-of-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-beginning-of-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-beginning-of-line _zsh_autosuggest_bound_1_vi-beginning-of-line | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-caps-lock-panic | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-caps-lock-panic modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-caps-lock-panic | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-caps-lock-panic | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-caps-lock-panic() { zle .vi-caps-lock-panic }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-caps-lock-panic _zsh_autosuggest_orig_vi-caps-lock-panic | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-caps-lock-panic() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-caps-lock-panic $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-caps-lock-panic _zsh_autosuggest_bound_1_vi-caps-lock-panic | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-change | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-change modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-change | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-change | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-change() { zle .vi-change }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-change _zsh_autosuggest_orig_vi-change | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-change() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-change $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-change _zsh_autosuggest_bound_1_vi-change | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-change-eol | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-change-eol modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-change-eol | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-change-eol | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-change-eol() { zle .vi-change-eol }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-change-eol _zsh_autosuggest_orig_vi-change-eol | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-change-eol() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-change-eol $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-change-eol _zsh_autosuggest_bound_1_vi-change-eol | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-change-whole-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-change-whole-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-change-whole-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-change-whole-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-change-whole-line() { zle .vi-change-whole-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-change-whole-line _zsh_autosuggest_orig_vi-change-whole-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-change-whole-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-change-whole-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-change-whole-line _zsh_autosuggest_bound_1_vi-change-whole-line | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-cmd-mode | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-cmd-mode modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-cmd-mode | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-cmd-mode | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-cmd-mode() { zle .vi-cmd-mode }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-cmd-mode _zsh_autosuggest_orig_vi-cmd-mode | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-cmd-mode() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-cmd-mode $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-cmd-mode _zsh_autosuggest_bound_1_vi-cmd-mode | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-delete | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-delete modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-delete | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-delete | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-delete() { zle .vi-delete }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-delete _zsh_autosuggest_orig_vi-delete | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-delete() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-delete $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-delete _zsh_autosuggest_bound_1_vi-delete | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-delete-char | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-delete-char modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-delete-char | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-delete-char | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-delete-char() { zle .vi-delete-char }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-delete-char _zsh_autosuggest_orig_vi-delete-char | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-delete-char() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-delete-char $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-delete-char _zsh_autosuggest_bound_1_vi-delete-char | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-digit-or-beginning-of-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-digit-or-beginning-of-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-digit-or-beginning-of-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-digit-or-beginning-of-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-digit-or-beginning-of-line() { zle .vi-digit-or-beginning-of-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-digit-or-beginning-of-line _zsh_autosuggest_orig_vi-digit-or-beginning-of-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-digit-or-beginning-of-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-digit-or-beginning-of-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-digit-or-beginning-of-line _zsh_autosuggest_bound_1_vi-digit-or-beginning-of-line | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-down-case | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-down-case modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-down-case | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-down-case | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-down-case() { zle .vi-down-case }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-down-case _zsh_autosuggest_orig_vi-down-case | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-down-case() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-down-case $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-down-case _zsh_autosuggest_bound_1_vi-down-case | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-down-line-or-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-down-line-or-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-down-line-or-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-down-line-or-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-down-line-or-history() { zle .vi-down-line-or-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-down-line-or-history _zsh_autosuggest_orig_vi-down-line-or-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-down-line-or-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-down-line-or-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-down-line-or-history _zsh_autosuggest_bound_1_vi-down-line-or-history | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-end-of-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n vi-end-of-line ]] | |
+_zsh_autosuggest_bind_widgets:19> _zsh_autosuggest_bind_widget vi-end-of-line accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-end-of-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-end-of-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-end-of-line() { zle .vi-end-of-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-end-of-line _zsh_autosuggest_orig_vi-end-of-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-end-of-line() {\n\t\t_zsh_autosuggest_widget_accept autosuggest-orig-1-vi-end-of-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-end-of-line _zsh_autosuggest_bound_1_vi-end-of-line | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-fetch-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-fetch-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-fetch-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-fetch-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-fetch-history() { zle .vi-fetch-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-fetch-history _zsh_autosuggest_orig_vi-fetch-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-fetch-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-fetch-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-fetch-history _zsh_autosuggest_bound_1_vi-fetch-history | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-find-next-char | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n vi-find-next-char ]] | |
+_zsh_autosuggest_bind_widgets:23> _zsh_autosuggest_bind_widget vi-find-next-char partial_accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-find-next-char | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=partial_accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-find-next-char | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-find-next-char() { zle .vi-find-next-char }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-find-next-char _zsh_autosuggest_orig_vi-find-next-char | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-find-next-char() {\n\t\t_zsh_autosuggest_widget_partial_accept autosuggest-orig-1-vi-find-next-char $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-find-next-char _zsh_autosuggest_bound_1_vi-find-next-char | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-find-next-char-skip | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n vi-find-next-char-skip ]] | |
+_zsh_autosuggest_bind_widgets:23> _zsh_autosuggest_bind_widget vi-find-next-char-skip partial_accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-find-next-char-skip | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=partial_accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-find-next-char-skip | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-find-next-char-skip() { zle .vi-find-next-char-skip }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-find-next-char-skip _zsh_autosuggest_orig_vi-find-next-char-skip | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-find-next-char-skip() {\n\t\t_zsh_autosuggest_widget_partial_accept autosuggest-orig-1-vi-find-next-char-skip $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-find-next-char-skip _zsh_autosuggest_bound_1_vi-find-next-char-skip | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-find-prev-char | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-find-prev-char modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-find-prev-char | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-find-prev-char | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-find-prev-char() { zle .vi-find-prev-char }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-find-prev-char _zsh_autosuggest_orig_vi-find-prev-char | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-find-prev-char() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-find-prev-char $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-find-prev-char _zsh_autosuggest_bound_1_vi-find-prev-char | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-find-prev-char-skip | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-find-prev-char-skip modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-find-prev-char-skip | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-find-prev-char-skip | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-find-prev-char-skip() { zle .vi-find-prev-char-skip }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-find-prev-char-skip _zsh_autosuggest_orig_vi-find-prev-char-skip | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-find-prev-char-skip() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-find-prev-char-skip $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-find-prev-char-skip _zsh_autosuggest_bound_1_vi-find-prev-char-skip | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-first-non-blank | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-first-non-blank modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-first-non-blank | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-first-non-blank | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-first-non-blank() { zle .vi-first-non-blank }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-first-non-blank _zsh_autosuggest_orig_vi-first-non-blank | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-first-non-blank() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-first-non-blank $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-first-non-blank _zsh_autosuggest_bound_1_vi-first-non-blank | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-forward-blank-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n vi-forward-blank-word ]] | |
+_zsh_autosuggest_bind_widgets:23> _zsh_autosuggest_bind_widget vi-forward-blank-word partial_accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-forward-blank-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=partial_accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-forward-blank-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-forward-blank-word() { zle .vi-forward-blank-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-forward-blank-word _zsh_autosuggest_orig_vi-forward-blank-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-forward-blank-word() {\n\t\t_zsh_autosuggest_widget_partial_accept autosuggest-orig-1-vi-forward-blank-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-forward-blank-word _zsh_autosuggest_bound_1_vi-forward-blank-word | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-forward-blank-word-end | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n vi-forward-blank-word-end ]] | |
+_zsh_autosuggest_bind_widgets:23> _zsh_autosuggest_bind_widget vi-forward-blank-word-end partial_accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-forward-blank-word-end | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=partial_accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-forward-blank-word-end | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-forward-blank-word-end() { zle .vi-forward-blank-word-end }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-forward-blank-word-end _zsh_autosuggest_orig_vi-forward-blank-word-end | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-forward-blank-word-end() {\n\t\t_zsh_autosuggest_widget_partial_accept autosuggest-orig-1-vi-forward-blank-word-end $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-forward-blank-word-end _zsh_autosuggest_bound_1_vi-forward-blank-word-end | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-forward-char | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n vi-forward-char ]] | |
+_zsh_autosuggest_bind_widgets:19> _zsh_autosuggest_bind_widget vi-forward-char accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-forward-char | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-forward-char | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-forward-char() { zle .vi-forward-char }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-forward-char _zsh_autosuggest_orig_vi-forward-char | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-forward-char() {\n\t\t_zsh_autosuggest_widget_accept autosuggest-orig-1-vi-forward-char $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-forward-char _zsh_autosuggest_bound_1_vi-forward-char | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-forward-word | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n vi-forward-word ]] | |
+_zsh_autosuggest_bind_widgets:23> _zsh_autosuggest_bind_widget vi-forward-word partial_accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-forward-word | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=partial_accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-forward-word | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-forward-word() { zle .vi-forward-word }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-forward-word _zsh_autosuggest_orig_vi-forward-word | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-forward-word() {\n\t\t_zsh_autosuggest_widget_partial_accept autosuggest-orig-1-vi-forward-word $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-forward-word _zsh_autosuggest_bound_1_vi-forward-word | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-forward-word-end | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n vi-forward-word-end ]] | |
+_zsh_autosuggest_bind_widgets:23> _zsh_autosuggest_bind_widget vi-forward-word-end partial_accept | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-forward-word-end | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=partial_accept | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-forward-word-end | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-forward-word-end() { zle .vi-forward-word-end }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-forward-word-end _zsh_autosuggest_orig_vi-forward-word-end | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-forward-word-end() {\n\t\t_zsh_autosuggest_widget_partial_accept autosuggest-orig-1-vi-forward-word-end $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-forward-word-end _zsh_autosuggest_bound_1_vi-forward-word-end | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-goto-column | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-goto-column modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-goto-column | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-goto-column | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-goto-column() { zle .vi-goto-column }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-goto-column _zsh_autosuggest_orig_vi-goto-column | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-goto-column() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-goto-column $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-goto-column _zsh_autosuggest_bound_1_vi-goto-column | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-goto-mark | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-goto-mark modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-goto-mark | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-goto-mark | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-goto-mark() { zle .vi-goto-mark }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-goto-mark _zsh_autosuggest_orig_vi-goto-mark | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-goto-mark() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-goto-mark $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-goto-mark _zsh_autosuggest_bound_1_vi-goto-mark | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-goto-mark-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-goto-mark-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-goto-mark-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-goto-mark-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-goto-mark-line() { zle .vi-goto-mark-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-goto-mark-line _zsh_autosuggest_orig_vi-goto-mark-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-goto-mark-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-goto-mark-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-goto-mark-line _zsh_autosuggest_bound_1_vi-goto-mark-line | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-history-search-backward | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-history-search-backward modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-history-search-backward | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-history-search-backward | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-history-search-backward() { zle .vi-history-search-backward }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-history-search-backward _zsh_autosuggest_orig_vi-history-search-backward | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-history-search-backward() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-history-search-backward $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-history-search-backward _zsh_autosuggest_bound_1_vi-history-search-backward | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-history-search-forward | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-history-search-forward modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-history-search-forward | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-history-search-forward | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-history-search-forward() { zle .vi-history-search-forward }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-history-search-forward _zsh_autosuggest_orig_vi-history-search-forward | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-history-search-forward() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-history-search-forward $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-history-search-forward _zsh_autosuggest_bound_1_vi-history-search-forward | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-indent | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-indent modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-indent | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-indent | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-indent() { zle .vi-indent }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-indent _zsh_autosuggest_orig_vi-indent | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-indent() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-indent $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-indent _zsh_autosuggest_bound_1_vi-indent | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-insert | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-insert modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-insert | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-insert | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-insert() { zle .vi-insert }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-insert _zsh_autosuggest_orig_vi-insert | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-insert() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-insert $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-insert _zsh_autosuggest_bound_1_vi-insert | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-insert-bol | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-insert-bol modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-insert-bol | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-insert-bol | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-insert-bol() { zle .vi-insert-bol }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-insert-bol _zsh_autosuggest_orig_vi-insert-bol | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-insert-bol() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-insert-bol $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-insert-bol _zsh_autosuggest_bound_1_vi-insert-bol | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-join | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-join modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-join | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-join | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-join() { zle .vi-join }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-join _zsh_autosuggest_orig_vi-join | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-join() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-join $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-join _zsh_autosuggest_bound_1_vi-join | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-kill-eol | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-kill-eol modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-kill-eol | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-kill-eol | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-kill-eol() { zle .vi-kill-eol }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-kill-eol _zsh_autosuggest_orig_vi-kill-eol | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-kill-eol() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-kill-eol $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-kill-eol _zsh_autosuggest_bound_1_vi-kill-eol | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-kill-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-kill-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-kill-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-kill-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-kill-line() { zle .vi-kill-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-kill-line _zsh_autosuggest_orig_vi-kill-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-kill-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-kill-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-kill-line _zsh_autosuggest_bound_1_vi-kill-line | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-match-bracket | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-match-bracket modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-match-bracket | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-match-bracket | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-match-bracket() { zle .vi-match-bracket }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-match-bracket _zsh_autosuggest_orig_vi-match-bracket | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-match-bracket() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-match-bracket $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-match-bracket _zsh_autosuggest_bound_1_vi-match-bracket | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-open-line-above | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-open-line-above modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-open-line-above | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-open-line-above | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-open-line-above() { zle .vi-open-line-above }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-open-line-above _zsh_autosuggest_orig_vi-open-line-above | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-open-line-above() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-open-line-above $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-open-line-above _zsh_autosuggest_bound_1_vi-open-line-above | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-open-line-below | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-open-line-below modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-open-line-below | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-open-line-below | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-open-line-below() { zle .vi-open-line-below }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-open-line-below _zsh_autosuggest_orig_vi-open-line-below | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-open-line-below() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-open-line-below $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-open-line-below _zsh_autosuggest_bound_1_vi-open-line-below | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-oper-swap-case | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-oper-swap-case modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-oper-swap-case | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-oper-swap-case | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-oper-swap-case() { zle .vi-oper-swap-case }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-oper-swap-case _zsh_autosuggest_orig_vi-oper-swap-case | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-oper-swap-case() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-oper-swap-case $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-oper-swap-case _zsh_autosuggest_bound_1_vi-oper-swap-case | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-pound-insert | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-pound-insert modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-pound-insert | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-pound-insert | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-pound-insert() { zle .vi-pound-insert }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-pound-insert _zsh_autosuggest_orig_vi-pound-insert | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-pound-insert() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-pound-insert $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-pound-insert _zsh_autosuggest_bound_1_vi-pound-insert | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-put-after | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-put-after modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-put-after | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-put-after | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-put-after() { zle .vi-put-after }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-put-after _zsh_autosuggest_orig_vi-put-after | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-put-after() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-put-after $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-put-after _zsh_autosuggest_bound_1_vi-put-after | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-put-before | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-put-before modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-put-before | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-put-before | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-put-before() { zle .vi-put-before }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-put-before _zsh_autosuggest_orig_vi-put-before | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-put-before() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-put-before $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-put-before _zsh_autosuggest_bound_1_vi-put-before | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-quoted-insert | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-quoted-insert modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-quoted-insert | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-quoted-insert | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-quoted-insert() { zle .vi-quoted-insert }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-quoted-insert _zsh_autosuggest_orig_vi-quoted-insert | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-quoted-insert() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-quoted-insert $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-quoted-insert _zsh_autosuggest_bound_1_vi-quoted-insert | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-repeat-change | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-repeat-change modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-repeat-change | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-repeat-change | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-repeat-change() { zle .vi-repeat-change }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-repeat-change _zsh_autosuggest_orig_vi-repeat-change | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-repeat-change() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-repeat-change $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-repeat-change _zsh_autosuggest_bound_1_vi-repeat-change | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-repeat-find | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-repeat-find modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-repeat-find | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-repeat-find | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-repeat-find() { zle .vi-repeat-find }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-repeat-find _zsh_autosuggest_orig_vi-repeat-find | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-repeat-find() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-repeat-find $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-repeat-find _zsh_autosuggest_bound_1_vi-repeat-find | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-repeat-search | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-repeat-search modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-repeat-search | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-repeat-search | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-repeat-search() { zle .vi-repeat-search }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-repeat-search _zsh_autosuggest_orig_vi-repeat-search | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-repeat-search() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-repeat-search $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-repeat-search _zsh_autosuggest_bound_1_vi-repeat-search | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-replace | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-replace modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-replace | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-replace | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-replace() { zle .vi-replace }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-replace _zsh_autosuggest_orig_vi-replace | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-replace() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-replace $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-replace _zsh_autosuggest_bound_1_vi-replace | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-replace-chars | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-replace-chars modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-replace-chars | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-replace-chars | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-replace-chars() { zle .vi-replace-chars }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-replace-chars _zsh_autosuggest_orig_vi-replace-chars | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-replace-chars() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-replace-chars $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-replace-chars _zsh_autosuggest_bound_1_vi-replace-chars | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-rev-repeat-find | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-rev-repeat-find modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-rev-repeat-find | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-rev-repeat-find | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-rev-repeat-find() { zle .vi-rev-repeat-find }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-rev-repeat-find _zsh_autosuggest_orig_vi-rev-repeat-find | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-rev-repeat-find() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-rev-repeat-find $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-rev-repeat-find _zsh_autosuggest_bound_1_vi-rev-repeat-find | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-rev-repeat-search | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-rev-repeat-search modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-rev-repeat-search | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-rev-repeat-search | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-rev-repeat-search() { zle .vi-rev-repeat-search }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-rev-repeat-search _zsh_autosuggest_orig_vi-rev-repeat-search | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-rev-repeat-search() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-rev-repeat-search $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-rev-repeat-search _zsh_autosuggest_bound_1_vi-rev-repeat-search | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-set-buffer | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-set-buffer modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-set-buffer | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-set-buffer | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-set-buffer() { zle .vi-set-buffer }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-set-buffer _zsh_autosuggest_orig_vi-set-buffer | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-set-buffer() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-set-buffer $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-set-buffer _zsh_autosuggest_bound_1_vi-set-buffer | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-set-mark | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-set-mark modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-set-mark | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-set-mark | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-set-mark() { zle .vi-set-mark }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-set-mark _zsh_autosuggest_orig_vi-set-mark | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-set-mark() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-set-mark $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-set-mark _zsh_autosuggest_bound_1_vi-set-mark | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-substitute | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-substitute modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-substitute | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-substitute | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-substitute() { zle .vi-substitute }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-substitute _zsh_autosuggest_orig_vi-substitute | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-substitute() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-substitute $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-substitute _zsh_autosuggest_bound_1_vi-substitute | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-swap-case | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-swap-case modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-swap-case | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-swap-case | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-swap-case() { zle .vi-swap-case }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-swap-case _zsh_autosuggest_orig_vi-swap-case | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-swap-case() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-swap-case $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-swap-case _zsh_autosuggest_bound_1_vi-swap-case | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-undo-change | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-undo-change modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-undo-change | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-undo-change | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-undo-change() { zle .vi-undo-change }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-undo-change _zsh_autosuggest_orig_vi-undo-change | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-undo-change() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-undo-change $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-undo-change _zsh_autosuggest_bound_1_vi-undo-change | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-unindent | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-unindent modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-unindent | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-unindent | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-unindent() { zle .vi-unindent }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-unindent _zsh_autosuggest_orig_vi-unindent | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-unindent() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-unindent $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-unindent _zsh_autosuggest_bound_1_vi-unindent | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-up-case | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-up-case modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-up-case | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-up-case | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-up-case() { zle .vi-up-case }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-up-case _zsh_autosuggest_orig_vi-up-case | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-up-case() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-up-case $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-up-case _zsh_autosuggest_bound_1_vi-up-case | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-up-line-or-history | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-up-line-or-history modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-up-line-or-history | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-up-line-or-history | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-up-line-or-history() { zle .vi-up-line-or-history }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-up-line-or-history _zsh_autosuggest_orig_vi-up-line-or-history | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-up-line-or-history() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-up-line-or-history $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-up-line-or-history _zsh_autosuggest_bound_1_vi-up-line-or-history | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-yank | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-yank modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-yank | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-yank | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-yank() { zle .vi-yank }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-yank _zsh_autosuggest_orig_vi-yank | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-yank() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-yank $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-yank _zsh_autosuggest_bound_1_vi-yank | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-yank-eol | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-yank-eol modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-yank-eol | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-yank-eol | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-yank-eol() { zle .vi-yank-eol }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-yank-eol _zsh_autosuggest_orig_vi-yank-eol | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-yank-eol() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-yank-eol $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-yank-eol _zsh_autosuggest_bound_1_vi-yank-eol | |
+_zsh_autosuggest_bind_widgets:15> widget=vi-yank-whole-line | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget vi-yank-whole-line modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=vi-yank-whole-line | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count vi-yank-whole-line | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_vi-yank-whole-line() { zle .vi-yank-whole-line }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-vi-yank-whole-line _zsh_autosuggest_orig_vi-yank-whole-line | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_vi-yank-whole-line() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-vi-yank-whole-line $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- vi-yank-whole-line _zsh_autosuggest_bound_1_vi-yank-whole-line | |
+_zsh_autosuggest_bind_widgets:15> widget=visual-line-mode | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget visual-line-mode modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=visual-line-mode | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count visual-line-mode | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_visual-line-mode() { zle .visual-line-mode }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-visual-line-mode _zsh_autosuggest_orig_visual-line-mode | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_visual-line-mode() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-visual-line-mode $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- visual-line-mode _zsh_autosuggest_bound_1_visual-line-mode | |
+_zsh_autosuggest_bind_widgets:15> widget=visual-mode | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget visual-mode modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=visual-mode | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count visual-mode | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_visual-mode() { zle .visual-mode }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-visual-mode _zsh_autosuggest_orig_visual-mode | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_visual-mode() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-visual-mode $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- visual-mode _zsh_autosuggest_bound_1_visual-mode | |
+_zsh_autosuggest_bind_widgets:15> widget=what-cursor-position | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget what-cursor-position modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=what-cursor-position | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count what-cursor-position | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_what-cursor-position() { zle .what-cursor-position }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-what-cursor-position _zsh_autosuggest_orig_what-cursor-position | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_what-cursor-position() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-what-cursor-position $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- what-cursor-position _zsh_autosuggest_bound_1_what-cursor-position | |
+_zsh_autosuggest_bind_widgets:15> widget=where-is | |
+_zsh_autosuggest_bind_widgets:16> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:18> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:20> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:22> [[ -n '' ]] | |
+_zsh_autosuggest_bind_widgets:26> _zsh_autosuggest_bind_widget where-is modify | |
+_zsh_autosuggest_bind_widget:1> typeset -gA _ZSH_AUTOSUGGEST_BIND_COUNTS | |
+_zsh_autosuggest_bind_widget:3> local widget=where-is | |
+_zsh_autosuggest_bind_widget:4> local autosuggest_action=modify | |
+_zsh_autosuggest_bind_widget:5> local prefix=autosuggest-orig- | |
+_zsh_autosuggest_bind_widget:7> local -i bind_count | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:_zsh_autosuggest_(bound|orig)_*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (user:*) | |
+_zsh_autosuggest_bind_widget:10> case builtin (builtin) | |
+_zsh_autosuggest_bind_widget:24> _zsh_autosuggest_incr_bind_count where-is | |
+_zsh_autosuggest_incr_bind_count:1> typeset -gi bind_count=1 | |
+_zsh_autosuggest_incr_bind_count:2> _ZSH_AUTOSUGGEST_BIND_COUNTS[$1]=1 | |
+_zsh_autosuggest_bind_widget:25> eval '_zsh_autosuggest_orig_where-is() { zle .where-is }' | |
+_zsh_autosuggest_bind_widget:26> zle -N autosuggest-orig-1-where-is _zsh_autosuggest_orig_where-is | |
+_zsh_autosuggest_bind_widget:42> eval $'_zsh_autosuggest_bound_1_where-is() {\n\t\t_zsh_autosuggest_widget_modify autosuggest-orig-1-where-is $@\n\t}' | |
+_zsh_autosuggest_bind_widget:47> zle -N -- where-is _zsh_autosuggest_bound_1_where-is | |
+zsh:1> aphrodite_get_prompt | |
+aphrodite_get_prompt:4> echo -n '%F{6}%n%f' | |
+aphrodite_get_prompt:5> echo -n '%F{8}@%f' | |
+aphrodite_get_prompt:6> echo -n '%F{12}%m%f' | |
+aphrodite_get_prompt:7> echo -n '%F{8}:%f' | |
+aphrodite_get_prompt:8> echo -n $'%{\C-[[00m%}%~' | |
+aphrodite_get_prompt:11> aphrodite_get_welcome_symbol | |
+aphrodite_get_welcome_symbol:2> echo -n '%(?..%F{1})' | |
+aphrodite_get_welcome_symbol:4> local welcome_symbol='$' | |
+aphrodite_get_welcome_symbol:5> [ 1000 -ne 0 ']' | |
+aphrodite_get_welcome_symbol:7> echo -n '$' | |
+aphrodite_get_welcome_symbol:8> echo -n '%(?..%f)' | |
+aphrodite_get_prompt:11> echo -n $'%(?..%F{1})$%(?..%f)%{\C-[[00m%} ' | |
[?1h=[?1l>exit | |
+omz_termsupport_preexec:1> [[ '' == true ]] | |
+omz_termsupport_preexec:3> emulate -L zsh | |
+omz_termsupport_preexec:4> setopt extended_glob | |
+omz_termsupport_preexec:7> local -a cmdargs | |
+omz_termsupport_preexec:8> cmdargs=( exit ) | |
+omz_termsupport_preexec:10> [[ exit = fg ]] | |
+omz_termsupport_preexec:44> local CMD=exit | |
+omz_termsupport_preexec:45> local LINE=exit | |
+omz_termsupport_preexec:47> title '$CMD' '%100>...>$LINE%<<' | |
+title:1> emulate -L zsh | |
+title:2> setopt prompt_subst | |
+title:4> [[ '' == *term* ]] | |
+title:8> : '%100>...>$LINE%<<' | |
+title:10> case alacritty (cygwin | xterm* | putty* | rxvt* | konsole* | ansi | mlterm* | alacritty) | |
+title:12> print -Pn '\e]2;%100\>...\>\$LINE%\<\<\a' | |
]2;exit+title:13> print -Pn '\e]1;\$CMD\a' | |
]1;exit+zsh:1> exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment