Skip to content

Commit 78f5607

Browse files
committed
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
2 parents d28f5ce + 762b55b commit 78f5607

File tree

5 files changed

+23
-3
lines changed

5 files changed

+23
-3
lines changed

lib/completion.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
5959
# ... unless we really want to.
6060
zstyle '*' single-ignored show
6161

62-
if [ "$DISABLE_COMPLETION_WAITING_DOTS" != "true" ]; then
62+
if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; then
6363
expand-or-complete-with-dots() {
6464
echo -n "\e[31m......\e[0m"
6565
zle expand-or-complete

lib/key-bindings.zsh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,15 @@ bindkey '^[[B' down-line-or-search
1414

1515
bindkey "^[[H" beginning-of-line
1616
bindkey "^[[1~" beginning-of-line
17+
bindkey "^[OH" beginning-of-line
1718
bindkey "^[[F" end-of-line
1819
bindkey "^[[4~" end-of-line
20+
bindkey "^[OF" end-of-line
1921
bindkey ' ' magic-space # also do history expansion on space
2022

23+
bindkey "^[[1;5C" forward-word
24+
bindkey "^[[1;5D" backward-word
25+
2126
bindkey '^[[Z' reverse-menu-complete
2227

2328
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~

plugins/git/git.plugin.zsh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ alias glg='git log --stat --max-count=5'
2929
compdef _git glg=git-log
3030
alias glgg='git log --graph --max-count=5'
3131
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
3236

3337
# Git and svn mix
3438
alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'

plugins/lol/lol.plugin.zsh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,30 @@ alias rtfm='man'
88
alias visible='echo'
99
alias invisible='cat'
1010
alias moar='more'
11+
alias tldr='less'
12+
alias alwayz='tail -f'
1113

1214
alias icanhas='mkdir'
15+
alias gimmeh='touch'
1316
alias donotwant='rm'
1417
alias dowant='cp'
1518
alias gtfo='mv'
19+
alias nowai='chmod'
1620

1721
alias hai='cd'
22+
alias iz='ls'
1823
alias plz='pwd'
24+
alias ihasbucket='df -h'
1925

2026
alias inur='locate'
27+
alias iminurbase='finger'
28+
29+
alias btw='nice'
30+
alias obtw='nohup'
2131

2232
alias nomz='ps -aux'
2333
alias nomnom='killall'
2434

35+
alias byes='exit'
2536
alias cya='reboot'
2637
alias kthxbai='halt'

templates/zshrc.zsh-template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ ZSH_THEME="robbyrussell"
1919
# Uncomment following line if you want to disable autosetting terminal title.
2020
# DISABLE_AUTO_TITLE="true"
2121

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"
2424

2525
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
2626
# Example format: plugins=(rails git textmate ruby lighthouse)

0 commit comments

Comments
 (0)