dotfiles.2022/_home/dot_sz.shrc.d/21_aliases

21 lines
510 B
Plaintext

# some more ls aliases
alias ..='cd .. '
alias ...='cd ... '
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias lessr="less --raw-control-chars "
alias edshrc="ed ~/${SFP}.shrc.d && exec $SHELL"
function ssh-no-byobu() {
ssh "${1}" -p "${2:-22}" -t -- _byobu_sourced=1 "${3:-bash}" "${@:4}"
}
[[ -z "$(env inkscape 2> /dev/null)" && -n "$(flatpak info org.inkscape.Inkscape 2> /dev/null)" ]] && alias inkscape="flatpak run org.inkscape.Inkscape "
function clip() {
xclip -i -sel clipboard
}