commit febcd35cfd265aa9d51e13cbdc57818ccf1b07f9 parent 37ee69e5fb1342c7dd98ca953f2fcdc6c225af32 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Mon, 13 Jan 2020 14:04:57 +0100 added profile file Former-commit-id: eda3dbb88d9cbd863aecc8558a78b158edbe6d63 Diffstat:
A | shell/profile | | | 53 | +++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 53 insertions(+), 0 deletions(-)
diff --git a/shell/profile b/shell/profile @@ -0,0 +1,53 @@ +# ~/.profile: executed by the command interpreter for login shells. +# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login +# exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + +# the default umask is set in /etc/profile; for setting the umask +# for ssh logins, install and configure the libpam-umask package. +#umask 022 + +# if running bash +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.local/bin:$PATH" +fi +if [ -d "$HOME/.scripts" ] ; then + PATH="$HOME/.scripts:$PATH" +fi +if [ -d "$HOME/.bin" ] ; then + PATH="$HOME/.bin:$PATH" +fi +if [ -d "$HOME/go/bin" ] ; then + PATH="$HOME/go/bin:$PATH" +fi +if [ -f "$HOME/.secret_env_variables" ] ; then + . "$HOME/.secret_env_variables" +fi +# Haskell +if [ -d "$HOME/.ghcup/bin" ]; then + PATH="$HOME/.ghcup/bin:$PATH" +fi +if [ -d "/usr/local/sbin" ]; then + PATH="/usr/local/sbin:$PATH" +fi + +export DOTFILES="$HOME/.dotfiles" +export EDITOR="/usr/local/bin/vim" +export LC_ALL="en_US" +export LANG="en_US" +export MUSIC_DIR="/Volumes/HDD/Music/iTunes/iTunes Media/Music" +export PAGER="bat"