Compare commits
No commits in common. "2bd3607a7a9d74b9a6c8f9079e37d48ddbffc35f" and "3821972789994cf03efd9870a4dc83bf610b5ed7" have entirely different histories.
2bd3607a7a
...
3821972789
@ -26,6 +26,7 @@ zcomet load ohmyzsh plugins/debian
|
||||
zcomet load ohmyzsh plugins/isodate
|
||||
zcomet load ohmyzsh plugins/nmap
|
||||
zcomet load ohmyzsh plugins/rsync
|
||||
zcomet load ohmyzsh plugins/systemadmin
|
||||
zcomet load ohmyzsh plugins/web-search
|
||||
zcomet load brymck/print-alias
|
||||
|
||||
|
@ -19,4 +19,4 @@
|
||||
# zstyle :omz:plugins:keychain identities id_rsa 01234567
|
||||
# zstyle :omz:plugins:keychain options --quiet --inherit local-once --noask --nocolor --quick
|
||||
# zstyle :omz:plugins:keychain agents gpg,ssh
|
||||
# zsh-defer zcomet load ohmyzsh plugins/keychain
|
||||
# zcomet load ohmyzsh plugins/keychain
|
||||
|
@ -55,27 +55,3 @@ exdl() {
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
psgrep() {
|
||||
ps aux | grep "${1:-.}" | grep -v grep
|
||||
}
|
||||
|
||||
# Kills any process that matches a regexp passed to it
|
||||
killit() {
|
||||
ps aux | grep -v "grep" | grep "$@" | awk '{print $2}' | xargs sudo kill
|
||||
}
|
||||
|
||||
# gather external ip address
|
||||
geteip() {
|
||||
curl -s -S -4 https://icanhazip.com
|
||||
curl -s -S -6 https://icanhazip.com
|
||||
}
|
||||
|
||||
# determine local IP address(es)
|
||||
getip() {
|
||||
if (( ${+commands[ip]} )); then
|
||||
ip addr | awk '/inet /{print $2}' | command grep -v 127.0.0.1
|
||||
else
|
||||
ifconfig | awk '/inet /{print $2}' | command grep -v 127.0.0.1
|
||||
fi
|
||||
}
|
||||
|
@ -5,9 +5,6 @@ alias dotdrop="$HOME/etc/dotdrop.sh" --cfg="$HOME/etc/config.yaml"
|
||||
alias zcp='zmv -C'
|
||||
alias zln='zmv -L'
|
||||
|
||||
alias path='print -l $path'
|
||||
alias mkdir='mkdir -pv'
|
||||
|
||||
# APT
|
||||
alias aptu='sudo apt-get update'
|
||||
alias aptn='sudo apt-get update && sudo apt-get dist-upgrade'
|
||||
|
@ -26,7 +26,24 @@ zstyle ':completion:*:(ssh|scp|rsync):*:hosts-ipaddr' ignored-patterns '^<->.<->
|
||||
zcomet load zsh-users/zsh-completions
|
||||
|
||||
# Вызов в этом месте и в таком порядке
|
||||
zsh-defer zcomet load zsh-users/zsh-autosuggestions
|
||||
zsh-defer zcomet load zsh-users/zsh-syntax-highlighting
|
||||
zsh-defer zcomet load zsh-users/zsh-history-substring-search
|
||||
#if [ -z "${ZSH_MC_WORKAROUND}" ]; then
|
||||
# zcomet load zsh-users/zsh-autosuggestions
|
||||
#fi
|
||||
#zcomet load zsh-users/zsh-syntax-highlighting
|
||||
#zcomet load zsh-users/zsh-history-substring-search
|
||||
|
||||
# Отложенная загрузка
|
||||
mkdir -p ${ZCOMET_DIR}/repos/zsh-users
|
||||
if [[ ! -f "${ZCOMET_DIR}/repos/zsh-users/zsh-autosuggestions/zsh-autosuggestions.zsh" ]]; then
|
||||
command git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions "${ZCOMET_DIR}/repos/zsh-users/zsh-autosuggestions"
|
||||
fi
|
||||
if [[ ! -f "${ZCOMET_DIR}/repos/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]]; then
|
||||
command git clone --depth=1 https://github.com/zsh-users/zsh-syntax-highlighting "${ZCOMET_DIR}/repos/zsh-users/zsh-syntax-highlighting"
|
||||
fi
|
||||
if [[ ! -f "${ZCOMET_DIR}/repos/zsh-users/zsh-history-substring-search/zsh-history-substring-search.zsh" ]]; then
|
||||
command git clone --depth=1 https://github.com/zsh-users/zsh-history-substring-search "${ZCOMET_DIR}/repos/zsh-users/zsh-history-substring-search"
|
||||
fi
|
||||
zsh-defer source "${ZCOMET_DIR}/repos/zsh-users/zsh-autosuggestions/zsh-autosuggestions.zsh" \
|
||||
"${ZCOMET_DIR}/repos/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" \
|
||||
"${ZCOMET_DIR}/repos/zsh-users/zsh-history-substring-search/zsh-history-substring-search.zsh"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user