From cab3bcbba276951601d3cd43660da180490735c6 Mon Sep 17 00:00:00 2001 From: Damien Milon <37899667+dmilon@users.noreply.github.com> Date: Fri, 18 Jun 2021 08:28:05 +0200 Subject: [PATCH] remove unused files and ssh-add for macos --- README.md | 2 +- aliases | 2 +- install.sh | 4 +++- tm_properties | 3 --- vimrc | 9 --------- 5 files changed, 5 insertions(+), 15 deletions(-) delete mode 100644 tm_properties delete mode 100644 vimrc diff --git a/README.md b/README.md index 37f2ba87d0..feaa48d1bf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -This repository is used by [Le Wagon](https://www.lewagon.com) Web Development course students. +This repository is used by [Le Wagon Web Development course](https://www.lewagon.com/web-development-course/full-time) students. ## Toolset diff --git a/aliases b/aliases index 9c96c035ec..275ac0447d 100644 --- a/aliases +++ b/aliases @@ -5,5 +5,5 @@ alias speedtest="curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/m # Quickly serve the current directory as HTTP alias serve='ruby -run -e httpd . -p 8000' # Or python -m SimpleHTTPServer :) -# NOTE: On Q2 2021, Le Wagon decided to change the Web Dev curriculum default text editor +# NOTE: On Q3 2021, Le Wagon decided to change the Web Dev curriculum default text editor alias stt="echo 'Launching VS Code instead of Sublime Text... (cf ~/.aliases)' && code ." diff --git a/install.sh b/install.sh index a114ce45c3..fc1d4b7731 100755 --- a/install.sh +++ b/install.sh @@ -49,10 +49,12 @@ fi backup "$CODE_PATH/settings.json" ln -sf $PWD/settings.json $CODE_PATH/settings.json -# Symlink SSH config file to the present `config` file for macOS +# Symlink SSH config file to the present `config` file for macOS and add SSH +# passphrase to the keychain if [[ `uname` =~ "darwin" ]]; then backup ~/.ssh/config ln -sf $PWD/config ~/.ssh/config + ssh-add -K ~/.ssh/id_25519 fi # Refresh the current terminal with the newly installed configuration diff --git a/tm_properties b/tm_properties deleted file mode 100644 index 68323da9b0..0000000000 --- a/tm_properties +++ /dev/null @@ -1,3 +0,0 @@ -tabSize = 2 -softTabs = true -softWrap = false \ No newline at end of file diff --git a/vimrc b/vimrc deleted file mode 100644 index c03f416982..0000000000 --- a/vimrc +++ /dev/null @@ -1,9 +0,0 @@ -syntax on -set backspace=indent,eol,start -set tabstop=2 shiftwidth=2 expandtab -if has("multi_byte") - set encoding=utf-8 - setglobal fileencoding=utf-8 -else - echoerr "Sorry, this version of (g)vim was not compiled with +multi_byte" -endif