From 99ec6d1790c4ddf0572bd57ee01f3555a7cab029 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Mon, 20 Jun 2022 15:57:56 +0200 Subject: [PATCH] ZSH: direnv, more aliases --- .zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.zshrc b/.zshrc index 77eb290..fb861c6 100644 --- a/.zshrc +++ b/.zshrc @@ -146,6 +146,8 @@ export EDITOR=vim export PATH="$HOME/.jenv/bin:$PATH" eval "$(jenv init -)" +eval "$(direnv hook zsh)" + export PATH="$PATH:$HOME/.local/bin" export TERM=xterm-256color alias light="mqtt pub -t cmnd/Workbench/POWER -m " @@ -165,5 +167,9 @@ export KUBECONFIG="$HOME/.kube/config" alias gl="git lg" alias gs="git status" alias gd="git diff" +alias gds="git diff --staged" alias gc="git commit" +alias gcf="git commit --fixup=@" +alias ga="git add" alias gp="git push" +