dotfiles/.bash_aliases

31 lines
664 B
Bash
Raw Permalink Normal View History

2023-11-14 18:58:15 +03:00
# .bash_aliases
alias vi='vim'
alias wget='wget -c'
# Colorize
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
# File managment
alias ..='cd ..'
alias ...='cd ../../../'
alias la='ls -A'
alias ll='ls -la'
alias l.='ls -d .*'
alias tree='tree -a -I ".git/"'
2023-12-25 14:35:42 +03:00
2023-11-14 18:58:15 +03:00
# Git
alias gs='git status'
2023-12-25 14:37:02 +03:00
alias glog='git log --graph --oneline --decorate'
alias commit='git commit -m'
2023-11-14 18:58:15 +03:00
alias add='git add'
alias pull='git pull --verbose'
alias push='git push --verbose'
2024-09-26 02:51:05 +03:00
# visit count
2024-09-26 03:06:35 +03:00
alias visitors='echo $(($(cat $HOME/visitors | awk -F "," "{print NF-1}") + 1))'
2024-09-26 02:51:05 +03:00
alias visits='echo $(cat $HOME/visits)'