From fedc8567a227982835a217f74e964ef1ae9eddf3 Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 10 Feb 2023 19:04:47 +0200 Subject: [PATCH] zsh: some tweaks --- .gitignore | 1 + cli/.config/zsh/functions.zsh | 2 +- cli/.zshrc | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d0ace42..8e65571 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +cli/.config/zsh/env.zsh cli/.config/zsh/local.zsh cli/.config/fish/fish_variables cli/.config/nvim/plugin/packer_compiled.lua diff --git a/cli/.config/zsh/functions.zsh b/cli/.config/zsh/functions.zsh index c16f627..a58a50e 100644 --- a/cli/.config/zsh/functions.zsh +++ b/cli/.config/zsh/functions.zsh @@ -60,7 +60,7 @@ gss() { command git status -sbu $@ } gsw() { command git switch $@ } gup() { command git pull $@ } gwta() { command git worktree add $@ } -gwtp() { command git worktree prune $@ } +gwtp() { command git worktree prune -v } groot() { cd $(command git rev-parse --show-toplevel) || return 0 } gdiff() { command git diff --color $@; } greset() { diff --git a/cli/.zshrc b/cli/.zshrc index f116dc9..9a0d40d 100644 --- a/cli/.zshrc +++ b/cli/.zshrc @@ -3,6 +3,7 @@ confdir=$HOME/.config/zsh conflist=( + env.zsh settings.zsh powerline.zsh functions.zsh