Bash : Add nix comma wrapper.
This commit is contained in:
parent
765ddf2edf
commit
e4070818aa
|
@ -74,6 +74,12 @@
|
||||||
nix-on-droid switch --flake "''${_nix_system_config}" ''${@}
|
nix-on-droid switch --flake "''${_nix_system_config}" ''${@}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Nix auto-run wrapper.
|
||||||
|
# Usage: , <COMMAND>
|
||||||
|
function ,() {
|
||||||
|
NIX_AUTO_RUN=1 ''${@}
|
||||||
|
}
|
||||||
|
|
||||||
# Autocomplete with available hosts.
|
# Autocomplete with available hosts.
|
||||||
function _comp_hosts() {
|
function _comp_hosts() {
|
||||||
local IFS=$'\n'
|
local IFS=$'\n'
|
||||||
|
|
Loading…
Reference in a new issue