summaryrefslogtreecommitdiff
path: root/.zprofile
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2021-04-18 15:05:33 +0200
committerMehdi Sadeghi <mehdi@mehdix.org>2021-04-18 15:14:01 +0200
commita0d93ac5d9a6e0e9687f50b54e5f8b34b8f38f25 (patch)
tree6f5414c93f8a13baee2001507600f43d7a37642b /.zprofile
parent534744db72b63e9ab6a9ab3f35a6aa59d45d3b5b (diff)
Add zshenv and zprofile.
Diffstat (limited to '.zprofile')
-rw-r--r--.zprofile8
1 files changed, 8 insertions, 0 deletions
diff --git a/.zprofile b/.zprofile
new file mode 100644
index 0000000..8b2ae28
--- /dev/null
+++ b/.zprofile
@@ -0,0 +1,8 @@
+# .zprofile is loaded on login shells, e.g. when doing ssh.
+# or running with --shell flag.
+
+## Read bash profile if present.
+# emulate sh -c '. ~/.profile'
+
+# Clone oh-my-zsh of not present.
+[[ ! -e .oh-my-zsh ]] && git clone https://github.com/ohmyzsh/ohmyzsh .oh-my-zsh