aliases added: .., ... and ssh-no-byobu

This commit is contained in:
Lockszmith 2022-10-10 18:29:42 -04:00
parent 906f8cfd1c
commit 8a9738ded4
1 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,6 @@
# some more ls aliases # some more ls aliases
alias ..='cd .. '
alias ...='cd ... '
alias ll='ls -alF' alias ll='ls -alF'
alias la='ls -A' alias la='ls -A'
alias l='ls -CF' alias l='ls -CF'
@ -7,6 +9,10 @@ alias lessr="less --raw-control-chars "
alias edshrc="ed ~/${SFP}.shrc.d && exec $SHELL" 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 " [[ -z "$(env inkscape 2> /dev/null)" && -n "$(flatpak info org.inkscape.Inkscape 2> /dev/null)" ]] && alias inkscape="flatpak run org.inkscape.Inkscape "
function clip() { function clip() {