From 197482d030b024f09ff9f7f038a11f35cb8021fd Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 16 Apr 2017 01:39:30 +0300 Subject: backup_gitconfig.sh -> configure_git.sh --- backup_gitconfig.sh | 6 ------ configure_git.sh | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100755 backup_gitconfig.sh create mode 100755 configure_git.sh diff --git a/backup_gitconfig.sh b/backup_gitconfig.sh deleted file mode 100755 index d0224a5..0000000 --- a/backup_gitconfig.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -set -o errexit -o nounset -o pipefail - -script_dir="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" && pwd )" -cp --remove-destination -- "$script_dir/%HOME%/.gitconfig" ~ diff --git a/configure_git.sh b/configure_git.sh new file mode 100755 index 0000000..36beda2 --- /dev/null +++ b/configure_git.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -o errexit -o nounset -o pipefail + +script_dir="$( dirname -- "${BASH_SOURCE[0]}" )" +script_dir="$( cd -- "$script_dir" && pwd )" +cp --remove-destination -- "$script_dir/%HOME%/.gitconfig" ~ -- cgit v1.2.3