summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--omz/custom/func.zsh10
-rw-r--r--zshrc1
2 files changed, 8 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
}
diff --git a/zshrc b/zshrc
index aff2356..0482b9e 100644
--- a/zshrc
+++ b/zshrc
@@ -109,3 +109,4 @@ gpg-connect-agent "scd serialno" "learn --force" /bye > /dev/null
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
+alias okular="setsid okular"