Skip to content

Commit

Permalink
Merge branch 'release/2.0.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
benohara committed Jun 15, 2014
2 parents bfc699b + abb409a commit 0680b12
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .dotzsh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
2.0.0
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@
[submodule "modules/autosuggestions/external"]
path = modules/autosuggestions/external
url = https://github.com/tarruda/zsh-autosuggestions.git
[submodule "modules/docker/external"]
path = modules/docker/external
url = https://github.com/felixr/docker-zsh-completion.git
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dotzsh changelog
----------------

- 2.0.0 : Base16 and bugfixes
- 1.0.0 : Intitial stable release
- 0.2.x : Bugfixes
- 0.1.x : Initial releases
Expand Down
2 changes: 1 addition & 1 deletion modules/autoenv/external
2 changes: 1 addition & 1 deletion modules/completion/external
1 change: 1 addition & 0 deletions modules/docker/external
Submodule external added at 738ed1
16 changes: 13 additions & 3 deletions modules/utility/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ alias myip='curl ifconfig.me'
# IP addresses
alias ips="ifconfig -a | grep -o 'inet6\? \(addr:\)\?\s\?\(\(\([0-9]\+\.\)\{3\}[0-9]\+\)\|[a-fA-F0-9:]\+\)' | awk '{ sub(/inet6? (addr:)? ?/, \"\"); print }'"

# Enhanced WHOIS lookups
alias whois="whois -h whois-servers.net"

### Functions

# Serves a directory via HTTP.
Expand Down Expand Up @@ -238,3 +235,16 @@ function whiteboard_clean() {
convert "$1" -resize %50 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
}

# ctrl+z to fg
fancy-ctrl-z () {
if [[ $#BUFFER -eq 0 ]]; then
fg
zle redisplay
else
zle push-input
zle clear-screen
fi
}
zle -N fancy-ctrl-z
bindkey '^Z' fancy-ctrl-z

2 changes: 1 addition & 1 deletion modules/zaw/external
4 changes: 2 additions & 2 deletions themes/dotphiles/prompt/prompt_dotphiles_setup
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ function +vi-hg-branchhead() {

function get_hostname_color() {
local chash=0
hostcolors=( red orange yellow cyan blue magenta brcyan )
hostcolors=( red orange yellow cyan magenta brcyan )
foreach letter ( ${(ws::)HOSTNAME} )
(( chash += #letter ))
end
local crand=$(( $chash % 7 ))
local crand=$(( $chash % 6 ))
local crandname=$hostcolors[$crand+1]
echo "$crandname"
}
Expand Down

0 comments on commit 0680b12

Please sign in to comment.