File tree Expand file tree Collapse file tree 5 files changed +23
-3
lines changed Expand file tree Collapse file tree 5 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
59
59
# ... unless we really want to.
60
60
zstyle ' *' single-ignored show
61
61
62
- if [ " $DISABLE_COMPLETION_WAITING_DOTS " ! = " true " ]; then
62
+ if [ " x $COMPLETION_WAITING_DOTS " = " xtrue " ]; then
63
63
expand-or-complete-with-dots () {
64
64
echo -n " \e[31m......\e[0m"
65
65
zle expand-or-complete
Original file line number Diff line number Diff line change @@ -14,10 +14,15 @@ bindkey '^[[B' down-line-or-search
14
14
15
15
bindkey " ^[[H" beginning-of-line
16
16
bindkey " ^[[1~" beginning-of-line
17
+ bindkey " ^[OH" beginning-of-line
17
18
bindkey " ^[[F" end-of-line
18
19
bindkey " ^[[4~" end-of-line
20
+ bindkey " ^[OF" end-of-line
19
21
bindkey ' ' magic-space # also do history expansion on space
20
22
23
+ bindkey " ^[[1;5C" forward-word
24
+ bindkey " ^[[1;5D" backward-word
25
+
21
26
bindkey ' ^[[Z' reverse-menu-complete
22
27
23
28
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ alias glg='git log --stat --max-count=5'
29
29
compdef _git glg=git-log
30
30
alias glgg=' git log --graph --max-count=5'
31
31
compdef _git glgg=git-log
32
+ alias gss=' git status -s'
33
+ compdef _git gss=git-status
34
+ alias ga=' git add'
35
+ compdef _git ga=git-add
32
36
33
37
# Git and svn mix
34
38
alias git-svn-dcommit-push=' git svn dcommit && git push github master:svntrunk'
Original file line number Diff line number Diff line change @@ -8,19 +8,30 @@ alias rtfm='man'
8
8
alias visible=' echo'
9
9
alias invisible=' cat'
10
10
alias moar=' more'
11
+ alias tldr=' less'
12
+ alias alwayz=' tail -f'
11
13
12
14
alias icanhas=' mkdir'
15
+ alias gimmeh=' touch'
13
16
alias donotwant=' rm'
14
17
alias dowant=' cp'
15
18
alias gtfo=' mv'
19
+ alias nowai=' chmod'
16
20
17
21
alias hai=' cd'
22
+ alias iz=' ls'
18
23
alias plz=' pwd'
24
+ alias ihasbucket=' df -h'
19
25
20
26
alias inur=' locate'
27
+ alias iminurbase=' finger'
28
+
29
+ alias btw=' nice'
30
+ alias obtw=' nohup'
21
31
22
32
alias nomz=' ps -aux'
23
33
alias nomnom=' killall'
24
34
35
+ alias byes=' exit'
25
36
alias cya=' reboot'
26
37
alias kthxbai=' halt'
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ ZSH_THEME="robbyrussell"
19
19
# Uncomment following line if you want to disable autosetting terminal title.
20
20
# DISABLE_AUTO_TITLE="true"
21
21
22
- # Uncomment following line if you want disable red dots displayed while waiting for completion
23
- # DISABLE_COMPLETION_WAITING_DOTS ="true"
22
+ # Uncomment following line if you want red dots to be displayed while waiting for completion
23
+ # COMPLETION_WAITING_DOTS ="true"
24
24
25
25
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
26
26
# Example format: plugins=(rails git textmate ruby lighthouse)
You can’t perform that action at this time.
0 commit comments