aboutsummaryrefslogtreecommitdiff
path: root/share/templater/git
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-17 11:34:31 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-17 11:34:31 -0200
commitca223571c8548fda2e6571daf497482d8d236362 (patch)
tree86daa0f8eba8222b7d5ff85c0b4e101795b7c450 /share/templater/git
parentf6851134c07c74554437db5be4abb13cafafc1b6 (diff)
downloadtemplater-ca223571c8548fda2e6571daf497482d8d236362.tar.gz
templater-ca223571c8548fda2e6571daf497482d8d236362.tar.bz2
Rename __templater_ functions to templater_
Diffstat (limited to 'share/templater/git')
-rwxr-xr-xshare/templater/git/setup8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/templater/git/setup b/share/templater/git/setup
index de2b750..952e6ef 100755
--- a/share/templater/git/setup
+++ b/share/templater/git/setup
@@ -12,11 +12,11 @@ source $SHARE/templater/functions || exit 1
# Git implementation
function templater_git {
if [ ! -d ".git" ]; then
- __templater_echo "Setting up git..."
+ templater_echo "Setting up git..."
touch .gitignore
- __templater_user_input GIT_USER User "-> Choose a git user name"
- __templater_user_input GIT_EMAIL user@example.org "-> Choose a git email address"
+ templater_user_input GIT_USER User "-> Choose a git user name"
+ templater_user_input GIT_EMAIL user@example.org "-> Choose a git email address"
git init
git config user.name "$GIT_USER"
@@ -24,7 +24,7 @@ function templater_git {
git add .
git commit -m "Initial import"
else
- __templater_echo "Git already set"
+ templater_echo "Git already set"
fi
}