diff --git a/.gitignore b/.gitignore index e181776..91c797a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /crons/*.status /distinct/*.msg /git-prompt.sh +/ssh diff --git a/one-time-stuff/basic-settings.sh b/one-time-stuff/basic-settings.sh index 9b4ca03..73787b2 100755 --- a/one-time-stuff/basic-settings.sh +++ b/one-time-stuff/basic-settings.sh @@ -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 diff --git a/ssh-ident b/ssh-ident new file mode 120000 index 0000000..f133a96 --- /dev/null +++ b/ssh-ident @@ -0,0 +1 @@ +ccontavalli-ssh-ident/ssh-ident \ No newline at end of file