From 17951e8c06f638543a19cbcaf95623ca211d6514 Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 6 Feb 2024 18:47:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20zsh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/zshrc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 014412f..1b93945 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -6,7 +6,7 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] fi # Exports -export PATH=$HOME/.bin:/usr/local/bin:$HOME/go/bin:$PATH +export PATH=$HOME/.local/bin:/usr/local/bin:$HOME/go/bin:$PATH export EDITOR="nvim" source ~/.config/zsh/antigen.zsh @@ -19,12 +19,17 @@ antigen bundle zsh-users/zsh-completions antigen apply # Aliases -[[ ! -f `which exa` ]] || alias ls="exa" -alias ll="ls -la" +alias ls="ls -F" +alias l="ls" +alias ll="ls -AFhl" alias cp="cp -i" # Confirm before overwriting something -alias df='df -h' # Human-readable sizes -alias free='free -m' # Show sizes in MB alias gitu='git add . && git commit && git push' +alias k='kubectl' + +[[ ! -f `which exa` ]] || alias ls="exa" && alias ll="exa -l" + +# Functions +function tk() { mkdir -p $1; cd $1; } ## Options section setopt correct # Auto correct mistakes