Skip to content

Instantly share code, notes, and snippets.

@obfusk
Last active December 21, 2015 15:59
Show Gist options
  • Select an option

  • Save obfusk/6330311 to your computer and use it in GitHub Desktop.

Select an option

Save obfusk/6330311 to your computer and use it in GitHub Desktop.
[OLD] dotfiles
# ~/.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
# MODIFIED {
umask 077
# } MODIFIED
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# MODIFIED {
# set PATH so it includes user's private bin if it exists
# if [ -d "$HOME/bin" ] ; then
# PATH="$HOME/bin:$PATH"
# fi
for _path in \
"$HOME/opt/pkg/ffmpeg/bin" \
"$HOME/.local/bin" \
"$HOME/.gem/ruby/1.9.1/bin" \
"$HOME/.node/bin" "$HOME/opt/pkg/node/bin" \
"$HOME/opt/bin" "$HOME/bin" ;
do
[ -d "$_path" ] && PATH="$_path:$PATH"
done
unset _path
export LC_COLLATE=C
export NODE_PATH="$HOME/.node/lib/node_modules"
export GEM_HOME="$HOME/.gem/ruby/1.9.1"
export LEIN_JAVA_CMD=drip
export CHROME_DEVEL_SANDBOX=/usr/lib/chromium-browser\
/chromium-browser-sandbox
# } MODIFIED
# ~/.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
# MODIFIED {
umask 077
# } MODIFIED
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# MODIFIED {
# set PATH so it includes user's private bin if it exists
# if [ -d "$HOME/bin" ] ; then
# PATH="$HOME/bin:$PATH"
# fi
for _path in \
"$HOME/opt/pkg/ffmpeg/bin" \
"$HOME/.local/bin" \
"$HOME/.gem/ruby/1.9.1/bin" \
"$HOME/.node/bin" "$HOME/opt/pkg/node/bin" \
"$HOME/opt/bin" "$HOME/bin" ;
do
[ -d "$_path" ] && PATH="$_path:$PATH"
done
unset _path
export LC_COLLATE=C
export NODE_PATH="$HOME/.node/lib/node_modules"
export GEM_HOME="$HOME/.gem/ruby/1.9.1"
export LEIN_JAVA_CMD=drip
export CHROME_DEVEL_SANDBOX=/usr/lib/chromium-browser\
/chromium-browser-sandbox
# } MODIFIED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment