2022-09-18 14:36:46 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-04-07 19:41:00 -05:00
|
|
|
set -o vi
|
|
|
|
shopt -s histappend
|
|
|
|
shopt -s cmdhist
|
|
|
|
HISTSIZE=1000000
|
|
|
|
HISTFILESIZE=1000000
|
|
|
|
HISTCONTROL=ignoreboth
|
|
|
|
HISTIGNORE='ls:history'
|
|
|
|
HISTTIMEFORMAT='%F %T '
|
|
|
|
|
|
|
|
|
2022-07-04 07:53:35 -05:00
|
|
|
eval "$(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)"
|
2022-04-07 19:41:00 -05:00
|
|
|
|
2022-09-18 14:36:46 -05:00
|
|
|
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)
|
2022-04-07 19:41:00 -05:00
|
|
|
|
2022-09-18 14:36:46 -05:00
|
|
|
export TERM_ITALICS LD_LIBRARY_PATH PATH EDITOR PAGER MANPAGER DOTNET_ROOT ANDROID_EMULATOR_USE_SYSTEM_LIBS GPG_TTY
|
2022-04-07 19:41:00 -05:00
|
|
|
|
|
|
|
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'
|
2023-03-21 12:23:27 -05:00
|
|
|
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")'
|
2022-04-07 19:41:00 -05:00
|
|
|
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"
|
2022-06-05 06:33:03 -05:00
|
|
|
alias connected="ss -O4Hpr -tun state connected"
|
2022-04-07 19:41:00 -05:00
|
|
|
|
|
|
|
test -e ~/.bash_aliases && source ~/.bash_aliases
|