From 42d241c489398ce273a6bf543eee71b3cd9fb656 Mon Sep 17 00:00:00 2001 From: Nicole Tietz-Sokolskaya Date: Sat, 21 May 2022 10:24:14 -0400 Subject: [PATCH] Add config for Fedora --- bash/.bashrc | 1 + bash/.profile | 1 + fedora_bootstrap.sh | 22 ++++++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 fedora_bootstrap.sh diff --git a/bash/.bashrc b/bash/.bashrc index 9952668..4ad627e 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -37,6 +37,7 @@ if [ -x /usr/bin/dircolors ]; then alias egrep='egrep --color=auto' fi +alias vim="nvim" alias kssh='kitty +kitten ssh' # enable programmable completion features diff --git a/bash/.profile b/bash/.profile index d89ea5a..128c4cf 100644 --- a/bash/.profile +++ b/bash/.profile @@ -25,3 +25,4 @@ fi if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi +. "$HOME/.cargo/env" diff --git a/fedora_bootstrap.sh b/fedora_bootstrap.sh new file mode 100644 index 0000000..a44e50d --- /dev/null +++ b/fedora_bootstrap.sh @@ -0,0 +1,22 @@ + +sudo dnf install htop neovim stow tmux podman cloc npm nodejs + +mkdir -p ~/Code +cd ~/Code + +if ! [ -a config ]; then + git clone https://github.com/ntietz/config.git + cd config +fi + +mkdir -p ~/Code/vendor +cd ~/Code/vendor + +if ! [ -a tla-bin ]; then + git clone https://github.com/pmer/tla-bin.git +fi +cd tla-bin +./download_or_update_tla.sh +sudo ./install.sh /usr/local + +curl https://sh.rustup.rs -sSf | sh