From c3339413792acb963c93a1e85124366d078abe66 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Wed, 26 Oct 2011 10:14:03 +0600 Subject: f --- create_links.sh | 5 +++-- files/.gitconfig | 1 + files/.gvimrc-10093352-SIBSAC | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 files/.gitconfig mode change 100644 => 100755 files/.gvimrc-10093352-SIBSAC diff --git a/create_links.sh b/create_links.sh index 00a341a..1684e5c 100755 --- a/create_links.sh +++ b/create_links.sh @@ -6,6 +6,7 @@ set -e dir="$(cd "$(dirname "$0")" && pwd)" os=$(uname --operating-system) ignore="$dir/ignore-$(/bin/hostname)" +CMD=$SYSTEMROOT/System32/cmd.exe filter() { fname="files/$(basename "$@")" @@ -20,9 +21,9 @@ create_windows_link() target=$target/$(basename "$link") rm -rvf "$target" if [ -d "$link" ] ; then - cmd /c mklink /D $(cygpath --windows "$target") $(cygpath --windows "$link") + $CMD /c mklink /D $(cygpath --windows "$target") $(cygpath --windows "$link") else - cmd /c mklink $(cygpath --windows "$target") $(cygpath --windows "$link") + $CMD /c mklink $(cygpath --windows "$target") $(cygpath --windows "$link") fi } diff --git a/files/.gitconfig b/files/.gitconfig old mode 100644 new mode 100755 index 56d6b44..cfe4dfc --- a/files/.gitconfig +++ b/files/.gitconfig @@ -22,3 +22,4 @@ ka = !sh -c 'gitk --all' - kb = !sh -c 'gitk --branches' - fix = commit --amend -C HEAD + ar = !sh -c 'git archive --format=tar --prefix="$(basename "$PWD")-$1/" $1^{tree} | bzip2 >"$(basename "$PWD")-$1.tar.bz2"' - diff --git a/files/.gvimrc-10093352-SIBSAC b/files/.gvimrc-10093352-SIBSAC old mode 100644 new mode 100755 index 6fe1949..443bda9 --- a/files/.gvimrc-10093352-SIBSAC +++ b/files/.gvimrc-10093352-SIBSAC @@ -1,2 +1,4 @@ " Испольщзуемый шрифт set guifont=Consolas:h10:cRUSSIAN + +colorscheme mustang -- cgit v1.2.3