about summary refs log tree commit diff stats
path: root/.envrc
blob: afe06c2a9ed2f92d9fc3f04b0c7f85a4872eceae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# This file is part of Quotify - A simple CLI utility to shell quote the text
# inputted into it.
#
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/agpl.txt>.

use flake || use nix
watch_file flake.nix

PATH_add ./target/debug
PATH_add ./target/release
PATH_add ./scripts

if on_git_branch; then
  echo && git status --short --branch &&
  echo && git fetch --verbose
fi