mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-16 23:37:55 +08:00
Compare commits
No commits in common. "b8c69d265257fae88fe504ea43cbcf2728bc1308" and "c68ff8aeedc2b779ae42d745457ecd443e22e212" have entirely different histories.
b8c69d2652
...
c68ff8aeed
@ -1,4 +1,4 @@
|
||||
certifi==2024.8.30
|
||||
certifi==2024.7.4
|
||||
charset-normalizer==3.3.2
|
||||
idna==3.8
|
||||
PyYAML==6.0.2
|
||||
|
||||
@ -47,7 +47,7 @@ case $state in
|
||||
"random[Generate random intervals in a genome.]" \
|
||||
"reldist[Calculate the distribution of relative distances b/w two files.]" \
|
||||
"sample[Sample random records from file using reservoir sampling.]" \
|
||||
"shuffle[Randomly redistribute intervals in a genome.]" \
|
||||
"shuffle[Randomly redistrubute intervals in a genome.]" \
|
||||
"slop[Adjust the size of intervals.]" \
|
||||
"sort[Order the intervals in a file.]" \
|
||||
"subtract[Remove intervals based on overlaps b/w two files.]" \
|
||||
|
||||
@ -24,7 +24,7 @@ if (( ! $+commands[brew] )); then
|
||||
fi
|
||||
|
||||
if [[ -z "$HOMEBREW_PREFIX" ]]; then
|
||||
# Maintain compatibility with potential custom user profiles, where we had
|
||||
# Maintain compatability with potential custom user profiles, where we had
|
||||
# previously relied on always sourcing shellenv. OMZ plugins should not rely
|
||||
# on this to be defined due to out of order processing.
|
||||
export HOMEBREW_PREFIX="$(brew --prefix)"
|
||||
|
||||
@ -39,7 +39,7 @@ if (( ! $+commands[docker] )); then
|
||||
return
|
||||
fi
|
||||
|
||||
# Standardized $0 handling
|
||||
# Standarized $0 handling
|
||||
# https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html
|
||||
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
|
||||
0="${${(M)0:#/*}:-$PWD/$0}"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
"""
|
||||
Update Emoji.py
|
||||
Refreshes OMZ emoji database based on the latest Unicode spec
|
||||
Refeshes OMZ emoji database based on the latest Unicode spec
|
||||
"""
|
||||
import re
|
||||
import json
|
||||
@ -95,7 +95,7 @@ def name_to_omz(_name, _group, _subgroup, _status):
|
||||
shortname = snake_case(_name)
|
||||
# Special treatment by status
|
||||
# Enables us to have every emoji combination,
|
||||
# even the one that are not officially sanctioned
|
||||
# even the one that are not officially sanctionned
|
||||
# and are implemented by, say, only one vendor
|
||||
if _status == "unqualified":
|
||||
shortname += "_unqualified"
|
||||
|
||||
@ -23,7 +23,7 @@ if is-at-least 5.5; then
|
||||
fi
|
||||
|
||||
{
|
||||
# Standardized $0 handling
|
||||
# Standarized $0 handling
|
||||
# https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html
|
||||
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
|
||||
0="${${(M)0:#/*}:-$PWD/$0}"
|
||||
|
||||
@ -295,8 +295,8 @@ _history-substring-search-begin() {
|
||||
fi
|
||||
|
||||
#
|
||||
# Escape and join query parts with wildcard character '*' as separator
|
||||
# `(j:CHAR:)` join array to string with CHAR as separator
|
||||
# Escape and join query parts with wildcard character '*' as seperator
|
||||
# `(j:CHAR:)` join array to string with CHAR as seperator
|
||||
#
|
||||
local search_pattern="${(j:*:)_history_substring_search_query_parts[@]//(#m)[\][()|\\*?#<>~^]/\\$MATCH}*"
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
|
||||
- Zaphod.
|
||||
%
|
||||
"`In those days spirits were brave, the stakes were high, men were REAL men, women were REAL women, and small furry creatures from Alpha Centauri were REAL small furry creatures from Alpha Centauri.'"
|
||||
"`In those days spirits were brave, the stakes were high, men were REAL men, women were REAL women, and small furry creatures from Alpha Centauri were REAL small furry creatures from Aplha Centauri.'"
|
||||
|
||||
- The Book getting all nostalgic.
|
||||
%
|
||||
|
||||
@ -78,7 +78,7 @@ _lpass() {
|
||||
has_sync=1
|
||||
;;
|
||||
status)
|
||||
_arguments : '(-q --quiet)'{-q,--quiet}'[Suppress output to stdout]'
|
||||
_arguments : '(-q --quiet)'{-q,--quiet}'[Supress output to stdout]'
|
||||
has_color=1
|
||||
;;
|
||||
sync)
|
||||
|
||||
@ -74,7 +74,7 @@ function vrun() {
|
||||
}
|
||||
|
||||
# Create a new virtual environment using the specified name.
|
||||
# If none specified, use $PYTHON_VENV_NAME
|
||||
# If none specfied, use $PYTHON_VENV_NAME
|
||||
function mkv() {
|
||||
local name="${1:-$PYTHON_VENV_NAME}"
|
||||
local venvpath="${name:P}"
|
||||
|
||||
@ -366,10 +366,10 @@ _rails_generate() {
|
||||
;|
|
||||
(controller|job|model|resource|scaffold)
|
||||
opts+=(
|
||||
'--parent=[The parent class for the generated controller]:parent class'
|
||||
'--parent=[The parent class for the generated controler]:parent class'
|
||||
)
|
||||
;|
|
||||
(controller|mailer|resource|scaffold|scaffold_controller)
|
||||
(controler|mailer|resource|scaffold|scaffold_controller)
|
||||
opts+=(
|
||||
'(-e --template-engine)'{-e,--template-engine=}'[Template engine to be invoked]:engine:(erb)'
|
||||
)
|
||||
|
||||
@ -634,7 +634,7 @@ _swift_package_unedit() {
|
||||
integer ret=1
|
||||
local -a args
|
||||
args+=(
|
||||
'--force[Unedit the package even if it has uncommitted and unpushed changes]'
|
||||
'--force[Unedit the package even if it has uncommited and unpushed changes]'
|
||||
':package-name:'
|
||||
'--version[Show the version.]'
|
||||
'(-help -h --help)'{-help,-h,--help}'[Show help information.]'
|
||||
|
||||
@ -185,7 +185,7 @@ Result is stored as `$reply[REPLY]` (`$` isn't needed before `REPLY` because
|
||||
of arithmetic context inside `[]`). The returned array might be different from
|
||||
input arguments as `n-list` can process them via incremental search or uniq
|
||||
mode. `$REPLY` is the index in that possibly processed array. If `$REPLY`
|
||||
equals `-1` it means that no selection have been made (user quit via `q`
|
||||
equals `-1` it means that no selection have been made (user quitted via `q`
|
||||
key).
|
||||
|
||||
To set up entries that can be jumped to with `[`,`]` keys add their indices to
|
||||
|
||||
@ -170,7 +170,7 @@ while (( 1 )); do
|
||||
elif [ -n "$keypad" ]; then
|
||||
final_key="$keypad"
|
||||
else
|
||||
_vpreview_status_msg "Improper input detected"
|
||||
_vpreview_status_msg "Inproper input detected"
|
||||
zcurses refresh status
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user