From b9f4f6be1688ecf13a2112b669f64ab77f09e363 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Mon, 4 Sep 2023 17:57:18 +0300 Subject: [PATCH] Add 'dnl' alias --- .zshrc | 2 ++ README.md | 1 + install.sh | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index d4db3fc..fa25d53 100644 --- a/.zshrc +++ b/.zshrc @@ -52,6 +52,7 @@ export PATH=$HOME/.bin:/usr/local/bin:$PATH alias tx="tmux attach 2>/dev/null || tmux new -n HOME" alias sshk="ssh $SSH_QUIET_OPTS" alias scpk="scp $SSH_QUIET_OPTS" +alias dnl="curl -ZOL --max-redirs 3 --parallel-max 5 --styled-output" alias c="clear" alias g="grep --color=auto" alias e="$EDITOR" @@ -383,6 +384,7 @@ function ssh_multi() { fi tmux new-window -n "SSH ($#)" "ssh $SSH_QUIET_OPTS $1 ; sleep 5" + rename_pane "$1" shift 1 diff --git a/README.md b/README.md index c0017fd..2477f61 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ bash <(curl -fsSL https://andy.one/dotfiles/install.sh) | `sshk …` | `ssh` command without checking and saving host key | | `ssht …` | `sshk` to many hosts at once (_requires TMUX session_) | | `scpk …` | `scp` command without checking and saving host key | +| `dnl …` | Download one or more files using `curl` | | `e` | Editor (_nano_) shortcut | | `g …` | `grep` shortcut | | `d …` | Docker shortcut | diff --git a/install.sh b/install.sh index 88fd4e2..18018ab 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ set -e ################################################################################ -VERSION="2.3.4" +VERSION="2.3.5" ################################################################################