aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorhumphreylin <[email protected]>2019-08-14 19:52:41 +0800
committerhumphreylin <[email protected]>2019-08-14 19:52:41 +0800
commit12831ccc7f8d3e3b12b27f116935738fd3d55165 (patch)
tree5938c987e61e0d5378e74598ab1f7dde886958d1 /.bashrc
parentfc3222197acafba3044ea8138edaf7b701fa5565 (diff)
downloaddotfiles-12831ccc7f8d3e3b12b27f116935738fd3d55165.tar.gz
dotfiles-12831ccc7f8d3e3b12b27f116935738fd3d55165.tar.bz2
dotfiles-12831ccc7f8d3e3b12b27f116935738fd3d55165.zip
modify .bashrc
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc13
1 files changed, 11 insertions, 2 deletions
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