my personal dotfiles managed by dotbot, zinit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
831 B

alias tmux="TERM=screen-256color tmux -2"
alias vi="vim"
alias mux="TERM=screen-256color tmuxinator"
#alias ls="ls -alh"
alias cp="cp -i"
alias df="df -h"
alias free="free -m"
alias grep="grep --color=auto"
alias open="xdg-open"
alias ag="ag -i"
alias mkdir="mkdir -p"
alias e=$EDITOR
4 years ago
alias mci="mvn -e -U clean install"
4 years ago
alias mcp="mvn -U clean package"
alias mvn-purge="mvn dependency:purge-local-repository"
4 years ago
# https://stackoverflow.com/a/15503178/1820217
alias gitlog="git ls-files -z | xargs -0n1 git blame -w --show-email | perl -n -e '/^.*?\((.*?)\s+[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n"
alias proxy='export all_proxy=socks5://127.0.0.1:1080'
alias unproxy='unset all_proxy'
4 years ago
# assh
# https://github.com/moul/assh
if [[ -f ~/.ssh/assh.yml ]]; then
echo "assh wrapper"
alias ssh="assh wrapper ssh --"
fi