# HG changeset patch # User Oleksandr Gavenko # Date 1454342762 -7200 # Node ID 2a3e6cf308f2cfcbc20e669d989c5c366c642613 # Parent ec32614ca2bc1655b20c433ae12027aeadc14c24 "~" expanded only on word start. Use "$HOME" instead of ~ for this reason and for uniformity. diff -r ec32614ca2bc -r 2a3e6cf308f2 .env --- a/.env Mon Feb 01 17:39:47 2016 +0200 +++ b/.env Mon Feb 01 18:06:02 2016 +0200 @@ -24,11 +24,11 @@ export TIME_STYLE=long-iso # Easy cd to often used dirs. -export CDPATH=.:~:~/devel:~/devel/my +export CDPATH=.:$HOME:$HOME/devel:$HOME/devel/my if [[ ! $PATH =~ $HOME/usr/bin ]]; then # For local installations and to override /bin, but not /sbin. - export PATH=~/usr/bin:$PATH + export PATH=$HOME/usr/bin:$PATH fi if [[ ! :$PATH =~ :/usr/sbin ]]; then export PATH=/usr/sbin:$PATH @@ -36,8 +36,8 @@ if [[ ! :$PATH =~ :/sbin ]]; then export PATH=/sbin:$PATH fi -if [[ ! :$PATH =~ :~/.local/bin ]]; then - export PATH=$PATH:~/.local/bin +if [[ ! :$PATH =~ :$HOME/.local/bin ]]; then + export PATH=$PATH:$HOME/.local/bin fi @@ -47,22 +47,22 @@ fi if [[ -z $MANPATH ]]; then - export MANPATH=~/usr/share/man: + export MANPATH=$HOME/usr/share/man: elif [[ ! $MANPATH =~ $HOME/usr/share/man: ]]; then export MANPATH=$MANPATH:$HOME/usr/share/man: fi if [[ -z $INFOPATH ]]; then - export INFOPATH=~/usr/share/info: + export INFOPATH=$HOME/usr/share/info: elif [[ ! $INFOPATH =~ $HOME/usr/share/info: ]]; then export INFOPATH=$INFOPATH:$HOME/usr/share/info: fi -export PYTHONSTARTUP=~/.pystartup +export PYTHONSTARTUP=$HOME/.pystartup export GRADLE_OPTS='-Dorg.gradle.daemon=true' -if [[ ! :$PATH =~ :~/.npm-packages/bin ]]; then - export PATH=$PATH:~/.npm-packages/bin +if [[ ! :$PATH =~ :$HOME/.npm-packages/bin ]]; then + export PATH=$PATH:$HOME/.npm-packages/bin fi