Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
190 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
# | ||
# Sets Prezto options. | ||
# | ||
# Authors: | ||
# Sorin Ionescu <sorin.ionescu@gmail.com> | ||
# | ||
|
||
# | ||
# General | ||
# | ||
|
||
# Set case-sensitivity for completion, history lookup, etc. | ||
zstyle ":prezto:*:*" case-sensitive "no" | ||
|
||
# Color output (auto set to "no" on dumb terminals). | ||
zstyle ":prezto:*:*" color "yes" | ||
|
||
# Set the Zsh modules to load (man zshmodules). | ||
# zstyle ":prezto:load" zmodule "attr" "stat" | ||
|
||
# Set the Zsh functions to load (man zshcontrib). | ||
# zstyle ":prezto:load" zfunction "zargs" "zmv" | ||
|
||
# Set the Prezto modules to load (browse modules). | ||
# The order matters. | ||
zstyle ":prezto:load" pmodule \ | ||
"environment" \ | ||
"terminal" \ | ||
"archive" \ | ||
"editor" \ | ||
"history" \ | ||
"git" \ | ||
"osx" \ | ||
"ruby" \ | ||
"node" \ | ||
"python" \ | ||
"directory" \ | ||
"spectrum" \ | ||
"utility" \ | ||
"completion" \ | ||
"syntax-highlighting" \ | ||
"history-substring-search" \ | ||
"prompt" | ||
|
||
# | ||
# Editor | ||
# | ||
|
||
# Set the key mapping style to "emacs" or "vi". | ||
zstyle ":prezto:module:editor" key-bindings "vi" | ||
|
||
# Auto convert .... to ../.. | ||
# zstyle ":prezto:module:editor" dot-expansion "yes" | ||
|
||
# | ||
# Git | ||
# | ||
|
||
# Ignore submodules when they are "dirty", "untracked", "all", or "none". | ||
# zstyle ":prezto:module:git:status:ignore" submodules "all" | ||
|
||
# | ||
# GNU Utility | ||
# | ||
|
||
# Set the command prefix on non-GNU systems. | ||
# zstyle ":prezto:module:gnu-utility" prefix "g" | ||
|
||
# | ||
# History Substring Search | ||
# | ||
|
||
# Set the query found color. | ||
# zstyle ":prezto:module:history-substring-search:color" found "" | ||
|
||
# Set the query not found color. | ||
# zstyle ":prezto:module:history-substring-search:color" not-found "" | ||
|
||
# Set the search globbing flags. | ||
# zstyle ":prezto:module:history-substring-search" globbing-flags "" | ||
|
||
# | ||
# Pacman | ||
# | ||
|
||
# Set the Pacman frontend. | ||
# zstyle ":prezto:module:pacman" frontend "yaourt" | ||
|
||
# | ||
# Prompt | ||
# | ||
|
||
# Set the prompt theme to load. | ||
# Setting it to "random" loads a random theme. | ||
# Auto set to "off" on dumb terminals. | ||
zstyle ":prezto:module:prompt" theme "pure" | ||
|
||
# | ||
# Ruby | ||
# | ||
|
||
# Auto switch the Ruby version on directory change. | ||
# zstyle ":prezto:module:ruby:chruby" auto-switch "yes" | ||
|
||
# | ||
# Screen | ||
# | ||
|
||
# Auto start a session when Zsh is launched in a local terminal. | ||
# zstyle ":prezto:module:screen:auto-start" local "yes" | ||
|
||
# Auto start a session when Zsh is launched in a SSH connection. | ||
# zstyle ":prezto:module:screen:auto-start" remote "yes" | ||
|
||
# | ||
# SSH | ||
# | ||
|
||
# Set the SSH identities to load into the agent. | ||
zstyle ":prezto:module:ssh:load" identities "id_rsa" | ||
|
||
# | ||
# Syntax Highlighting | ||
# | ||
|
||
# Set syntax highlighters. | ||
# By default, only the main highlighter is enabled. | ||
zstyle ":prezto:module:syntax-highlighting" highlighters \ | ||
"main" \ | ||
"brackets" \ | ||
"pattern" \ | ||
"cursor" \ | ||
"root" | ||
|
||
# Set syntax highlighting styles. | ||
# zstyle ":prezto:module:syntax-highlighting" styles \ | ||
# "builtin" "bg=blue" \ | ||
# "command" "bg=blue" \ | ||
# "function" "bg=blue" | ||
|
||
# | ||
# Terminal | ||
# | ||
|
||
# Auto set the tab and window titles. | ||
# zstyle ":prezto:module:terminal" auto-title "yes" | ||
|
||
# Set the window title format. | ||
# zstyle ":prezto:module:terminal:window-title" format "%n@%m: %s" | ||
|
||
# Set the tab title format. | ||
# zstyle ":prezto:module:terminal:tab-title" format "%m: %s" | ||
|
||
# | ||
# Tmux | ||
# | ||
|
||
# Auto start a session when Zsh is launched in a local terminal. | ||
# zstyle ":prezto:module:tmux:auto-start" local "yes" | ||
|
||
# Auto start a session when Zsh is launched in a SSH connection. | ||
# zstyle ":prezto:module:tmux:auto-start" remote "yes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# Executes commands at the start of an interactive session. | ||
# | ||
# Authors: | ||
# Sorin Ionescu <sorin.ionescu@gmail.com> | ||
# | ||
|
||
# Source Prezto. | ||
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | ||
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" | ||
fi | ||
|
||
# Source base16 256 colourspace script. | ||
if [[ -s "$HOME/.config/base16-shell/scripts/base16-material.sh" ]]; then | ||
source "$HOME/.config/base16-shell/scripts/base16-material.sh" | ||
fi | ||
|
||
# Aliases | ||
alias g="git" | ||
alias gclean="git branch --merged | egrep -v '(^\*|master|dev)' | xargs git branch -d" | ||
alias m="tmuxinator" | ||
alias t="tmux" | ||
alias a="tmux attach -t" | ||
|
||
. $HOME/.asdf/asdf.sh | ||
. $HOME/.asdf/completions/asdf.bash | ||
|
||
eval "$(direnv hook zsh)" |