From 8a9738ded424512a76253ba09f7bc3cd90fa8cbc Mon Sep 17 00:00:00 2001 From: Lockszmith Date: Mon, 10 Oct 2022 18:29:42 -0400 Subject: [PATCH] aliases added: .., ... and ssh-no-byobu --- _home/dot_sz.shrc.d/21_aliases | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_home/dot_sz.shrc.d/21_aliases b/_home/dot_sz.shrc.d/21_aliases index 9579c86..f99b6b6 100644 --- a/_home/dot_sz.shrc.d/21_aliases +++ b/_home/dot_sz.shrc.d/21_aliases @@ -1,4 +1,6 @@ # some more ls aliases +alias ..='cd .. ' +alias ...='cd ... ' alias ll='ls -alF' alias la='ls -A' alias l='ls -CF' @@ -7,6 +9,10 @@ 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() {