From a80d384ae82efd22262b3f9412eef112170de09a Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Tue, 22 Mar 2022 08:10:44 +0100 Subject: [PATCH] Update gitconfig and zshrc --- gitconfig | 1 + zshrc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gitconfig b/gitconfig index 07edb89..f6c0b5e 100644 --- a/gitconfig +++ b/gitconfig @@ -33,6 +33,7 @@ drb = !git diff $(git rb) ds = diff --staged f = fetch + fc = commit --allow-empty -m 'Initial commit' fixom = !sh -c 'git fetch && git rebase -i --autosquash origin/master' fixup = rebase -i --autosquash l = log diff --git a/zshrc b/zshrc index b348ad6..a581b8a 100644 --- a/zshrc +++ b/zshrc @@ -55,8 +55,7 @@ alias be="bundle exec" alias berc="bundle exec rails console" alias bers="bundle exec rails server" alias berspec="bundle exec rspec --format=progress --no-profile" -alias c-="cd -" -alias c.="cd .." +alias c="clear" alias cdg=cdgit alias cdgit='cd $(git rev-parse --show-toplevel)' alias clp="tmux kill-pane" @@ -78,6 +77,7 @@ alias gst="git status" alias gt="go test" alias gta="go test ./..." alias ji="jira -b" +alias k="kubectl" alias k9="kill -9" alias ll="exa -l --group-directories-first --git" alias ls="exa --color=auto"