mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Dotfile refactoring.
This commit is contained in:
@@ -1,30 +1,3 @@
|
||||
# Sourced by zshrc as well as bash.
|
||||
|
||||
umask 027
|
||||
ulimit -c unlimited
|
||||
|
||||
# if running bash
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
shopt -s expand_aliases
|
||||
fi
|
||||
|
||||
# Paths and preferences
|
||||
export PATH="$HOME/bin:/sbin:/usr/sbin:$PATH"
|
||||
export PYTHONPATH="$HOME/.python:$PYTHONPATH"
|
||||
export GOPATH="$HOME/.go"
|
||||
export VISUAL=vim
|
||||
export EDITOR=vim
|
||||
export DEBEMAIL="david@systemoverlord.com"
|
||||
export DEBFULLNAME="David Tomaschik"
|
||||
export LESS="-MR"
|
||||
|
||||
# Unconditional because /bin/sh sucks
|
||||
export PATH="$PATH:$HOME/.gce/google-cloud-sdk/bin:$HOME/bin/genymotion:$HOME/bin/genymotion/tools:$HOME/bin/google_appengine:$HOME/bin/go_appengine"
|
||||
|
||||
# Setup GPG Agent
|
||||
GPG_AGENT_INFO_PATH=$HOME/.gnupg/gpg-agent-info-`hostname`
|
||||
if test -f $GPG_AGENT_INFO_PATH && kill -0 `cut -d: -f 2 $GPG_AGENT_INFO_PATH` 2>/dev/null ; then
|
||||
@@ -38,14 +11,3 @@ fi
|
||||
unset GPG_AGENT_INFO_PATH
|
||||
export GPG_TTY=`tty`
|
||||
# End GPG
|
||||
|
||||
# Fix gnome-terminal
|
||||
if [[ $TERM == "xterm" && $COLORTERM == "gnome-terminal" ]] ; then
|
||||
export TERM="xterm-256color"
|
||||
fi
|
||||
|
||||
# dircolors
|
||||
eval `dircolors $HOME/.dircolors`
|
||||
|
||||
if [[ -e $HOME/.localenv ]] ; then source $HOME/.localenv ; fi
|
||||
if [[ -e $HOME/.aliases ]] ; then source $HOME/.aliases ; fi
|
||||
|
||||
Reference in New Issue
Block a user