1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-23 20:52:28 +00:00
dotfiles/zshrc

58 lines
1.7 KiB
Bash
Raw Normal View History

2012-12-02 00:56:57 +00:00
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
2012-12-01 04:11:06 +00:00
2012-12-02 00:56:57 +00:00
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="balkian"
2012-12-01 04:11:06 +00:00
2012-12-02 00:56:57 +00:00
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
2012-12-01 04:11:06 +00:00
2012-12-02 00:56:57 +00:00
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
2012-12-01 04:11:06 +00:00
2012-12-02 00:56:57 +00:00
# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
2012-12-01 04:11:06 +00:00
2012-12-02 00:56:57 +00:00
# Change this value to set how frequently ZSH updates¬
export UPDATE_ZSH_DAYS=13
2012-12-01 04:11:06 +00:00
2012-12-02 00:56:57 +00:00
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
2012-12-01 04:11:06 +00:00
2012-12-02 00:56:57 +00:00
# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git)
2012-12-01 04:11:06 +00:00
2012-12-02 00:56:57 +00:00
source $ZSH/oh-my-zsh.sh
#bindkey "^R" history-incremental-search-backward
2012-12-02 00:56:57 +00:00
# Customize to your needs...
export PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/balkian/code/personal-scripts/
2012-12-01 04:11:06 +00:00
PYTHONSTARTUP=~/.pythonrc.py
export PYTHONSTARTUP
2012-12-01 04:11:06 +00:00
# TMUX
# if [[ -z "$KONSOLE_DBUS_SERVICE" & `which tmux` ]]; then
2012-12-02 00:56:57 +00:00
# if no session is started, start a new session
if [[ -z "$KONSOLE_DBUS_SERVICE" && -n $(which tmux) ]]; then
stty -ixon
test -z ${TMUX} && tmux attach
# when quitting tmux, try to attach
if [[ -z ${TMUX} ]]; then
exit;
fi
fi