dotfiles/zsh/zshrc

34 lines
1.3 KiB
Bash
Raw Normal View History

2024-06-24 17:24:25 -04:00
export PATH=$HOME/.config/bin/$(cat /etc/hostname):$HOME/.config/bin:$HOME/.local/bin:$HOME/.local/share/texlive/2024/bin/x86_64-linux:$HOME/.local/share/cargo/bin:/home/emh/.local/share/solana/install/active_release/bin:$HOME/.local/share/npm/bin:$PATH
export MANPATH=$MANPATH:$HOME/.local/share/texlive/2024/texmf-dist/doc/man
export INFOPATH=$INFOPATH:$HOME/.local/share/texlive/2024/texmf-dist/doc/info
2022-01-18 01:25:46 -05:00
2022-02-15 08:07:48 -05:00
. "$HOME"/.cache/theme/colors.sh
. "$HOME"/.cache/theme/variables.sh
2022-05-11 21:47:34 -04:00
setopt vi
2022-01-18 01:25:46 -05:00
alias gef='gdb --eval-command="source /usr/share/gef/gef.py"'
2023-12-20 20:29:27 -05:00
alias pwndbg='gdb --eval-command="source $XDG_DATA_HOME/pwndbg/pwndbg/gdbinit.py"'
2022-05-13 18:15:19 -04:00
alias wget='wget --hsts-file="$XDG_DATA_HOME/wget-hsts"'
2022-01-18 01:25:46 -05:00
alias neofetch='neofetch --kitty $XDG_CONFIG_HOME/neofetch/$(hostname).png --size 400px'
alias la='exa -lah --icons'
alias ll='exa -lah --icons'
2023-12-20 20:29:27 -05:00
alias cat='bat -p --pager=never'
2022-05-21 23:13:38 -04:00
alias tcat="/usr/bin/cat"
2022-01-18 01:25:46 -05:00
2022-02-15 08:07:48 -05:00
alias xsecurelock='XSECURELOCK_NO_COMPOSITE=1 XSECURELOCK_AUTH_BACKGROUND_COLOR=$color00 XSECURELOCK_AUTH_FOREGROUND_COLOR=$color07 xsecurelock'
2022-01-18 01:25:46 -05:00
2022-08-17 16:31:08 -04:00
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
2022-02-15 08:07:48 -05:00
source ~/.zshenv