43 lines
992 B
Bash
43 lines
992 B
Bash
#-*- mode: sh; -*-
|
|
# Executes commands at the start of an interactive session.
|
|
# Authors:
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
|
|
source "$HOME/.zprofile"
|
|
|
|
# Source Prezto.
|
|
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
|
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
|
fi
|
|
|
|
# Package Management Aliases
|
|
if [ -f $HOME/.aliases.pkgman ]
|
|
then
|
|
source $HOME/.aliases.pkgman
|
|
fi
|
|
|
|
# Aliases
|
|
if [ -f $HOME/.aliases ]
|
|
then
|
|
source $HOME/.aliases
|
|
fi
|
|
|
|
# Various Options
|
|
unsetopt share_history
|
|
zstyle ':complpetion:*:functions' ignored-patterns '_*'
|
|
|
|
# Keybindings
|
|
bindkey ';5D' backward-word
|
|
bindkey ';5C' forward-word
|
|
|
|
#load fasd if it exists
|
|
hash fasd 2>/dev/null && eval "$(fasd --init auto)"
|
|
|
|
export ARDUINO_DIR="/usr/share/arduino"
|
|
export ARDMK_DIR="$HOME/Programs/Arduino-Makefile"
|
|
export STEAMAPPS="$HOME/.local/share/Steam/steamapps/common"
|
|
export SCHOOL="$HOME/Documents/Google Drive/Dublin2014-2015/"
|
|
export QT_STYLE_OVERRIDE=gtk
|
|
export ALTERNATE_EDITOR=""
|
|
TERMINAL=mate-terminal
|