#!/usr/bin/env bash set -o vi shopt -s histappend shopt -s cmdhist HISTSIZE=1000000 HISTFILESIZE=1000000 HISTCONTROL=ignoreboth HISTIGNORE='ls:history' HISTTIMEFORMAT='%F %T ' eval "$(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)" LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/.local/lib" PATH="$HOME/.local/bin:$PATH:$HOME/skynet/bin:$HOME/node/node_modules/.bin:$HOME/go/bin:$HOME/.dotnet:$HOME/.dotnet/tools:$HOME/.cargo/bin:$HOME/.luarocks/bin" TERM_ITALICS=true EDITOR=vim PAGER=bat MANPAGER=batman DOTNET_ROOT=~/.dotnet ANDROID_EMULATOR_USE_SYSTEM_LIBS=1 GPG_TTY=$(tty) export TERM_ITALICS LD_LIBRARY_PATH PATH EDITOR PAGER MANPAGER DOTNET_ROOT ANDROID_EMULATOR_USE_SYSTEM_LIBS GPG_TTY alias ls='exa --icons' alias cat='bat' alias cd..='cd ..' alias j='goto' alias jqize="jq -R -r '. as \$line | try fromjson catch \$line'" alias jcurl="curl -H 'Content-Type: application/json' -H 'Accept: application/json'" alias gitlog='git log --oneline --graph' alias watchsync='watch grep -e Dirty: -e Writeback: /proc/meminfo' alias psgrep='ps -ef | grep -v grep | grep' alias serve='python -m http.server' alias dockerrm='docker stop $(docker ps -aq); docker rm -v $(docker ps -aq); docker volume prune -f --filter all=true; docker rmi $(docker images -q --filter "dangling=true")' alias cls='clear && echo -en "\e[3J"' alias removebom="sed -i \$'1s/^\uFEFF//'" alias duskh="du -hka --max-depth=1 | sort -h" alias 8bitdo="xboxdrv --evdev /dev/btjoy --config ~/.config/xboxdrv/8bitdo.conf" alias ddev="export COMPOSE_FILE=docker-compose.dev.yaml" alias penscreen="xsetwacom set 'Wacom Intuos PT S Pen stylus' MapToOutput HEAD-1; xsetwacom set 'Wacom Intuos PT S Pen eraser' MapToOutput HEAD-1" alias connected="ss -O4Hpr -tun state connected" test -e ~/.bash_aliases && source ~/.bash_aliases