More stuffs
This commit is contained in:
parent
5c8a0c20e4
commit
9fd4e85b63
9 changed files with 499 additions and 44 deletions
48
files/zshrc
Normal file
48
files/zshrc
Normal file
|
@ -0,0 +1,48 @@
|
|||
# ohmyzsh Path
|
||||
export ZSH=$HOME/dotfiles/lib/ohmyzsh
|
||||
|
||||
# ohmyzsh Theme
|
||||
ZSH_THEME="pygmalion"
|
||||
|
||||
# Path
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$PATH"
|
||||
|
||||
# plugins
|
||||
plugins=(gem bundler composer git pip vagrant docker python extract)
|
||||
plugins+=(npm archlinux systemd systemadmin frontend-search gitignore)
|
||||
plugins+=(command-not-found colored-man)
|
||||
|
||||
# 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
|
||||
|
||||
# Shell Syntax Highlighter
|
||||
source ~/dotfiles/lib/highlighting/zsh-syntax-highlighting.zsh
|
||||
source ~/dotfiles/lib/highlighting/main/main-highlighter.zsh
|
||||
source ~/dotfiles/lib/highlighting/brackets/brackets-highlighter.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=$HOME/.zhistory
|
||||
|
||||
# Dircolors
|
||||
eval `dircolors ~/dotfiles/files/dircolors`
|
||||
|
||||
# Source Aliases
|
||||
source ~/dotfiles/zsh/alias.zsh
|
||||
|
||||
# Completions Path
|
||||
fpath=(~/dotfiles/lib/completions/src $fpath)
|
Loading…
Add table
Add a link
Reference in a new issue