summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 288da88..74ea9dd 100644
--- a/.zshrc
+++ b/.zshrc
@@ -47,6 +47,10 @@ cdf() {
cd "$(find ~ -type d &>/dev/null | fzf)"
}
+open() {
+ setsid xdg-open $@
+}
+
set_prompt() {
# red color if current user is root, otherwise - green
[ "$USER" = "root" ] && UCOLOR="%B%F{red}" || UCOLOR="%B%F{green}"