diff options
Diffstat (limited to 'home/profiles/messaging')
-rw-r--r-- | home/profiles/messaging/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/profiles/messaging/default.nix b/home/profiles/messaging/default.nix index eb45cc9..9c829e0 100644 --- a/home/profiles/messaging/default.nix +++ b/home/profiles/messaging/default.nix @@ -280,7 +280,7 @@ in # Helps open a file with xdg-open from mutt in a external program without weird side effects. tempdir="''${TMPDIR:-$(mktemp -d)}" file="$tempdir/$(basename "$1")" - [ "$(uname)" = "Darwin" ] && opener="open" || opener="${setsid} -f ${pkgs.xdg_utils}/bin/xdg-open" + [ "$(uname)" = "Darwin" ] && opener="open" || opener="${setsid} -f ${pkgs.xdg-utils}/bin/xdg-open" mkdir -p "$tempdir" cp -f "$1" "$file" $opener "$file" >/dev/null 2>&1 |