summaryrefslogtreecommitdiff
path: root/omz/custom/func.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'omz/custom/func.zsh')
-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
}