clean up zsh

This commit is contained in:
Felix Van der Jeugt 2017-02-09 10:37:31 +01:00
parent b48ff8fd7b
commit f00f90b815
No known key found for this signature in database
GPG Key ID: 58B209295023754D

43
zshrc
View File

@ -1,19 +1,18 @@
# vim: foldmethod=marker
# Lines configured by zsh-newuser-install # Lines configured by zsh-newuser-install {{{
HISTFILE=~/.local/share/zsh/histfile HISTFILE=~/.cache/zhistfile
HISTSIZE=1000 HISTSIZE=1000
SAVEHIST=1000 SAVEHIST=1000
setopt appendhistory bindkey -e
unsetopt beep # }}}
bindkey -v #
# End of lines configured by zsh-newuser-install # The following lines were added by compinstall {{{
zstyle ':completion:*' completer _complete _ignored
# The following lines were added by compinstall
zstyle :compinstall filename '/home/noctua/.zshrc' zstyle :compinstall filename '/home/noctua/.zshrc'
autoload -Uz compinit autoload -Uz compinit
compinit compinit
# End of lines added by compinstall # }}}
# Get ourselves a nice prompt. # Get ourselves a nice prompt.
git_status() { git_status() {
@ -49,7 +48,8 @@ alias nano="nvim"
alias agent='eval "$(ssh-agent)" && ssh-add' alias agent='eval "$(ssh-agent)" && ssh-add'
# Cloning my terminal # Cloning my terminal
alias copy='urxvtc' alias terminal='st'
alias copy='terminal'
# FZF # FZF
function go() { function go() {
@ -57,24 +57,3 @@ function go() {
[ -n "$dir" ] && cd "$dir" || false [ -n "$dir" ] && cd "$dir" || false
} }
# Base16 Shell
BASE16_SHELL="$HOME/.config/base16-shell/base16-greenscreen.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-3024.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-solarized.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-shapeshifter.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-railscasts.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-monokai.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-marrakesh.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-harmonic16.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-default.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-colors.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-chalk.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-atelierseaside.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-atelierlakeside.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-atelierforest.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-atelierdune.dark.sh"
BASE16_SHELL="$HOME/.config/base16-shell/base16-brewer.dark.sh"
# Also modify: https://github.com/chriskempson/base16-xresources
[[ -s $BASE16_SHELL ]] && source $BASE16_SHELL