dotfiles/home/shell_aliases

18 lines
804 B
Plaintext
Raw Normal View History

2024-05-14 21:26:26 +00:00
alias cat='bat'
2024-08-13 13:16:04 +00:00
alias cprm='git remote get-url origin | tr -d "\n" | pbcopy'
alias dcomp="docker compose"
alias docker-compose="docker compose"
2024-08-13 20:18:43 +00:00
alias dots='cd ~/code/tyrel.dev/dotfiles/'
2022-10-05 14:10:20 +00:00
alias fuckingip="curl https://wtfismyip.com/json"
alias g='git'
2024-08-13 13:16:04 +00:00
alias gcd='cd $(git rev-parse --show-toplevel)'
2022-10-05 14:10:20 +00:00
alias gp='git push -u'
2024-08-13 13:16:04 +00:00
alias ls="eza -lhgxUm --git --time-style long-iso --group-directories-first"
2024-08-13 20:41:38 +00:00
alias lzd='lazydocker'
2024-08-13 13:16:04 +00:00
alias tree=tree -I 'node_modules|venv'
2022-10-05 14:10:20 +00:00
alias vim=nvim
2024-08-13 13:16:04 +00:00
alias vimini="vim ~/.config/nvim/init.vim"
alias wx="curl https://wttr.in/Raleigh"
2024-09-30 14:21:25 +00:00
alias tf0="tail -n0 -f"
2024-11-01 18:52:50 +00:00
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