aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhumphreylin <[email protected]>2019-10-06 10:38:28 +0800
committerhumphreylin <[email protected]>2019-10-06 10:38:28 +0800
commit7cb9e541292ca4e177582afbcbb9afe149a6070c (patch)
tree482a18423d9df7fd1e9aec1a0ebcd441fa8ed505
parent56f14c58cd23a2c2dfcd21dd1408937ed6641416 (diff)
downloaddotfiles-7cb9e541292ca4e177582afbcbb9afe149a6070c.tar.gz
dotfiles-7cb9e541292ca4e177582afbcbb9afe149a6070c.tar.bz2
dotfiles-7cb9e541292ca4e177582afbcbb9afe149a6070c.zip
add alias for python and add X server config
-rw-r--r--.bashrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index dff0eed..e23838c 100644
--- a/.bashrc
+++ b/.bashrc
@@ -131,6 +131,13 @@ alias gp='git push'
alias cd..='cd ..'
+alias pyinit='source venv/bin/activate'
+
+# X Server
+if grep -q Microsoft /proc/version; then
+ export DISPLAY=localhost:0
+fi
+
# autojump
if [ ! -d /usr/share/autojump ]; then
sudo apt install autojump