diff --git a/dotfiles/zshrc.d/crouton.zsh b/dotfiles/zshrc.d/crouton.zsh new file mode 100644 index 0000000..ff38ce4 --- /dev/null +++ b/dotfiles/zshrc.d/crouton.zsh @@ -0,0 +1,7 @@ +if command -v xiwi >/dev/null 2>&1; then + function xiwibg { + local tmpf=$(mktemp) + echo Logging to ${tmpf} + nohup xiwi "$@" >${tmpf} 2>&1 & + } +fi