[zsh] vi mode, cleanup
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
# Load OMZ plugins
|
# Load OMZ plugins
|
||||||
ohmyzsh/ohmyzsh
|
ohmyzsh/ohmyzsh
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/vi-mode
|
||||||
ohmyzsh/ohmyzsh path:plugins/git
|
ohmyzsh/ohmyzsh path:plugins/git
|
||||||
ohmyzsh/ohmyzsh path:plugins/golang
|
ohmyzsh/ohmyzsh path:plugins/golang
|
||||||
ohmyzsh/ohmyzsh path:plugins/ssh-agent
|
ohmyzsh/ohmyzsh path:plugins/ssh-agent
|
||||||
@@ -7,8 +8,9 @@ ohmyzsh/ohmyzsh path:plugins/pip
|
|||||||
ohmyzsh/ohmyzsh path:plugins/python
|
ohmyzsh/ohmyzsh path:plugins/python
|
||||||
ohmyzsh/ohmyzsh path:plugins/virtualenv
|
ohmyzsh/ohmyzsh path:plugins/virtualenv
|
||||||
ohmyzsh/ohmyzsh path:plugins/python
|
ohmyzsh/ohmyzsh path:plugins/python
|
||||||
ohmyzsh/ohmyzsh path:plugins/docker-compose
|
|
||||||
ohmyzsh/ohmyzsh path:plugins/docker
|
ohmyzsh/ohmyzsh path:plugins/docker
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/docker-compose
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/command-not-found
|
||||||
|
|
||||||
|
|
||||||
romkatv/powerlevel10k
|
romkatv/powerlevel10k
|
||||||
@@ -17,7 +19,6 @@ zsh-users/zsh-autosuggestions
|
|||||||
zsh-users/zsh-completions
|
zsh-users/zsh-completions
|
||||||
zsh-users/zsh-history-substring-search
|
zsh-users/zsh-history-substring-search
|
||||||
urbainvaes/fzf-marks
|
urbainvaes/fzf-marks
|
||||||
greymd/docker-zsh-completion
|
|
||||||
zdharma-continuum/fast-syntax-highlighting kind:defer
|
zdharma-continuum/fast-syntax-highlighting kind:defer
|
||||||
|
|
||||||
# Initialize completions
|
# Initialize completions
|
||||||
|
|||||||
18
zsh/.zshrc
18
zsh/.zshrc
@@ -1,15 +1,8 @@
|
|||||||
# 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
|
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
|
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
|
||||||
[[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config
|
[[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config
|
||||||
[[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh
|
[[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh
|
||||||
[[ -f /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh
|
|
||||||
[[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config
|
[[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config
|
||||||
[[ -f ~/.zsh/.os_config.zsh ]] && source ~/.zsh/.os_config.zsh
|
[[ -f ~/.zsh/.os_config.zsh ]] && source ~/.zsh/.os_config.zsh
|
||||||
|
|
||||||
@@ -35,16 +28,11 @@ alias vim=nvim
|
|||||||
alias sudo='sudo '
|
alias sudo='sudo '
|
||||||
alias cgrep="grep --color=always"
|
alias cgrep="grep --color=always"
|
||||||
export EDITOR='nvim'
|
export EDITOR='nvim'
|
||||||
|
# Vi mode
|
||||||
|
bindkey -v
|
||||||
|
VI_MODE_SET_CURSOR=true
|
||||||
|
|
||||||
#PATH="/home/fabian/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
|
||||||
#PERL5LIB="/home/fabian/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
|
||||||
#PERL_LOCAL_LIB_ROOT="/home/fabian/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
|
||||||
#PERL_MB_OPT="--install_base \"/home/fabian/perl5\""; export PERL_MB_OPT;
|
|
||||||
#PERL_MM_OPT="INSTALL_BASE=/home/fabian/perl5"; export PERL_MM_OPT;
|
|
||||||
alias ls="ls --color=always"
|
alias ls="ls --color=always"
|
||||||
#export PATH="$PATH:${HOME}/Labor/tls-in-muas/starttls-research/99-Tools:/home/fabian/go/bin"
|
|
||||||
# For ccache
|
|
||||||
#export CCACHE_CPP2=YES
|
|
||||||
|
|
||||||
delzip() {
|
delzip() {
|
||||||
unzip -Z -1 "$@" | xargs -I{} rm -rf {}
|
unzip -Z -1 "$@" | xargs -I{} rm -rf {}
|
||||||
|
|||||||
Reference in New Issue
Block a user