]> apps.delaporte.us Git - dotfiles.git/commitdiff
Updates for files folder
authorEdward Delaporte <delaport@illinois.edu>
Thu, 22 Dec 2022 15:00:00 +0000 (09:00 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Thu, 22 Dec 2022 15:00:00 +0000 (09:00 -0600)
setup_cli_basics.sh

index 10bb145b7e46dd1b1a9f5570dcae93c5e5fcfdcc..949417b0930ccd7ff72e483b36033a8b1a4f028e 100755 (executable)
@@ -5,15 +5,12 @@ fi
 
 if [ ! -f ~/.screenrc ]; then
        echo "************** Setup Screen"
-       ln -s ~/dotfiles/screenrc ~/.screenrc
-fi
-
-if [ ! -f ~/.vimrc ]; then
-       echo "************** Link Vimrc"
-       ln -s ~/dotfiles/vimrc ~/.vimrc
+       ln -s ~/dotfiles/files/screenrc ~/.screenrc
 fi
 
 if [ -f ~/.vimrc ]; then
+       echo "************** Link Vimrc"
+       ln -s ~/dotfiles/files/vimrc ~/.vimrc
        echo "************** Configure Git to use Vim"
        git config --global core.editor /usr/bin/vim
 fi
@@ -24,9 +21,9 @@ if [ -f ~/.gitconfig ]; then
        git config --global user.name "Edward Delaporte"
 fi
 
-if [ ! -f ~/.ssh/id_rsa ]; then
+if [ ! -f ~/.ssh/id_ed25519 ]; then
        echo "************** Generate an SSH key"
-       ssh-keygen
+       ssh-keygen -t ed25519
 
        echo "************** Reminder to setup GitHub key"
        cat GitHubKey.md