From e2144238f1c11b0c6f1c3f34cc29cd6a3721c088 Mon Sep 17 00:00:00 2001 From: gliech Date: Mon, 16 Sep 2024 01:26:22 +0200 Subject: [PATCH] feat: open shell function that replicates the macOS tool under linux --- .bashrc.d/open.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .bashrc.d/open.sh diff --git a/.bashrc.d/open.sh b/.bashrc.d/open.sh new file mode 100644 index 0000000..0b939f5 --- /dev/null +++ b/.bashrc.d/open.sh @@ -0,0 +1,6 @@ +if ! command -v open >/dev/null 2>&1 +then + function open { + gio open ${@:-.} + } +fi