changed some stuff around
This commit is contained in:
commit
46ed54e925
6 changed files with 504 additions and 4 deletions
57
zsh/zshrc
Normal file
57
zsh/zshrc
Normal file
|
@ -0,0 +1,57 @@
|
|||
# Oh My ZSH Path
|
||||
export ZSH=~/.dotfiles/lib/ohmyzsh
|
||||
|
||||
# Oh My ZSH Theme
|
||||
ZSH_THEME="pygmalion"
|
||||
|
||||
# Path
|
||||
export PATH="$HOME/.gem/ruby/2.2.0/bin:$HOME/utils:$HOME/bin:$PATH"
|
||||
|
||||
# Plugins
|
||||
plugins=(gem bundler composer git pip vagrant docker python extract)
|
||||
plugins+=(npm systemd systemadmin frontend-search web-search gitignore)
|
||||
plugins+=(command-not-found colored-man fabric tmux taskwarrior)
|
||||
|
||||
if [ $(uname -n) = "megumi" -o $(uname -n) = "kimari" -o $(uname -n) = "sayaka" ]; then
|
||||
plugins+=(archlinux)
|
||||
fi
|
||||
if [ $(uname -n) = "mail" ]; then
|
||||
plugins+=(debian)
|
||||
fi
|
||||
# Color TERM
|
||||
export TERM=xterm-256color
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
export EDITOR='nano'
|
||||
|
||||
# Load Oh My ZSH
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# Source k.sh
|
||||
source ~/.dotfiles/lib/k/k.sh
|
||||
|
||||
# Shell Syntax Highlighter
|
||||
source ~/.dotfiles/lib/highlighting/zsh-syntax-highlighting.zsh
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
|
||||
|
||||
# CD without typing cd
|
||||
setopt autocd
|
||||
|
||||
# History
|
||||
setopt histsavenodups
|
||||
setopt histverify
|
||||
setopt histignorealldups
|
||||
setopt extendedhistory
|
||||
setopt histreduceblanks
|
||||
export HISTSIZE=1000000 SAVEHIST=1000000 HISTFILE=~/.zhistory
|
||||
|
||||
# Dircolors
|
||||
eval `dircolors ~/.dircolors`
|
||||
|
||||
# Source Aliases
|
||||
source ~/.zsh/alias.zsh
|
||||
|
||||
# Completions Path
|
||||
fpath=(~/.dotfiles/lib/completions/src $fpath)
|
||||
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
Loading…
Add table
Add a link
Reference in a new issue