dotfiles/zsh/zshrc
2022-08-17 16:31:08 -04:00

34 lines
1.2 KiB
Bash

export PATH=$HOME/.config/bin:$PATH:$HOME/.local/bin:$HOME/.local/share/texlive/2022/bin/x86_64-linux:$HOME/.local/share/cargo/bin:/home/emh/.local/share/solana/install/active_release/bin
export MANPATH=$MANPATH:$HOME/.local/share/texlive/2022/texmf-dist/doc/man
export INFOPATH=$INFOPATH:$HOME/.local/share/texlive/2022/texmf-dist/doc/info
. "$HOME"/.cache/theme/colors.sh
. "$HOME"/.cache/theme/variables.sh
setopt vi
alias gef='gdb --eval-command="source /usr/share/gef/gef.py"'
alias pwndbg='gdb --eval-command="source /usr/share/pwndbg/gdbinit.py"'
alias wget='wget --hsts-file="$XDG_DATA_HOME/wget-hsts"'
alias neofetch='neofetch --kitty $XDG_CONFIG_HOME/neofetch/$(hostname).png --size 400px'
alias la='exa -lah --icons'
alias ll='exa -lah --icons'
alias cat='bat -p --paging=never'
alias tcat="/usr/bin/cat"
alias xsecurelock='XSECURELOCK_NO_COMPOSITE=1 XSECURELOCK_AUTH_BACKGROUND_COLOR=$color00 XSECURELOCK_AUTH_FOREGROUND_COLOR=$color07 xsecurelock'
function zle-keymap-select zle-line-init zle-line-finish
{
case $KEYMAP in
vicmd) print -n '\033[1 q';; # block cursor
viins|main) print -n '\033[5 q';; # line cursor
esac
}
zle -N zle-line-init
zle -N zle-line-finish
zle -N zle-keymap-select
source ~/.zshenv