summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
blob: 4239018f235aa497e3c0f76cc878600709fcc13d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/zsh

export ZSH="$HOME/.oh-my-zsh"

ZSH_THEME="gentoo"

plugins=(
	autojump
	colored-man-pages
	fzf
	git
	gpg-agent
	mosh
	pass
)

source $ZSH/oh-my-zsh.sh

export FZF_TMUX=1
export FZF_TMUX_OPTS='-p90%,80%'
export EDITOR=nvim
export HISTSIZE=5000
export HISTFILE="$HOME/.history"
export SAVEHIST=$HISTSIZE
setopt hist_ignore_all_dups
setopt hist_ignore_space
setopt share_history

export PATH=:$PATH:~/bin

alias pkgdiff="pkgdiff-mg"
alias grpe="grep"
alias gti="git"
alias mkdir="mkdir -p"
alias sl="ls"

bindkey  "^[[1~"   beginning-of-line
bindkey  "^[[4~"   end-of-line