summaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-13 03:30:15 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-13 03:30:15 +0300
commit9503b74febd392f43d2d656b9c1706fb055a2046 (patch)
treea15b842b14ee47d0fc317aaf8df4a7fb96a92b3f /zsh/zshrc
parent0ce8b8ece9891db0eac2f1b5daa38322fbf34227 (diff)
Manjaro
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc18
1 files changed, 14 insertions, 4 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 2af94a6..ca404e2 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -1,8 +1,18 @@
-if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
- source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
+# Use powerline
+USE_POWERLINE="true"
+# Has weird character width
+# Example:
+#  is not a diamond
+HAS_WIDECHARS="false"
+# Source manjaro-zsh-configuration
+if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
+ source /usr/share/zsh/manjaro-zsh-config
fi
-source ~/.config/zsh/p10k.zsh
-source ~/.config/zsh/p10k/powerlevel10k.zsh-theme
+# Use manjaro zsh prompt
+if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
+ source /usr/share/zsh/manjaro-zsh-prompt
+fi
+
source ~/.config/zsh/antigen.zsh
antigen bundle zsh-users/zsh-syntax-highlighting