mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
updated oh-my-zsh
This commit is contained in:
parent
be2ab22694
commit
65d9a48958
3 changed files with 16 additions and 34 deletions
|
|
@ -1,24 +1,4 @@
|
|||
# Push and pop directories on directory stack
|
||||
alias pu='pushd'
|
||||
alias po='popd'
|
||||
|
||||
# Basic directory operations
|
||||
alias ...='cd ../..'
|
||||
alias -- -='cd -'
|
||||
|
||||
# Super user
|
||||
alias _='sudo'
|
||||
|
||||
#alias g='grep -in'
|
||||
alias g='grep -in'
|
||||
|
||||
# Show history
|
||||
alias history='fc -l 1'
|
||||
|
||||
# List direcory contents
|
||||
alias lsa='ls -lah'
|
||||
alias l='ls -la'
|
||||
alias ll='ls -l'
|
||||
alias sl=ls # often screw this up
|
||||
|
||||
alias afind='ack-grep -il'
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@ bindkey "^[[4~" end-of-line
|
|||
bindkey ' ' magic-space # also do history expansion on space
|
||||
|
||||
bindkey '^[[Z' reverse-menu-complete
|
||||
bindkey '^[[U' backward-kill-line
|
||||
|
||||
|
||||
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
|
||||
bindkey '^?' backward-delete-char
|
||||
|
|
@ -30,17 +32,17 @@ bindkey "\e[3~" delete-char
|
|||
|
||||
#bindkey -e ## emacs key bindings
|
||||
#
|
||||
#bindkey '^[[A' up-line-or-search
|
||||
#bindkey '^[[B' down-line-or-search
|
||||
#bindkey '^[^[[C' emacs-forward-word
|
||||
#bindkey '^[^[[D' emacs-backward-word
|
||||
bindkey '^[[A' up-line-or-search
|
||||
bindkey '^[[B' down-line-or-search
|
||||
bindkey '^[^[[C' emacs-forward-word
|
||||
bindkey '^[^[[D' emacs-backward-word
|
||||
#
|
||||
#bindkey -s '^X^Z' '%-^M'
|
||||
#bindkey '^[e' expand-cmd-path
|
||||
#bindkey '^[^I' reverse-menu-complete
|
||||
#bindkey '^X^N' accept-and-infer-next-history
|
||||
#bindkey '^W' kill-region
|
||||
#bindkey '^I' complete-word
|
||||
## Fix weird sequence that rxvt produces
|
||||
#bindkey -s '^[[Z' '\t'
|
||||
bindkey -s '^X^Z' '%-^M'
|
||||
bindkey '^[e' expand-cmd-path
|
||||
bindkey '^[^I' reverse-menu-complete
|
||||
bindkey '^X^N' accept-and-infer-next-history
|
||||
bindkey '^W' kill-region
|
||||
bindkey '^I' complete-word
|
||||
# Fix weird sequence that rxvt produces
|
||||
bindkey -s '^[[Z' '\t'
|
||||
#
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ ZSH_THEME="robbyrussell"
|
|||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment following line if you want disable red dots displayed while waiting for completion
|
||||
# DISABLE_COMPLETION_WAITING_DOTS="true"
|
||||
DISABLE_COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue