summaryrefslogtreecommitdiff
path: root/system/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'system/zsh/zshrc')
-rw-r--r--system/zsh/zshrc31
1 files changed, 31 insertions, 0 deletions
diff --git a/system/zsh/zshrc b/system/zsh/zshrc
new file mode 100644
index 0000000..697168a
--- /dev/null
+++ b/system/zsh/zshrc
@@ -0,0 +1,31 @@
+# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
+# Initialization code that may require console input (password prompts, [y/n]
+# confirmations, etc.) must go above this block; everything else may go below.
+if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
+ source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
+fi
+export GDK_SCALE=1.5
+export QT_QPA_PLATFORMTHEME=qt6ct
+export PATH=/home/josh/idea-IC-242.21829.142/bin:$PATH
+export PATH=/home/josh/eclipse/java-2024-09/eclipse:$PATH
+source ~/powerlevel10k/powerlevel10k.zsh-theme
+autoload -U colors && colors
+ if [ -x /usr/bin/dircolors ]; then
+ test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
+ alias ls='ls --color=auto'
+ alias dir='dir --color=auto'
+ alias vdir='vdir --color=auto'
+ alias grep='grep --color=auto'
+ alias fgrep='fgrep --color=auto'
+ alias egrep='egrep --color=auto'
+ fi
+alias weather='ansiweather -l toronto'
+# some more ls aliases
+ alias ll='ls -alF'
+ alias la='ls -A'
+ alias l='ls -CF'
+bindkey "^[[H" beginning-of-line
+bindkey "^[[F" end-of-line
+bindkey "^[[3~" delete-char
+# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
+[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh