diff options
Diffstat (limited to 'zsh')
-rwxr-xr-x | zsh/.zshrc | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc new file mode 100755 index 0000000..8d90e58 --- /dev/null +++ b/zsh/.zshrc @@ -0,0 +1,43 @@ +#!/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 + +export CMAKE_GENERATOR=Ninja +export CMAKE_EXPORT_COMPILE_COMMANDS=ON + +alias pkgdiff="pkgdiff-mg" +alias grpe="grep" +alias gti="git" +alias mkdir="mkdir -p" +alias sl="ls" +[[ $(command -v fdfind) ]] && alias fd=fdfind +[[ $(command -v nvim) ]] && alias vi=nvim + +bindkey "^[[1~" beginning-of-line +bindkey "^[[4~" end-of-line |