diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-06-20 22:51:35 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-06-20 22:51:35 +1200 |
commit | bebbc9bb1c32f3f460ca6d6e81446fcc996dc9d6 (patch) | |
tree | b10dfe3d6269550146c4d1184921f379cd79af83 /bash/profile | |
parent | Nix DISPLAY, otherwise don't change environment (diff) | |
download | dotfiles-bebbc9bb1c32f3f460ca6d6e81446fcc996dc9d6.tar.gz dotfiles-bebbc9bb1c32f3f460ca6d6e81446fcc996dc9d6.zip |
Massive overhaul of structure for Bash files
* No longer using .bash_logout
* No longer using .bash_profile, using POSIX-compliant .profile
* instead; in particular, moved most of environment settings into
.profile
* Moved some of the separable functionality of both .profile and
.bashrc into subdirectories (some scripts shared, some not)
* Tidied implementation of ls/grep aliases
* Updated install script to reflect all of the above
Diffstat (limited to 'bash/profile')
-rw-r--r-- | bash/profile | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/bash/profile b/bash/profile deleted file mode 100644 index 6fc34a51..00000000 --- a/bash/profile +++ /dev/null @@ -1,33 +0,0 @@ -# Locale -export LANG='en_NZ.UTF-8' -export LANGUAGE='en_NZ:en' -unset LC_ALL - -# Editor -export EDITOR='vi' -export VISUAL="$EDITOR" - -# Pager -export PAGER='less' - -# Mail -export MAIL="$HOME/Mail" - -# Browser -if [ -n "$DISPLAY" ]; then - export BROWSER='firefox' -else - export BROWSER='lynx' -fi - -# Path -for bindir in \ - "$HOME/.local/bin" \ - '/usr/local/apache/bin' \ - '/usr/local/mysql/bin' \ - '/usr/local/nagios/bin' \ - '/usr/local/pgsql/bin' -do - [ -d "$bindir" ] && export PATH="$bindir:$PATH" -done - |