Vim alias

This commit is contained in:
2024-05-03 16:40:55 +01:00
parent 2bf5ea07d0
commit 164db5c20e

View File

@@ -20,6 +20,7 @@ alias ls='ls --color=auto'
alias ll='ls -lhi' alias ll='ls -lhi'
alias ta='tmux attach' alias ta='tmux attach'
alias t='tmux' alias t='tmux'
alias v='vim'
extract() { extract() {
if [ -f $1 ]; then if [ -f $1 ]; then
@@ -57,6 +58,8 @@ pushall() {
if [[ -z "$1" ]]; then if [[ -z "$1" ]]; then
echo "Usage: pushall \"commit message\"" echo "Usage: pushall \"commit message\""
else else
git diff
read -p "Press ENTER to continue..."
git add -A git add -A
git commit -m "$@" git commit -m "$@"
git push git push