gitignore .direnv

This commit is contained in:
willifan 2025-01-14 17:22:06 +01:00
parent aae66c3b70
commit 3017d91b97
5 changed files with 3 additions and 2042 deletions

View file

@ -1,19 +0,0 @@
#!/usr/bin/env bash
set -e
if [[ ! -d "/home/willifan/Desktop/desktop-utils" ]]; then
echo "Cannot find source directory; Did you move it?"
echo "(Looking for "/home/willifan/Desktop/desktop-utils")"
echo 'Cannot force reload with this script - use "direnv reload" manually and then try again'
exit 1
fi
# rebuild the cache forcefully
_nix_direnv_force_reload=1 direnv exec "/home/willifan/Desktop/desktop-utils" true
# Update the mtime for .envrc.
# This will cause direnv to reload again - but without re-building.
touch "/home/willifan/Desktop/desktop-utils/.envrc"
# Also update the timestamp of whatever profile_rc we have.
# This makes sure that we know we are up to date.
touch -r "/home/willifan/Desktop/desktop-utils/.envrc" "/home/willifan/Desktop/desktop-utils/.direnv"/*.rc

View file

@ -1 +0,0 @@
/nix/store/pqsj954jryyfldxmv0fgag0ahmyrklbq-nix-shell-env

File diff suppressed because it is too large Load diff

3
.gitignore vendored
View file

@ -1,5 +1,6 @@
/result /result
.vscode/ /.vscode
/.direnv
# Added by cargo # Added by cargo

View file

@ -72,7 +72,7 @@ fn main() -> Result<(), Box<dyn Error>> {
"--arg", "--arg",
"height=30", "height=30",
"--config", "--config",
CONFIG_DIR, //TODO make this path implicit CONFIG_DIR,
]) ])
.spawn() .spawn()
.expect("failed to execute process"); .expect("failed to execute process");