From 2d1d580ac8b0b79f613ef1ae5ad25b7f02555e6d Mon Sep 17 00:00:00 2001 From: alrra Date: Sun, 6 Jan 2013 02:19:36 +0200 Subject: .bash_profile: Move the `LANG` & `LC_ALL` exports into `.exports` --- .bash_profile | 4 ---- .exports | 16 +++++++++++----- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.bash_profile b/.bash_profile index 505d6d4..7eacfc8 100644 --- a/.bash_profile +++ b/.bash_profile @@ -25,10 +25,6 @@ for option in autocd globstar; do shopt -s "$option" 2> /dev/null done -# Prefer US English and use UTF-8 -export LC_ALL="en_US.UTF-8" -export LANG="en_US" - # Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards [ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2)" scp sftp ssh diff --git a/.exports b/.exports index 8d4e412..b9f8606 100644 --- a/.exports +++ b/.exports @@ -1,13 +1,19 @@ # Make vim the default editor export EDITOR="vim" -# Don’t clear the screen after quitting a manual page -export MANPAGER="less -X" -# Highlight section titles in manual pages -export LESS_TERMCAP_md="$ORANGE" # Larger bash history (allow 32³ entries; default is 500) export HISTSIZE=32768 export HISTFILESIZE=$HISTSIZE export HISTCONTROL=ignoredups # Make some commands not show up in history -export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help" \ No newline at end of file +export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help" + +# Prefer US English and use UTF-8 +export LANG="en_US" +export LC_ALL="en_US.UTF-8" + +# Highlight section titles in manual pages +export LESS_TERMCAP_md="$ORANGE" + +# Don’t clear the screen after quitting a manual page +export MANPAGER="less -X" \ No newline at end of file -- cgit v1.2.3