aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.profile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-29 08:02:28 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-29 08:02:28 +0300
commit1d7e419ac64c0ba026246fac058ef843c560eea7 (patch)
tree19bec975bc8135e8c9e500c251c3a57fcb8dd112 /%HOME%/.profile
parentremove more dead code from bash dotfiles (diff)
downloadlinux-home-1d7e419ac64c0ba026246fac058ef843c560eea7.tar.gz
linux-home-1d7e419ac64c0ba026246fac058ef843c560eea7.zip
bugfix & code style
Diffstat (limited to '%HOME%/.profile')
-rw-r--r--%HOME%/.profile5
1 files changed, 2 insertions, 3 deletions
diff --git a/%HOME%/.profile b/%HOME%/.profile
index 056d9db..43c0e81 100644
--- a/%HOME%/.profile
+++ b/%HOME%/.profile
@@ -1,6 +1,5 @@
-LANG="$( locale --no-unicode --utf )"
-export LANG
+LANG="$( locale --no-unicode --utf )" && export LANG
[ -n "${BASH_VERSION+x}" ] \
- && [ -f "$HOME/.bashrc" ] \
+ && [ -r "$HOME/.bashrc" ] \
&& source "$HOME/.bashrc"