zsh: add some more aliases

This commit is contained in:
ewin 2025-03-28 07:49:05 -04:00
parent 1f4fec71be
commit af2c65a03f
Signed by: erin
SSH key fingerprint: SHA256:swjoHhREbZPbWe+gyJNi24d4NAxJSyUIm3fpZj4z3wc

View file

@ -14,12 +14,16 @@ if [ -x /usr/bin/dircolors ]; then
fi
# Functional aliases
alias ..='cd ..'
alias ll='ls -laFh'
alias la='ls -aFh'
alias l='ls -CFh'
alias bell='tput bel'
alias beep='bell'
alias clip='xclip -selection clipboard'
alias copy='clip'
function mkcd { mkdir -p $1 && cd $1 }
function mkcode { mkcd $1 && code $1 }
# Alias `code` to `code -r` if we're in the integrated terminal
if [ "$TERM_PROGRAM" = "vscode" ]; then