# Set a custom prefix for the generated aliases. The default prefix is 'G'. #zstyle ':zim:git' aliases-prefix 'g'
# # input #
# Append `../` to your input for each `.` you type after an initial `..` #zstyle ':zim:input' double-dot-expand yes
# # termtitle #
# Set a custom terminal title format using prompt expansion escape sequences. # See http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Simple-Prompt-Escapes # If none is provided, the default '%n@%m: %~' is used. #zstyle ':zim:termtitle' format '%1~'
# # zsh-autosuggestions #
# Disable automatic widget re-binding on each precmd. This can be set when # zsh-users/zsh-autosuggestions is the last module in your ~/.zimrc. ZSH_AUTOSUGGEST_MANUAL_REBIND=1
# Customize the style that the suggestions are shown with. # See https://github.com/zsh-users/zsh-autosuggestions/blob/master/README.md#suggestion-highlight-style #ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=242'
# # zsh-syntax-highlighting #
# Set what highlighters will be used. # See https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters.md ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
# Customize the main highlighter styles. # See https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md#how-to-tweak-it #typeset -A ZSH_HIGHLIGHT_STYLES #ZSH_HIGHLIGHT_STYLES[comment]='fg=242'
zmodload -F zsh/terminfo +p:terminfo # Bind ^[[A/^[[B manually so up/down works both before and after zle-line-init for key ('^[[A''^P'${terminfo[kcuu1]}) bindkey${key} history-substring-search-up for key ('^[[B''^N'${terminfo[kcud1]}) bindkey${key} history-substring-search-down for key ('k') bindkey -M vicmd ${key} history-substring-search-up for key ('j') bindkey -M vicmd ${key} history-substring-search-down unset key # }}} End configuration added by Zim install
# 命令别名 alias pc="proxychains4" alias la="ls -a " alias lla="ll -a " alias llah="ll -ha " alias docker="sudo docker " alias vim="sudo nvim " alias vi="sudo nvim " alias v="sudo nvim " alias sudo="sudo " alias axel="axel -n 10 " alias runlike="docker run --rm -v /var/run/docker.sock:/var/run/docker.sock assaflavie/runlike" alias findall="sudo find / \( -path "/run" -o -path "/proc" -o -path "/data" -o -path "/tmp" -o -path "~/.local/share/icons" -o -path "/usr/share/icons" \) -prune -o -name" alias gitc="git clone" alias systemctl="sudo systemctl" alias"cd.."="cd .." alias yayq="yay -Q | grep " alias zshrc="vim ~/.zshrc" aliasrm="trash-put"