Files
dotfiles/shell/_main.sh

52 lines
954 B
Bash

#
# Main Shell Setup
#
# Set required path variables
DOTBIN="$DOTFILES/bin"
# Helper Functions
source "$DOTSHELL/helpers.sh"
# Ensure /usr/local/bin is before various system-paths
path_prepend "/usr/local/bin"
# Load bash or zsh specific init files
if [ -n "$BASH_VERSION" ]; then
source "$DOTSHELL/bashrc.sh"
elif [ -n "$ZSH_VERSION" ]; then
source "$DOTSHELL/zshrc.sh"
fi
# Package management
source "$DOTSHELL/nix.sh"
# Aliases
source "$DOTSHELL/aliases.sh"
# Utils
source "$DOTSHELL/emacs.sh"
source "$DOTSHELL/git.sh"
source "$DOTSHELL/tmux.sh"
# Development
source "$DOTSHELL/nodejs.sh"
source "$DOTSHELL/python.sh"
source "$DOTSHELL/ruby.sh"
source "$DOTSHELL/golang.sh"
source "$DOTSHELL/sbcl.sh"
source "$DOTSHELL/amdsdk.sh"
# Applications
source "$DOTSHELL/rtorrent.sh"
source "$DOTSHELL/cgminer.sh"
# Services
source "$DOTSHELL/services.sh"
# Shell related
source "$DOTSHELL/z.sh"
# Environment Setup
source "$DOTSHELL/env.sh"