diff options
author | humphreylin <[email protected]> | 2019-10-06 10:38:28 +0800 |
---|---|---|
committer | humphreylin <[email protected]> | 2019-10-06 10:38:28 +0800 |
commit | 7cb9e541292ca4e177582afbcbb9afe149a6070c (patch) | |
tree | 482a18423d9df7fd1e9aec1a0ebcd441fa8ed505 | |
parent | 56f14c58cd23a2c2dfcd21dd1408937ed6641416 (diff) | |
download | dotfiles-7cb9e541292ca4e177582afbcbb9afe149a6070c.tar.gz dotfiles-7cb9e541292ca4e177582afbcbb9afe149a6070c.tar.bz2 dotfiles-7cb9e541292ca4e177582afbcbb9afe149a6070c.zip |
add alias for python and add X server config
-rw-r--r-- | .bashrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |