aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcreate_links.sh5
-rwxr-xr-x[-rw-r--r--]files/.gitconfig1
-rwxr-xr-x[-rw-r--r--]files/.gvimrc-10093352-SIBSAC2
3 files changed, 6 insertions, 2 deletions
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
index 56d6b44..cfe4dfc 100644..100755
--- 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
index 6fe1949..443bda9 100644..100755
--- a/files/.gvimrc-10093352-SIBSAC
+++ b/files/.gvimrc-10093352-SIBSAC
@@ -1,2 +1,4 @@
" Испольщзуемый шрифт
set guifont=Consolas:h10:cRUSSIAN
+
+colorscheme mustang