summaryrefslogtreecommitdiff
path: root/omz
diff options
context:
space:
mode:
authorXian Wang <dev@xianwang.io>2021-02-16 19:23:56 -0800
committerXian Wang <dev@xianwang.io>2021-02-16 19:23:56 -0800
commit4be4debe540bede613f222a8d9dcc8d79b5e180d (patch)
tree2b6f52b6af02a2205cddf98b5ce8576e188822f5 /omz
parent768297bad768b82a1c88a27684ee7ad71dd4f4de (diff)
downloaddotfiles-4be4debe540bede613f222a8d9dcc8d79b5e180d.tar.gz
dotfiles-4be4debe540bede613f222a8d9dcc8d79b5e180d.tar.bz2
dotfiles-4be4debe540bede613f222a8d9dcc8d79b5e180d.zip
stfu and okular detach funcs
Diffstat (limited to 'omz')
-rw-r--r--omz/custom/func.zsh10
1 files changed, 7 insertions, 3 deletions
diff --git a/omz/custom/func.zsh b/omz/custom/func.zsh
index 7735829..1005adc 100644
--- a/omz/custom/func.zsh
+++ b/omz/custom/func.zsh
@@ -1,4 +1,8 @@
-function rh {
- rm ~/.zsh_history
- exec zsh
+rh() {
+ rm ~/.zsh_history
+ exec zsh
+}
+
+bz() {
+ setsid "$@" &> /dev/null < /dev/null
}