Skip to content

Commit d64ec8b

Browse files
committed
feat(installer.sh): create a installer file to handle tasks
This installer file create a alias for zshcr and append to last line of zshcr.
1 parent da5bc62 commit d64ec8b

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

installer.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
chmod +x ~/git-commit-template/template.sh
4+
echo alias gct=~/git-commit-template/template.sh >~/git-commit-template/zsh_gct
5+
echo source ~/git-commit-template/zsh_gct >>.zshrc

zsh_gct

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
alias gct='/home/jakode/git-commit-template/template.sh'
2-
1+
alias gct=/home/jakode/git-commit-template/template.sh

0 commit comments

Comments
 (0)