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

#-*- 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
# 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
# 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