Created
April 4, 2017 05:53
-
-
Save jmahc/3b10d42a9e8637629847a7072456221e to your computer and use it in GitHub Desktop.
bash profile as of 4/4/17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To the extent possible under law, the author(s) have dedicated all | |
# copyright and related and neighboring rights to this software to the | |
# public domain worldwide. This software is distributed without any warranty. | |
# You should have received a copy of the CC0 Public Domain Dedication along | |
# with this software. | |
# If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | |
# base-files version 4.2-2 | |
# ~/.bash_profile: executed by bash(1) for login shells. | |
# The latest version as installed by the Cygwin Setup program can | |
# always be found at /etc/defaults/etc/skel/.bash_profile | |
# Modifying /etc/skel/.bash_profile directly will prevent | |
# setup from updating it. | |
# The copy in your home directory (~/.bash_profile) is yours, please | |
# feel free to customise it to create a shell | |
# environment to your liking. If you feel a change | |
# would be benifitial to all, please feel free to send | |
# a patch to the cygwin mailing list. | |
# User dependent .bash_profile file | |
# source the users bashrc if it exists | |
if [ -f "${HOME}/.bashrc" ] ; then | |
source "${HOME}/.bashrc" | |
fi | |
# Set PATH so it includes user's private bin if it exists | |
# if [ -d "${HOME}/bin" ] ; then | |
# PATH="${HOME}/bin:${PATH}" | |
# fi | |
# Set MANPATH so it includes users' private man if it exists | |
# if [ -d "${HOME}/man" ]; then | |
# MANPATH="${HOME}/man:${MANPATH}" | |
# fi | |
# Set INFOPATH so it includes users' private info if it exists | |
# if [ -d "${HOME}/info" ]; then | |
# INFOPATH="${HOME}/info:${INFOPATH}" | |
# fi | |
# git setup...might need to be removed? | |
SSHAGENT=/usr/bin/ssh-agent | |
SSHAGENTARGS="-s" | |
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then | |
eval `$SSHAGENT $SSHAGENTARGS` > /dev/null | |
trap "kill $SSH_AGENT_PID" 0 > /dev/null | |
fi | |
cd ~/source | |
NODIST_BIN_DIR__=$(echo "$NODIST_PREFIX" | sed -e 's,\\,/,g')/bin; if [ -f "$NODIST_BIN_DIR__/nodist.sh" ]; then . "$NODIST_BIN_DIR__/nodist.sh"; fi; unset NODIST_BIN_DIR__; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment