From 12831ccc7f8d3e3b12b27f116935738fd3d55165 Mon Sep 17 00:00:00 2001 From: humphreylin Date: Wed, 14 Aug 2019 19:52:41 +0800 Subject: modify .bashrc --- .bashrc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index c2c4cfa..1711ce8 100644 --- a/.bashrc +++ b/.bashrc @@ -116,6 +116,15 @@ if ! shopt -oq posix; then fi fi +# default editor +export EDITOR=/usr/bin/vim + +# alias +alias g='git' +alias gaa='git add --all' +alias gc='git commit -v' +alias gp='git push' + # autojump if [ ! -d /usr/share/autojump ]; then sudo apt install autojump @@ -123,8 +132,8 @@ fi . /usr/share/autojump/autojump.sh # proxy -export http_proxy='http://localhost:8118' -export https_proxy='http://localhost:8118' +export http_proxy='http://localhost:7890' +export https_proxy='http://localhost:7890' # fzf [ -f ~/.fzf.bash ] && source ~/.fzf.bash -- cgit v1.2.3