diff --git a/zsh/zshrc b/zsh/zshrc index f249f39..1e38f59 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -3,7 +3,7 @@ HISTFILE=~/.histfile HISTSIZE=10000 SAVEHIST=10000 -setopt extendedglob nomatch notify histignorespace histignorealldups histnofunctions histnostore histverify incappendhistory +setopt extendedglob nomatch notify histignorespace histignorealldups histnofunctions histnostore histverify incappendhistory autopushd pushdignoredups unsetopt autocd beep bindkey -v export RPROMPT=' ' # Fixes a side-effect of the vi-mode oh-my-zsh plugin @@ -13,7 +13,7 @@ export KEYTIMEOUT=1 fpath=(~/bin ~/.zshcompletions $fpath) zstyle :compinstall filename '/home/anthonys/.zshrc' -zstyle ":completion:*" complete _complete _ignored _approximate +zstyle ":completion:*" complete _complete _ignored _approximate _expand zstyle ":completion:*" glob 1 zstyle ":completion:*" insert-unambiguous true zstyle ':completion:*' menu select @@ -36,6 +36,8 @@ export COMPLETION_WAITING_DOTS="true" export VISUAL='nvim' export EDITOR='nvim' export PATH=$HOME/bin:$PATH +export MAGIC_ENTER_OTHER_COMMAND='exa -l --git' + source <(antibody init) @@ -61,7 +63,7 @@ function dt() { } function send-to-pane() { - tmux pipe-pane -I -t $1 "$2" + tmux pipe-pane -I -t $1 "$2 | head -n 1" } function _send_to_pane {