Public Repository

Last pushed: 2 years ago
Short Description
zhanglubing/base
Full Description

Version 1.0:

FROM ubuntu:14.04
MAINTAINER zhanglubing zhanglubing927@163.com

RUN apt-get update && apt-get install -y \
    git \
    zsh \
    tree \
    ctags \
    wget \
    curl \
    vim

RUN echo '
[user]
    name = zhanglubing
    email = zhanglubing927@163.com

[branch "master"]
    remote = origin
    merge = refs/heads/master

[branch "develop"]
    remote = origin
    merge = refs/heads/develop

[diff]
    tool = diffuse

[difftool]
    prompt = false

[alias]
    st = status
    ci = commit
    dt = difftool
    br = branch

[color]
    branch = auto
    diff = auto
    status = auto
    grep = auto
    interatctive = auto
    ui = true

[color "diff"]
    plain = normal
    meta = bold
    frag = cyan
    old = magenta
    new = green
    commit = yellow
    whitespace = normal red

[color "branch"]
    current = green
    local = normal
    remote = magenta
    plain = normal

[color "status"]
    header = normal
    added = green
    updated = green
    changed = yellow
    untracked = magenta
    nobranch = magenta

[color "grep"]
    match = normal

[color "interactive"]
    prompt = normal
    header = normal
    help = normal
    error = normal
    ' >> ~/.gitconfig

Version 1.1:

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zsh

git clone git://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
Docker Pull Command
Owner
zhanglubing

Comments (0)