summaryrefslogtreecommitdiff
path: root/.local/bin/o
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-10-17 15:39:52 -0700
committerxyz <gky44px1999@gmail.com>2021-10-17 15:39:52 -0700
commitbb83945623fa6cef6c195c98a7776f45974c006c (patch)
tree69ee346d3f9c7fda5bcbd17ac755625929e733af /.local/bin/o
parent965e09f7e577dfde49bd23efc5ee7449e58a674a (diff)
move work-tree to /, delete mods files, addd cfgL
Diffstat (limited to '.local/bin/o')
-rwxr-xr-x.local/bin/o15
1 files changed, 0 insertions, 15 deletions
diff --git a/.local/bin/o b/.local/bin/o
deleted file mode 100755
index 21464974..00000000
--- a/.local/bin/o
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-# useful links
-# https://stackoverflow.com/questions/3430330/best-way-to-make-a-shell-script-daemon
-# https://serverfault.com/questions/117152/do-background-processes-get-a-sighup-when-logging-off
-# https://wiki.archlinux.org/title/default_applications
-
-# I don't care about errors, I don't want to handle errors, just shut up please.
-# nohup seems not necessary if don't care about daemon SIGHUP requirement
-
-if [ $# -eq 1 ] && [ -e "$1" ] && ! [ -x "$1" ]; then
- nohup xdg-open "$1" 0<&- >&- 2>&- &
-else
- nohup "$@" 0<&- >&- 2>&- &
-fi