This commit is contained in:
Jaroslaw Konik 2024-05-29 18:17:22 +02:00
parent 2f9e15b016
commit 43046edb90

2
.zshrc
View file

@ -22,7 +22,7 @@ compinit
# #
nvr_git () { nvr_git () {
local repo_path=$(git rev-parse --show-toplevel 2>/dev/null) local repo_path=$(git rev-parse --show-superproject-working-tree 2>/dev/null)
if [ -n "$repo_path" ]; then if [ -n "$repo_path" ]; then
local servername=/tmp/nvr$(echo $repo_path | tr "/" "_") local servername=/tmp/nvr$(echo $repo_path | tr "/" "_")
nvr -s --servername $servername "$@" nvr -s --servername $servername "$@"