* init tools tools/ubuntu.sh

* init tools/install.sh and adding ssh to tools/ubuntu.sh

* more in tools/install.sh; .tmux.conf

* ping alias

* tmux customization; tpm auto install; zsh key binding for HOME and END; .gitignore .zwc

* ubuntu.sh: gcc g++ cmake
This commit is contained in:
2022-05-20 17:34:21 +08:00
committed by GitHub
parent 80057e06e9
commit ada575bb9b
6 changed files with 135 additions and 1 deletions

View File

@@ -187,6 +187,7 @@ uninstall_crontab(){
install(){
install_crontab
insert_if_not_exist "${HOME}/.zshrc" "source ${dotfile_home_path}/.zshrc2"
insert_if_not_exist "${HOME}/.tmux.conf" "source-file ${dotfile_home_path}/.tmux.conf2"
create_symlink "${dotfile_path}/.ssh/authorized_keys2" "${HOME}/.ssh/authorized_keys2"
fmt_note "done installing!"
}
@@ -196,6 +197,7 @@ uninstall(){
if [[ $? == 1 ]]; then
uninstall_crontab
delete_if_exist "${HOME}/.zshrc" "source ${dotfile_home_path}/.zshrc2"
delete_if_exist "${HOME}/.tmux.conf" "source-file ${dotfile_home_path}/.tmux.conf2"
delete_link_if_match "${dotfile_path}/.ssh/authorized_keys2" "${HOME}/.ssh/authorized_keys2"
fmt_note "done uninstalling!"
fi