diff options
author | Von Random <von@vdrandom.org> | 2023-02-10 19:04:47 +0200 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2023-02-10 19:04:47 +0200 |
commit | fedc8567a227982835a217f74e964ef1ae9eddf3 (patch) | |
tree | 7d7bd64990472ed48ad355b8efdca6f782cd76b5 | |
parent | 2be9bbfad60f1821ee6b85bbdd5acfb5818c6ea9 (diff) |
zsh: some tweaks
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | cli/.config/zsh/functions.zsh | 2 | ||||
-rw-r--r-- | cli/.zshrc | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -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() { @@ -3,6 +3,7 @@ confdir=$HOME/.config/zsh conflist=( + env.zsh settings.zsh powerline.zsh functions.zsh |