Sfoglia il codice sorgente

add git alias new

pull/1/head
10sr 11 anni fa
parent
commit
07ef28e8a2
2 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. +4
    -3
      setup.sh
  2. +1
    -1
      vimrc

+ 4
- 3
setup.sh Vedi File

@@ -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 Vedi File

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


Caricamento…
Annulla
Salva