mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 11:46:40 +00:00
66 lines
1.3 KiB
Bash
Executable File
66 lines
1.3 KiB
Bash
Executable File
#
|
|
# Main Shell Setup
|
|
#
|
|
|
|
# Ensure 256 color support in Linux
|
|
if [[ "$(uname)" == "Linux" ]]; then
|
|
export TERM="xterm-256color"
|
|
fi
|
|
|
|
# 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.zsh"
|
|
fi
|
|
|
|
# Package management
|
|
source "$DOTSHELL/nix.sh"
|
|
|
|
# Aliases
|
|
source "$DOTSHELL/aliases.sh"
|
|
|
|
# OSX specific
|
|
if [[ "$(uname)" == "Darwin" ]]; then
|
|
source "$DOTSHELL/osx.sh"
|
|
fi
|
|
|
|
# Utils
|
|
source "$DOTSHELL/emacs.sh"
|
|
source "$DOTSHELL/git.sh"
|
|
source "$DOTSHELL/tmux.sh"
|
|
source "$DOTSHELL/ctags.sh"
|
|
|
|
# Development
|
|
source "$DOTSHELL/nodejs.sh"
|
|
source "$DOTSHELL/python.sh"
|
|
source "$DOTSHELL/ruby.sh"
|
|
source "$DOTSHELL/rust.sh"
|
|
source "$DOTSHELL/golang.sh"
|
|
source "$DOTSHELL/docker.sh"
|
|
source "$DOTSHELL/google-cloud.sh"
|
|
source "$DOTSHELL/kubernetes.sh"
|
|
source "$DOTSHELL/dokku.sh"
|
|
source "$DOTSHELL/sbcl.sh"
|
|
source "$DOTSHELL/travis-ci.sh"
|
|
source "$DOTSHELL/amdsdk.sh"
|
|
|
|
# Applications
|
|
source "$DOTSHELL/rtorrent.sh"
|
|
source "$DOTSHELL/cgminer.sh"
|
|
|
|
# Services
|
|
source "$DOTSHELL/services.sh"
|
|
|
|
# Environment Setup
|
|
source "$DOTSHELL/env.sh"
|