summaryrefslogtreecommitdiff
path: root/old/old-zshrc/zshrc
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-12-29 16:28:53 -0500
committerKjetil Orbekk <kj@orbekk.com>2023-12-29 16:28:59 -0500
commitd2cd07b11f74f412c0b8666e7d88b591a36afeb5 (patch)
treed5c974d0d059ecd5a8dbdde2797d468c73f4ba9d /old/old-zshrc/zshrc
parent75124e467b683c9a2c24f19931685e985db52f64 (diff)
Delete old dotfiles
Diffstat (limited to 'old/old-zshrc/zshrc')
-rwxr-xr-xold/old-zshrc/zshrc85
1 files changed, 0 insertions, 85 deletions
diff --git a/old/old-zshrc/zshrc b/old/old-zshrc/zshrc
deleted file mode 100755
index 6eef91c..0000000
--- a/old/old-zshrc/zshrc
+++ /dev/null
@@ -1,85 +0,0 @@
-# :)
-# ulimit -v 4194304 # 4G
-# ulimit -u 1024
-
-if [[ -f $HOME/.zshrc.local ]]; then
- source $HOME/.zshrc.local
-fi
-
-# Don't upgrade oh-my-zsh automatically.
-DISABLE_AUTO_UPDATE="true"
-
-source $HOME/dotfiles/zgen/zgen.zsh
-# check if there's no init script
-if ! zgen saved; then
- echo "Creating a zgen save"
- zgen oh-my-zsh
- # plugins
- # zgen oh-my-zsh plugins/git
- zgen oh-my-zsh plugins/ssh-agent
- zgen oh-my-zsh plugins/gpg-agent
- zgen oh-my-zsh plugins/colored-man-pages
- zgen oh-my-zsh plugins/sudo
- zgen oh-my-zsh plugins/history
- zgen oh-my-zsh plugins/jump
- zgen oh-my-zsh plugins/command-not-found
- zgen oh-my-zsh plugins/taskwarrior
- zgen load zsh-users/zsh-syntax-highlighting
- # completions
- zgen load zsh-users/zsh-completions src
- # theme
- # zgen oh-my-zsh themes/frisk
- zgen load ehamberg/pure
- # save all to init script
- zgen save
-fi
-
-setopt extendedglob
-LANG=en_US.UTF-8
-HISTSIZE=1000000
-SAVEHIST=1000000
-
-if (( $+commands[ack-grep] )) ; then
- alias ack=ack-grep
-fi
-
-# Emacs-like editor
-bindkey -e
-export WORDCHARS=''
-
-# Dvorak
-setopt DVORAK
-
-alias e="emacsclient -n"
-alias vi=/usr/games/sl
-
-alias ff="fileutil --gfs_user=gfp-reporting"
-alias diff=colordiff
-alias j=jump
-
-export EDITOR=vim
-export PAGER=less
-export TZ='America/New_York'
-export PATH=$HOME/bin:$PATH
-
-# allow editing of command line
-autoload -U edit-command-line
-zle -N edit-command-line
-bindkey "^V" edit-command-line
-
-function get-parent-dir() {
- words=(${(z)LBUFFER})
- if [[ "${words[${#words}]}" = /* ]]; then
- # There is already a path thing here.
- words[${#words}]="${words[${#words}]:h}/" # Parent directory.
- else
- words=($words $PWD)
- fi
- LBUFFER="${words[@]}"
-}
-zle -N get-parent-dir
-bindkey "^[u" get-parent-dir
-
-fpath=($HOME/.zsh-functions $fpath)
-autoload -Uz compinit
-compinit