updated zshrc a bit
This commit is contained in:
parent
aff8aadee6
commit
9b54a8b3a1
1 changed files with 10 additions and 8 deletions
18
dot_zshrc
18
dot_zshrc
|
@ -4,8 +4,6 @@
|
|||
#
|
||||
# Documentation: https://github.com/romkatv/zsh4humans/blob/v5/README.md
|
||||
|
||||
setopt multios prompt_subst auto_pushd pushd_ignore_dups pushdminus inc_append_history
|
||||
|
||||
zstyle ':z4h:' auto-update 'no'
|
||||
zstyle ':z4h:' auto-update-days '28'
|
||||
|
||||
|
@ -17,7 +15,7 @@ zstyle ':z4h:' prompt-at-bottom 'yes'
|
|||
zstyle ':z4h:bindkey' keyboard 'pc'
|
||||
|
||||
zstyle ':z4h:autosuggestions' forward-char 'accept'
|
||||
zstyle ':z4h:fzf-complete' recurse-dirs 'yes'
|
||||
zstyle ':z4h:fzf-complete' recurse-dirs 'no'
|
||||
|
||||
# Enable ('yes') or disable ('no') automatic teleportation of z4h over
|
||||
# ssh when connecting to these hosts.
|
||||
|
@ -28,7 +26,7 @@ zstyle ':z4h:ssh-agent:' start no
|
|||
|
||||
z4h install ohmyzsh/ohmyzsh || return
|
||||
z4h install urbainvaes/fzf-marks || return
|
||||
|
||||
z4h install jreese/zsh-titles || return
|
||||
|
||||
# Install or update core components (fzf, zsh-autosuggestions, etc.) and
|
||||
# initialize Zsh. After this point console I/O is unavailable until Zsh
|
||||
|
@ -86,7 +84,7 @@ zstyle ':completion:*:*:*:hosts-domain' ignored-patterns '<->.<->.<->.<->' '^[-[
|
|||
zstyle ':completion:*:*:*:hosts-ipaddr' ignored-patterns '^(<->.<->.<->.<->|(|::)([[:xdigit:].]##:(#c,2))##(|%*))' '127.0.0.<->' '255.255.255.255' '::1' 'fe80::*'
|
||||
|
||||
# Define named directories: ~w <=> Windows home directory on WSL.
|
||||
[[ -z $z4h_win_home ]] || hash -d w=$z4h_win_home
|
||||
[[ -z $z4h_win_home ]] || hash -d wsl=$z4h_win_home
|
||||
|
||||
# History
|
||||
export SAVEHIST=200000
|
||||
|
@ -101,10 +99,14 @@ z4h source $HOME/.config/zsh/aliases.zsh
|
|||
z4h source $HOME/.config/local/aliases.zsh
|
||||
|
||||
# Add flags to existing aliases.
|
||||
alias ls="${aliases[ls]:-ls} -A"
|
||||
#alias ls="${aliases[ls]:-ls} -A"
|
||||
|
||||
# Set shell options: http://zsh.sourceforge.net/Doc/Release/Options.html.
|
||||
setopt glob_dots # no special treatment for file names with a leading dot
|
||||
setopt no_auto_menu # require an extra TAB press to open the completion menu
|
||||
setopt multios
|
||||
setopt prompt_subst
|
||||
setopt auto_pushd
|
||||
setopt pushd_ignore_dups
|
||||
setopt pushdminus
|
||||
setopt inc_append_history
|
||||
|
||||
z4h source $HOME/.config/local/rc.zsh
|
Loading…
Add table
Reference in a new issue