added cool alias for direct commiting to git and added resources to todo

main
The_miro 2024-11-25 15:37:08 +01:00
parent 8ddda28331
commit 51d3c59218
2 changed files with 28 additions and 0 deletions

15
.bashrc
View File

@ -21,6 +21,19 @@ alias gita="git add ."
alias gitc="git commit -m"
alias gitp="git push"
function gitf() {
if [ -z $1 ]; then
echo "no commit message, doing nothing"
else
echo "directly commiting with message \"$1\""
git add .
git commit -m $1
git push
fi
}
alias icat="kitten icat"
alias cls="clear"
@ -35,6 +48,8 @@ function y() {
rm -f -- "$tmp"
}
eval "$(starship init bash)"
fastfetch --logo-color-1 red --logo-color-2 red --color red -l ~/Dotfiles/pin.txt

13
.zshrc
View File

@ -124,6 +124,18 @@ alias gitc="git commit -m"
alias gitp="git push"
alias gitg="git pull"
function gitf() {
if [ -z $1 ]; then
echo "no commit message, doing nothing"
else
echo "directly commiting with message \"$1\""
git add .
git commit -m $1
git push
fi
}
alias icat="kitten icat"
alias cls="clear"
@ -139,6 +151,7 @@ function y() {
}
eval "$(starship init zsh)"
fastfetch --logo-color-1 red --logo-color-2 red --color red -l ~/Dotfiles/pin.txt