diff options
author | Josh <eeei3.joshua0307lol@gmail.com> | 2024-12-18 21:15:51 -0500 |
---|---|---|
committer | Josh <eeei3.joshua0307lol@gmail.com> | 2024-12-18 21:15:51 -0500 |
commit | 2c1f6b9dffafecbda32b136d06abf65558f07700 (patch) | |
tree | fc88590f762fca1564cdfb7bb8c7d412575564f1 /system/zsh |
initial commit, I think I got everything
Diffstat (limited to 'system/zsh')
-rw-r--r-- | system/zsh/zshrc | 31 |
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 |