setxkbmap -option caps:escape ################################################################ ## ZSH CONFIGURATIONS HISTFILE=~/.zshhist # Save history file HISTSIZE=2048 # Save history zsh max lines SAVEHIST=4096 # Save history file max lines setopt autocd # Automatically change directory if only a path was provided unsetopt beep notify # No bells! bindkey -v # Use VI Keybindings PROMPT="%F{green}%n@%m%f %~ $ " # The prompt ################################################################ ## EXPORTS export PATH="${PATH}:/home/light/.local/bin:/home/light/scripts/:/opt/cuda/bin:/home/light/dev/meshoptimizer" export LC_ALL="C" export CC="/usr/bin/clang" export CXX="/usr/bin/clang++" export CPM_SOURCE_CACHE="${HOME}/.cache/CPM" export GTEST_COLOR="yes" export GPG_TTY=$(tty) ################################################################ ## ALIASES alias v='nvim' alias wifi='sudo wpa_supplicant -B -i wlp0s20f3 -c /home/light/.config/wpa_configs/home_wifi' alias icat='kitty +kitten icat' alias cat='bat' alias zsrc='source ~/.zshrc' alias clip="xclip -selection c" alias val='valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=valgrind-out.txt' alias q='exit' alias pirate='aria2c --seed-time=0 --split=8' alias ryali='ssh root@5.75.207.117' alias l='\eza --icons --sort type -TL1' alias la='\eza --icons --sort type -T1' # all alias ~="c ~" alias ..='c ../' alias ...='c ../../' alias ....='c ../../../' alias .....='c ../../../../' alias ......='c ../../../../../' alias gs='cgs' c () { cd ${1:-.} ; clear ; l } ca () { cd ${1:-.} ; clear ; la } cn () { cd ${1:-.} ; clear ; neofetch } cgs() { cd ${1:-.} ; clear ; git status } picomadd() { sed -i '/# OPACITY_RULE/i ,"100:name *= '\'$1\''"' ~/.config/picom/picom.conf }