aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-06-15 02:34:16 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-06-15 02:34:16 +0300
commitb77b339d21b102adc350b3437036cddbc642062d (patch)
treed2ce2afcd680780fcad99624ef60c22a3aaf7714
parentos.sh: support Arch Linux ARM (diff)
downloadlinux-home-b77b339d21b102adc350b3437036cddbc642062d.tar.gz
linux-home-b77b339d21b102adc350b3437036cddbc642062d.zip
.bashrc: re-introduce the ssh-copy-id alias
Now I can remember what it was for.
-rw-r--r--%HOME%/.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index 86adec2..530d3d8 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -54,6 +54,9 @@ alias cls='echo -en "\ec"'
alias copy='xclip -sel clip'
+# Make sure ssh-copy-id copies public keys along with their comments.
+alias ssh-copy-id='ssh-copy-id -i'
+
[ -r "$HOME/.bash_utils/file.sh" ] && source "$HOME/.bash_utils/file.sh"
[ -r "$HOME/.bash_utils/text.sh" ] && source "$HOME/.bash_utils/text.sh"