dotfiles/.bash_aliases
2024-09-26 03:06:35 +03:00
Ask

31 lines
664 B
Bash

{ea31c5e5d7e640ff4a85d80354af8382b9ee1c28 true 664 .bash_aliases 0xc001f4cd90}

# .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/"'
# Git
alias gs='git status'
alias glog='git log --graph --oneline --decorate'
alias commit='git commit -m'
alias add='git add'
alias pull='git pull --verbose'
alias push='git push --verbose'
# visit count
alias visitors='echo $(($(cat $HOME/visitors | awk -F "," "{print NF-1}") + 1))'
alias visits='echo $(cat $HOME/visits)'