update
This commit is contained in:
parent
7bdccfa0f0
commit
68834e7ea3
@ -27,9 +27,10 @@
|
|||||||
export PS1="[\t \[\e[32m\]\u\[\e[m\]\[\e[32m\]@\[\e[m\]\[\e[32m\]\h\[\e[m\]]"'$SHELL_PREFIX'" \[\e[36m\]"'$TRIMMED_PWD'"\[\e[m\] \$ "
|
export PS1="[\t \[\e[32m\]\u\[\e[m\]\[\e[32m\]@\[\e[m\]\[\e[32m\]\h\[\e[m\]]"'$SHELL_PREFIX'" \[\e[36m\]"'$TRIMMED_PWD'"\[\e[m\] \$ "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
run() {
|
run() {
|
||||||
set -- "$${@/#/nixpkgs\#}"
|
cmd="nix run";
|
||||||
nix run "$${@/%/y}"
|
for arg in "$@"; do cmd="$cmd nixpkgs#$arg"; done;
|
||||||
|
eval $cmd;
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user