diff --git a/.bash_aliases b/.bash_aliases index f457fd2..a1d0903 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -45,6 +45,14 @@ cdll () { cp -P -- "$1" && ll } +# SSH to machine in debug mode at local.vlw.se +sshl () { + # Set login name from first argument or default to current user + local user="${1:-$(whoami)}" + + ssh -p 2222 "$user"@local.vlw.se +} + # Create standard git WIP commit with timestamps alias gitw="git commit -m \"wip: $(date +%Y-%m-%dT%H:%M:%S%z) ($(date +%s))\"" # Create a git WIP tag with the current timestamp. Prompt user for tag comment.