gitignore .direnv
This commit is contained in:
parent
aae66c3b70
commit
3017d91b97
5 changed files with 3 additions and 2042 deletions
|
@ -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
|
|
|
@ -1 +0,0 @@
|
||||||
/nix/store/pqsj954jryyfldxmv0fgag0ahmyrklbq-nix-shell-env
|
|
File diff suppressed because it is too large
Load diff
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
||||||
/result
|
/result
|
||||||
.vscode/
|
/.vscode
|
||||||
|
/.direnv
|
||||||
|
|
||||||
# Added by cargo
|
# Added by cargo
|
||||||
|
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Add table
Reference in a new issue