diff options
author | xyz <gky44px1999@gmail.com> | 2021-09-23 21:14:16 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-09-23 21:14:16 -0700 |
commit | fdcce350a48bc6de17ad2d4a68b361019aaa4a09 (patch) | |
tree | a712967637e147b05c6701545752244ee59aaed0 | |
parent | 33891b84d7760349b8ecf0a77ded20c2f304df38 (diff) |
o, xdg-open wrapper
-rw-r--r-- | .bashrc | 1 | ||||
-rwxr-xr-x | .local/bin/o | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -36,7 +36,6 @@ alias sdcv='sdcv --color' alias ap='sudo ampy -p /dev/ttyACM0' alias g=git alias ll='ls -lAh --color=auto --group-directories-first' -alias o=xdg-open alias tp='sudo tio /dev/ttyACM0' alias v='$EDITOR' alias vc='$EDITOR "$XDG_DOCUMENTS_DIR/notes/computer/command-line_notes.md"' diff --git a/.local/bin/o b/.local/bin/o new file mode 100755 index 00000000..6bf467a9 --- /dev/null +++ b/.local/bin/o @@ -0,0 +1,6 @@ +#!/bin/sh + +# I don't care about errors, I don't want to handle errors, just shut up please. +# I don't understand nohup, may be useful in the future +# https://wiki.archlinux.org/title/default_applications +xdg-open "$@" 0<&- >&- 2>&1 & |