Add commit function to bashrc.
This commit is contained in:
1 parent
4a9cd06654
commit
c6e8290b43
1 file changed
+2
-2
@@ -1031,8 +1031,7 @@
|
|||||||
alias_flatpak_clean: |
|
alias_flatpak_clean: |
|
||||||
alias flatpak-clean="flatpak uninstall --unused"
|
alias flatpak-clean="flatpak uninstall --unused"
|
||||||
alias_commit: |
|
alias_commit: |
|
||||||
# TBD function to git add, git commit, and git push in a single go.
|
# TBD - Needs tested.
|
||||||
# Already exists on Termux env. Needs tested.
|
|
||||||
function commit_usage {
|
function commit_usage {
|
||||||
echo 'Usage: commit "This is a commit message"'
|
echo 'Usage: commit "This is a commit message"'
|
||||||
}
|
}
|
||||||
@@ -1135,6 +1134,7 @@
|
|||||||
{{ global_functions }}
|
{{ global_functions }}
|
||||||
{{ alias_docker_other }}
|
{{ alias_docker_other }}
|
||||||
{{ alias_flatpak_clean }}
|
{{ alias_flatpak_clean }}
|
||||||
|
{{ alias_commit }}
|
||||||
|
|
||||||
- name: General | Account Management | Users | Files | .bashrc
|
- name: General | Account Management | Users | Files | .bashrc
|
||||||
blockinfile:
|
blockinfile:
|
||||||
|
|||||||
Reference in new issue
Block a user