From f3eaf1ad333c3acedc1c5bc1110c7e0028f42604 Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Mon, 25 Sep 2017 14:58:55 -0400 Subject: [PATCH] seems I have not actually been committing the zshrc file --- zsh/zshrc | 149 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 94 insertions(+), 55 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index f31930d..9d5a9db 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,63 +1,102 @@ -# Lines configured by zsh-newuser-install -HISTFILE=~/.histfile -HISTSIZE=1000 -SAVEHIST=1000 -bindkey -e -# End of lines configured by zsh-newuser-install -# The following lines were added by compinstall +# Path to your oh-my-zsh installation. +export ZSH=/home/kellya/.oh-my-zsh -zstyle ':completion:*' completer _expand _complete _ignored -zstyle ':completion:*' list-colors '' -zstyle ':completion:*' menu select=3 -zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s -zstyle :compinstall filename '/home/kellya/.zshrc' +# Set name of the theme to load. +# Look in ~/.oh-my-zsh/themes/ +# Optionally, if you set this to "random", it'll load a random theme each +# time that oh-my-zsh is loaded. +ZSH_THEME="agnoster" -autoload -Uz compinit -compinit -# End of lines added by compinstall -# create a zkbd compatible hash; -# to add other keys to this hash, see: man 5 terminfo -typeset -A key +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" -key[Home]=${terminfo[khome]} +# Uncomment the following line to disable bi-weekly auto-update checks. +# DISABLE_AUTO_UPDATE="true" -key[End]=${terminfo[kend]} -key[Insert]=${terminfo[kich1]} -key[Delete]=${terminfo[kdch1]} -key[Up]=${terminfo[kcuu1]} -key[Down]=${terminfo[kcud1]} -key[Left]=${terminfo[kcub1]} -key[Right]=${terminfo[kcuf1]} -key[PageUp]=${terminfo[kpp]} -key[PageDown]=${terminfo[knp]} +# Uncomment the following line to change how often to auto-update (in days). +# export UPDATE_ZSH_DAYS=13 -# setup key accordingly -[[ -n "${key[Home]}" ]] && bindkey "${key[Home]}" beginning-of-line -[[ -n "${key[End]}" ]] && bindkey "${key[End]}" end-of-line -[[ -n "${key[Insert]}" ]] && bindkey "${key[Insert]}" overwrite-mode -[[ -n "${key[Delete]}" ]] && bindkey "${key[Delete]}" delete-char -[[ -n "${key[Up]}" ]] && bindkey "${key[Up]}" up-line-or-history -[[ -n "${key[Down]}" ]] && bindkey "${key[Down]}" down-line-or-history -[[ -n "${key[Left]}" ]] && bindkey "${key[Left]}" backward-char -[[ -n "${key[Right]}" ]] && bindkey "${key[Right]}" forward-char -[[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" beginning-of-buffer-or-history -[[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" end-of-buffer-or-history +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" -# Finally, make sure the terminal is in application mode, when zle is -# active. Only then are the values from $terminfo valid. -if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then - function zle-line-init () { - printf '%s' "${terminfo[smkx]}" - } - function zle-line-finish () { - printf '%s' "${terminfo[rmkx]}" - } - zle -N zle-line-init - zle -N zle-line-finish -fi -# Messing with the prompt -autoload -U promptinit -promptinit -# Set the RPS1 to git status using the awesome zsh-git-prompt +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +# ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) +# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +# plugins=(git) +plugins=(sudo taskwarrior common-aliases git-flow keybase geeknote vi-mode battery) + +# User configuration + +export PATH="/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/kellya/bin:/home/kellya/incoming/git-annex.linux:/home/kellya/bin/keybase/bin" +# export MANPATH="/usr/local/man:$MANPATH" + + +DISABLE_AUTO_UPDATE='true' +source $ZSH/oh-my-zsh.sh + +export EDITOR='vim' +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='mvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# ssh +# export SSH_KEY_PATH="~/.ssh/dsa_id" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" +# source ~/dotfiles/zsh/zsh-git-prompt/zshrc.sh RPS1='$(git_super_status)' + +source ~/.autoenv/activate.sh +unsetopt histverify +alias in='task add +in' +alias rtask="task rc:/home/kellya/.taskrc_tinslin" +export LPASS_AGENT_TIMEOUT=0 +export PATH="/usr/local/heroku/bin:$PATH" +#eval "$(ntfy shell-integration)" +source /usr/share/gems/gems/tmuxinator-0.6.11/completion/tmuxinator.zsh + +rand () { + cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w ${1:-32} | head -n 1 + } +alias dum='du -sh *|egrep ".*\.?[0-9]M"' +alias keploy='echo -e "\e[101;97mKeploy was removed, its functionality is already built in ssh-copy-id, just use that\e[49m"; ssh-copy-id'