From 7ab77bbf19e3b28ed0f92e1a421c330c7c00b782 Mon Sep 17 00:00:00 2001 From: steveokard Date: Thu, 27 May 2021 16:50:00 -0400 Subject: [PATCH] additional tweaks --- zsh/.zshrc | 16 +++++++++++++--- zsh/aliases.zsh | 3 +++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index d3c5b23..abd7fe4 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,4 +1,6 @@ #Original Concept located from https://github.com/crivotz/dot_files/blob/master/linux/zplugin/zshrc +# Skip the not really helping Ubuntu global compinit +skip_global_compinit=1 ##################### # FIRST PROMPT LINE # ##################### @@ -110,8 +112,8 @@ zinit load 'wfxr/forgit' zinit ice lucid wait"0" as"program" from"gh-r" mv"lazygit* -> lazygit" atload"alias lg='lazygit'" zinit light 'jesseduffield/lazygit' # RANGER -zinit ice depth'1' as"program" pick"ranger.py" -zinit light ranger/ranger +# zinit ice depth'1' as"program" pick"ranger.py" +# zinit light ranger/ranger # FD zinit ice as"command" from"gh-r" mv"fd* -> fd" pick"fd/fd" zinit light sharkdp/fd @@ -180,8 +182,12 @@ setopt listpacked setopt automenu unsetopt BEEP setopt vi +# From Prezto/Environment +unsetopt BG_NICE # Don't run all background jobs at a lower priority. +unsetopt HUP # Don't kill jobs on shell exit. +unsetopt CHECK_JOBS # Don't report on jobs when shell exit. -#chpwd() exa --git --icons --classify --group-directories-first --time-style=long-iso --group --color-scale +# chpwd() exa --git --icons --classify --group-directories-first --time-style=long-iso --group --color-scale ##################### # ENV VARIABLE # ##################### @@ -203,6 +209,10 @@ autoload colors && colors # ALIASES # ##################### source $HOME/.zsh_aliases +zinit wait lucid for \ + OMZ::plugins/common-aliases \ + if"[[ $+commands[systemd] ]]" OMZ::plugins/systemd + PZT::modules/directory/init.zsh ##################### # FANCY-CTRL-Z # diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 55f6747..e38abcf 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -35,3 +35,6 @@ alias sagent="eval `ssh-agent`" #Command Replacement aliases alias less='less -imJMW' +##History Aliases +alias h='history' +alias hs='history | grep -i'