This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/runcoms/zshrc

43 lines
1009 B
Bash
Raw Normal View History

2015-04-25 23:00:03 -04:00
#-*- mode: sh; -*-
# Executes commands at the start of an interactive session.
2012-01-31 23:37:51 -05:00
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
2015-04-25 23:00:03 -04:00
source "$HOME/.zprofile"
2012-01-31 23:37:51 -05:00
# Source Prezto.
2012-09-03 16:13:53 -04:00
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
2015-05-02 18:46:45 -04:00
# Command Specific Aliases
for i in $HOME/.aliases/command-specific/*
do
if hash $(basename $i) 2>/dev/null
then
source $i
fi
done
# General Aliases
source $HOME/.aliases/general
2015-04-25 23:00:03 -04:00
# 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