Changing behavior
This commit is contained in:
parent
ff0b16c78a
commit
b3810ec697
3 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
sudo echo
|
sudo echo
|
||||||
|
|
||||||
# Rebuild, pipe into output monitor to build a live dependency graph
|
# Rebuild, pipe into output monitor to build a live dependency graph
|
||||||
sudo $(sysbin nixos-rebuild) "$@" |& nom
|
sudo unbuffer sysbin nixos-rebuild "$@" |& nom
|
||||||
|
|
||||||
# Print diff
|
# Print diff
|
||||||
ls -v1 /nix/var/nix/profiles | tail -n 2 | awk '{print "/nix/var/nix/profiles/" $0}' - | xargs nvd diff
|
ls -v1 /nix/var/nix/profiles | tail -n 2 | awk '{print "/nix/var/nix/profiles/" $0}' - | xargs nvd diff
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@
|
||||||
# Passes a userdata var, which will eventually be passed to pinentry-wrapper, and open
|
# Passes a userdata var, which will eventually be passed to pinentry-wrapper, and open
|
||||||
# pinentry-rofi to enter the decryption password
|
# pinentry-rofi to enter the decryption password
|
||||||
|
|
||||||
PINENTRY_USER_DATA=rofi $(sysbin rofi-pass)
|
PINENTRY_USER_DATA=rofi sysbin rofi-pass
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ for dir in "${path_dirs[@]}"; do
|
||||||
|
|
||||||
potential_path="$dir/$1"
|
potential_path="$dir/$1"
|
||||||
if [ -x "$potential_path" ]; then
|
if [ -x "$potential_path" ]; then
|
||||||
echo "$potential_path"
|
"$dir/$@"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue