dotfiles/.bash_aliases
2024-09-26 02:51:05 +03:00
Ask

31 lines
664 B
Bash

{40ecadf2ae196487e0e31700c525572be40c7914 true 664 .bash_aliases 0xc002d3a7e0}

# .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)'