dotfiles/home/shell_aliases
2024-11-01 14:52:50 -04:00

18 lines
804 B
Plaintext

alias cat='bat'
alias cprm='git remote get-url origin | tr -d "\n" | pbcopy'
alias dcomp="docker compose"
alias docker-compose="docker compose"
alias dots='cd ~/code/tyrel.dev/dotfiles/'
alias fuckingip="curl https://wtfismyip.com/json"
alias g='git'
alias gcd='cd $(git rev-parse --show-toplevel)'
alias gp='git push -u'
alias ls="eza -lhgxUm --git --time-style long-iso --group-directories-first"
alias lzd='lazydocker'
alias tree=tree -I 'node_modules|venv'
alias vim=nvim
alias vimini="vim ~/.config/nvim/init.vim"
alias wx="curl https://wttr.in/Raleigh"
alias tf0="tail -n0 -f"
alias listports=sudo lsof -iTCP -sTCP:LISTEN -n -P | awk 'NR>1 {print $9, $1, $2}' | sed 's/.*://' | while read port process pid; do echo "Port $port: $(ps -p $pid -o command= | sed 's/^-//') (PID: $pid)"; done | sort -n