summaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2022-05-27 16:28:54 -0500
committerMatt Strapp <matt@mattstrapp.net>2022-05-27 16:28:54 -0500
commit3b6d6777e6a3a8be5ea588f27f07bef94a63bc11 (patch)
tree99ae47bee9480fb31911dd012f8c83eef2c8b6e7 /zsh
parentInitial commit (diff)
downloaddotfiles-3b6d6777e6a3a8be5ea588f27f07bef94a63bc11.tar
dotfiles-3b6d6777e6a3a8be5ea588f27f07bef94a63bc11.tar.gz
dotfiles-3b6d6777e6a3a8be5ea588f27f07bef94a63bc11.tar.bz2
dotfiles-3b6d6777e6a3a8be5ea588f27f07bef94a63bc11.tar.lz
dotfiles-3b6d6777e6a3a8be5ea588f27f07bef94a63bc11.tar.xz
dotfiles-3b6d6777e6a3a8be5ea588f27f07bef94a63bc11.tar.zst
dotfiles-3b6d6777e6a3a8be5ea588f27f07bef94a63bc11.zip
update dotfiles ig
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'zsh')
l---------zsh/.config/zsh/.zprofile1
-rwxr-xr-x[-rw-r--r--]zsh/.config/zsh/.zshopts10
-rw-r--r--zsh/.config/zsh/.zshrc5
3 files changed, 6 insertions, 10 deletions
diff --git a/zsh/.config/zsh/.zprofile b/zsh/.config/zsh/.zprofile
deleted file mode 120000
index 555eb07..0000000
--- a/zsh/.config/zsh/.zprofile
+++ /dev/null
@@ -1 +0,0 @@
-/home/ross/.config/shell/profile \ No newline at end of file
diff --git a/zsh/.config/zsh/.zshopts b/zsh/.config/zsh/.zshopts
index 810e2d1..f9df3e3 100644..100755
--- a/zsh/.config/zsh/.zshopts
+++ b/zsh/.config/zsh/.zshopts
@@ -1,15 +1,15 @@
+#! /usr/bin/env zsh
# History settings
HISTSIZE=50000
SAVEHIST=10000
-HISTFILE=$HOME/.zsh_history
setopt append_history # append the history
setopt inc_append_history # append to history in the current
# session and not just when the session ends
setopt share_history # share history between sessions
-#setopt extended_history # include statistics of when/how long/etc a
+setopt extended_history # include statistics of when/how long/etc a
# command has run
-#setopt hist_ignore_dups # do not store dupes executed after eachother
+setopt hist_ignore_dups # do not store dupes executed after eachother
setopt hist_ignore_all_dups # removes copies of the same line
setopt hist_expire_dups_first # removes copies when the histfile fills up
setopt hist_save_no_dups # don't save dupes from the same session
@@ -20,9 +20,9 @@ setopt hist_reduce_blanks # remove blank lines from the command which
# Disable this on boxes that are affected by bug
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924736
-is-at-least 5.5 && unsetopt hist_reduce_blanks
+# is-at-least 5.5 && unsetopt hist_reduce_blanks
# bugfix is incoming, lets see what it does
-is-at-least 5.7.2 && setopt hist_reduce_blanks
+# is-at-least 5.7.2 && setopt hist_reduce_blanks
setopt hist_ignore_space # lines starting with space don't go into the
# history
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 7bb97bf..f437896 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -28,8 +28,7 @@ HISTFILE=~/.cache/zsh/history
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc"
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc"
-[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/.zshopts" ] && source
-"${XDG_CONFIG_HOME:-$HOME/.config}/zsh/.zshopts"
+[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/.zshopts" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/.zshopts"
@@ -39,10 +38,8 @@ autoload -U compinit
zstyle ':completion:*' menu select
zmodload zsh/complist
compinit
-#compdef cat='bat'
_comp_options+=(globdots) # Include hidden files.
-PROG=tea _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/ross/.config/tea/autocomplete.zsh"
# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh
[[ ! -f ~/.config/zsh/keybindings.zsh ]] || source ~/.config/zsh/keybindings.zsh