Created
November 22, 2020 12:06
-
-
Save tm9k1/39513430c9c8eb01629109bd890892e6 to your computer and use it in GitHub Desktop.
~/.zshrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
# // // // // H I S T O R Y // // // // # | |
# | |
HISTFILE=~/.zsh_history | |
HISTSIZE=10000 | |
SAVEHIST=10000 | |
setopt appendhistory | |
# | |
# // // // // H I S T O R Y // // // // # | |
# // // // // K E Y B I N D I N G S // // // // # | |
# | |
# Terminal Emulator: konsole | |
# Locale: en_US.UTF-8 | |
# Key bindings (in Profile): Default (XFree 4) | |
## M O V E M E N T ## | |
# | |
bindkey "^[[H" beginning-of-line | |
bindkey "^[[F" end-of-line | |
bindkey "^[[A" up-line | |
bindkey "^[[B" down-line | |
bindkey "^[[C" forward-char | |
bindkey "^[[D" backward-char | |
bindkey "^[[1;5C" forward-word | |
bindkey "^[[1;5D" backward-word | |
#bindkey "" | |
## M O D I F Y I N G T E X T ## | |
# | |
bindkey "^[[3~" delete-char | |
bindkey "^?" backward-delete-char | |
bindkey "^[[3;5~" delete-word | |
bindkey "^H" backward-delete-word | |
bindkey "^[[3;2~" kill-whole-line | |
#bindkey "" | |
## H I S T O R Y ## | |
# | |
bindkey "^[[1;5A" up-history | |
bindkey "^[[1;5B" down-history | |
#bindkey "" | |
# | |
# // // // // K E Y B I N D I N G S // // // // # | |
# // // // // A L I A S // // // // # | |
# | |
alias ls="ls --color=auto" | |
# | |
# // // // // A L I A S // // // // # | |
# // // // // S C R I P T S // // // // # | |
# | |
source /home/taskmaster9k1/.scripts/zsh-autocomplete/zsh-autocomplete.plugin.zsh | |
source /home/taskmaster9k1/.scripts/zsh-autosuggestions/zsh-autosuggestions.zsh | |
source /home/taskmaster9k1/.scripts/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | |
# Load spaceship-prompt | |
# yay -S spaceship-prompt-git | |
# | |
autoload -U promptinit; promptinit | |
prompt spaceship | |
# enable blur for Yakuake | |
# | |
if [[ $(ps --no-header -p $PPID -o comm) =~ '^yakuake|konsole$' ]]; then | |
for wid in $(xdotool search --pid $PPID); do | |
xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $wid; done | |
fi | |
# | |
# // // // // S C R I P T S // // // // # | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment