added ssh-ident, and setting to symlink as ssh, for git, rsync, etc.

see: https://github.com/ccontavalli/ssh-ident
This commit is contained in:
2023-09-13 09:47:13 -04:00
parent eebc94cccc
commit 2021e1f247
3 changed files with 17 additions and 0 deletions
+1
View File
@@ -3,3 +3,4 @@
/crons/*.status
/distinct/*.msg
/git-prompt.sh
/ssh
+15
View File
@@ -85,6 +85,21 @@ esac
# ----------------------------------------------------------
echo "----- Add symlink for ssh-ident as ssh --------------"
read -p 'Add "ssh alias for ssh-ident"? [y/N]: ' add_ident
case $add_ident in
[Yy]* )
echo 'Creating ssh symlink to ssh-ident'
LOCATION=`dirname "$0"`
(cd "${LOCATION}/.." && ln -s "ccontavalli-ssh-ident/ssh-ident" "ssh")
;;
* )
echo 'Skipping'
;;
esac
# ----------------------------------------------------------
echo "----- Setup robust bash history? in ~/.bashrc -------"
read -p 'split bash history by tty in realtime? [y/N]: ' add_history
case $add_history in
Symlink
+1
View File
@@ -0,0 +1 @@
ccontavalli-ssh-ident/ssh-ident