瀏覽代碼

add git alias new

pull/1/head
10sr 11 年之前
父節點
當前提交
07ef28e8a2
共有 2 個文件被更改,包括 5 次插入4 次删除
  1. +4
    -3
      setup.sh
  2. +1
    -1
      vimrc

+ 4
- 3
setup.sh 查看文件

@@ -79,6 +79,7 @@ git_config(){
# $_gitconfig alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso"
$_gitconfig alias.addi "add -i"
$_gitconfig alias.clean-p "!test -z \"\$(git status -s -uno)\""
$_gitconfig alias.new "checkout -b"
#$_gitconfig alias.wc "!git ls-files -z | xargs -0 wc"
# $_gitconfig push.default "simple"
if _iswindows; then
@@ -87,9 +88,9 @@ git_config(){
}

install_files(){
src_hilite_src="`pwd`/conf/src-hilite.style"
src_hilite_dst="$HOME/.local/share/source-highlight/src_hilite.style"
install -D --backup "$src_hilite_src" "$src_hilite_dst"
src_hilite_src="`pwd`/conf/src-hilite.style"
src_hilite_dst="$HOME/.local/share/source-highlight/src_hilite.style"
#install -D --backup "$src_hilite_src" "$src_hilite_dst"
}

mac_defaults(){


+ 1
- 1
vimrc 查看文件

@@ -1,4 +1,4 @@
" load external file
" "load external file
" if filereadable(expand('~/.dotfiles/vimrc'))
" source ~/.dotfiles/vimrc
" endif


Loading…
取消
儲存