sjdhjkdsahjk
This commit is contained in:
parent
71998f2bcb
commit
d32672f299
3 changed files with 1659 additions and 5 deletions
1641
dotfiles/.p10k.zsh
Executable file
1641
dotfiles/.p10k.zsh
Executable file
File diff suppressed because it is too large
Load diff
|
@ -5,3 +5,8 @@ export MOZ_USE_XINPUT2=1 # Use pixel-by-pixel touchpad scrolling in Firefox
|
||||||
export MOZ_ENABLE_WAYLAND=1 # Use experimental native Wayland support for Firefox and Thunderbird
|
export MOZ_ENABLE_WAYLAND=1 # Use experimental native Wayland support for Firefox and Thunderbird
|
||||||
# export GTK_USE_PORTAL=1 # Try to use native file pickers in GTK programs
|
# export GTK_USE_PORTAL=1 # Try to use native file pickers in GTK programs
|
||||||
#---------------------------------------------------------------------------------#
|
#---------------------------------------------------------------------------------#
|
||||||
|
### Load pyenv
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init --path)"
|
||||||
|
#---------------------------------------------------------------------------------#
|
||||||
|
|
|
@ -11,6 +11,7 @@ fi
|
||||||
path+=("$HOME/.pyenv/bin")
|
path+=("$HOME/.pyenv/bin")
|
||||||
path+=("$HOME/.local/bin")
|
path+=("$HOME/.local/bin")
|
||||||
path+=("$HOME/Android/Sdk/platform-tools")
|
path+=("$HOME/Android/Sdk/platform-tools")
|
||||||
|
path+=("$HOME/.cargo/bin")
|
||||||
export PATH
|
export PATH
|
||||||
#--------------------------------------------------------------------------------#
|
#--------------------------------------------------------------------------------#
|
||||||
### Zsh config
|
### Zsh config
|
||||||
|
@ -30,13 +31,13 @@ fi
|
||||||
#---------------------------------------------------------------------------------#
|
#---------------------------------------------------------------------------------#
|
||||||
### Load pyenv
|
### Load pyenv
|
||||||
if ls "$HOME/.pyenv" &> /dev/null; then
|
if ls "$HOME/.pyenv" &> /dev/null; then
|
||||||
eval "$(pyenv init --path)"
|
eval "$(pyenv init -)"
|
||||||
eval "$(pyenv virtualenv-init -)"
|
|
||||||
fi
|
fi
|
||||||
#---------------------------------------------------------------------------------#
|
#---------------------------------------------------------------------------------#
|
||||||
### Aliases
|
### Aliases
|
||||||
alias ls="ls --color" # `ls` colors
|
alias ls="ls --color" # `ls` colors
|
||||||
alias sudo="doas" # doas instead of sudo
|
alias sudo="doas" # doas instead of sudo
|
||||||
|
eval $(thefuck --alias) # `fuck` alias
|
||||||
#---------------------------------------------------------------------------------#
|
#---------------------------------------------------------------------------------#
|
||||||
### Setup zinit
|
### Setup zinit
|
||||||
# Added by Zinit's installer
|
# Added by Zinit's installer
|
||||||
|
@ -72,7 +73,14 @@ zinit light zdharma-continuum/fast-syntax-highlighting # Syntax highlighting
|
||||||
#---------------------------------------------------------------------------------#
|
#---------------------------------------------------------------------------------#
|
||||||
### Fixes
|
### Fixes
|
||||||
export GPG_TTY=$(tty) # Fix gpg signing
|
export GPG_TTY=$(tty) # Fix gpg signing
|
||||||
bindkey '^H' backward-kill-word # Fix ctrl+backspace
|
## A giant handful of key fixes
|
||||||
bindkey "^[[1;5C" forward-word # Fix ctrl+→
|
bindkey "^[[3~" delete-char
|
||||||
bindkey "^[[1;5D" backward-word # Fix ctrl+←
|
bindkey "^[[3;2~" delete-char
|
||||||
|
bindkey "^[[H" beginning-of-line
|
||||||
|
bindkey "^[[F" end-of-line
|
||||||
|
bindkey "^Z" undo
|
||||||
|
bindkey "^[[3;5~" kill-word
|
||||||
|
bindkey "^H" backward-kill-word
|
||||||
|
bindkey "^[[1;5D" backward-word
|
||||||
|
bindkey "^[[1;5C" forward-word
|
||||||
#---------------------------------------------------------------------------------#
|
#---------------------------------------------------------------------------------#
|
||||||
|
|
Reference in a new issue