« get me outta code hell

quick 2023 update - dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/.zshrc
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-05-13 17:35:09 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-05-13 17:40:51 -0300
commit54452a6c069a412bcd3bf3a64a51d24ea04ffd6f (patch)
tree5ce51bd50ae3e15c2844b73bb0838868a101d434 /.zshrc
parent824d694990ea36fdf40275a49b4441123e425609 (diff)
quick 2023 update
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc35
1 files changed, 35 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
new file mode 100644
index 0000000..fb965f5
--- /dev/null
+++ b/.zshrc
@@ -0,0 +1,35 @@
+# ~nebula/.zshrc, 2023 edition
+
+
+# //// zsh configuration //////////////////////////////////////////////////// #
+
+if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
+  autoload -U colors && colors
+  PS1=$'\e[0;32;1m%n\e[0;32m@\e[32;1m%m \e[34m%1~ \e[0m%# '
+  PROMPT="%F{green}%B%n%b@%B%m %F{blue}%1~%b%f %# "
+else
+  PS1=$'%n@%m %1~ %# '
+fi
+
+
+# //// third party configuration //////////////////////////////////////////// #
+
+# -- GPG --
+
+export GPG_TTY=$(tty)
+
+# -- Homebrew --
+
+eval "$(/opt/homebrew/bin/brew shellenv)"
+
+# -- Node Version Manager --
+
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
+
+# -- Python --
+
+path+=("$HOME/Library/Python/3.9/bin")
+path+=("/Applications/Sublime Text.app/Contents/SharedSupport/bin")
+export PATH