Mercurial > repos > other > linux
comparison bashrc @ 151:d0aef31d4122
Speed up compilation but stop Python making bytecode!
* Set compilation flags for parallel compilation
* Set a Python variable so that hg-prompt doesn't keep writing
`~/__pycache__/` files
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 11 Jan 2022 20:47:06 +0000 |
parents | 39abe6b6233f |
children | 99a7805cb924 |
comparison
equal
deleted
inserted
replaced
150:39abe6b6233f | 151:d0aef31d4122 |
---|---|
36 echo "tmux failed to start" | 36 echo "tmux failed to start" |
37 fi | 37 fi |
38 | 38 |
39 export GTK_IM_MODULE=ibus | 39 export GTK_IM_MODULE=ibus |
40 export LS_OPTIONS="$LS_OPTIONS -p" | 40 export LS_OPTIONS="$LS_OPTIONS -p" |
41 | |
42 # Speed up compilation and take all the cores! (probably) | |
43 export MAKEFLAGS=-j$(lscpu|grep "^CPU(s):"|head -n1|awk '{print $2}') | |
44 | |
45 export PYTHONDONTWRITEBYTECODE=true | |
41 | 46 |
42 function vcs_status { | 47 function vcs_status { |
43 GIT_PS1_SHOWDIRTYSTATE=1 | 48 GIT_PS1_SHOWDIRTYSTATE=1 |
44 GIT_PS1_SHOWUPSTREAM=verbose | 49 GIT_PS1_SHOWUPSTREAM=verbose |
45 . /etc/bash_completion.d/git-prompt.sh | 50 . /etc/bash_completion.d/git-prompt.sh |