1
0
Fork 0

zsh: some tweaks

This commit is contained in:
Von Random 2023-02-10 19:04:47 +02:00
parent 2be9bbfad6
commit fedc8567a2
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
cli/.config/zsh/env.zsh
cli/.config/zsh/local.zsh cli/.config/zsh/local.zsh
cli/.config/fish/fish_variables cli/.config/fish/fish_variables
cli/.config/nvim/plugin/packer_compiled.lua cli/.config/nvim/plugin/packer_compiled.lua

View file

@ -60,7 +60,7 @@ gss() { command git status -sbu $@ }
gsw() { command git switch $@ } gsw() { command git switch $@ }
gup() { command git pull $@ } gup() { command git pull $@ }
gwta() { command git worktree add $@ } 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 } groot() { cd $(command git rev-parse --show-toplevel) || return 0 }
gdiff() { command git diff --color $@; } gdiff() { command git diff --color $@; }
greset() { greset() {

View file

@ -3,6 +3,7 @@
confdir=$HOME/.config/zsh confdir=$HOME/.config/zsh
conflist=( conflist=(
env.zsh
settings.zsh settings.zsh
powerline.zsh powerline.zsh
functions.zsh functions.zsh