Skip to content

Commit

Permalink
Merge pull request #2 from victoriadrake/ubuntu-22.04
Browse files Browse the repository at this point in the history
Ubuntu 22.04
  • Loading branch information
victoriadrake authored Oct 8, 2023
2 parents 77165d7 + 96af2b1 commit e89c5d4
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 40 deletions.
33 changes: 18 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
# Dotfiles for Ubuntu 21.10
# Dotfiles for Ubuntu 22.04

My preferred starting configuration. Currently using [Ubuntu 21.10 Impish Indri](https://ubuntu.com/download/desktop) + [Pop_OS! Shell](https://github.com/pop-os/shell) for tiling.
My preferred starting configuration. Currently using [Ubuntu 22.04](https://ubuntu.com/download/desktop) + [Pop_OS! Shell](https://github.com/pop-os/shell) for tiling.

The installation script (`scripts/install.sh`) will install a suggested serving of programs and applications using scripts in the `scripts/programs/` directory. Please verify that you want these before running the script.

Add or delete programs in `scripts/install.sh` and `scripts/programs/` to modify your installation.

## Usage

After installing your fresh OS, [create any SSH keys](https://docs.github.com/articles/generating-an-ssh-key/) you need to access GitHub. See [copy-able commands](#set-up-ssh-keys) for doing this below.
After installing your fresh OS:

If not generating new keys, place the ones you need in `.ssh/`. Remember to run `ssh-add` as well as `chmod 600 <key_name>`. Then clone this repository:
1. [Create any SSH keys](https://docs.github.com/articles/generating-an-ssh-key/) you need to access GitHub. See [copy-able commands](#set-up-ssh-keys) for doing this below. If not generating new keys, place the ones you need in `.ssh/`. Remember to run `ssh-add` as well as `chmod 600 <key_name>`.
2. Then clone this repository:

```sh
git clone [email protected]:victoriadrake/dotfiles.git
```sh
git clone [email protected]:victoriadrake/dotfiles.git

# Or use HTTPS
git clone https://github.com/victoriadrake/dotfiles.git
```
# Or use HTTPS
git clone https://github.com/victoriadrake/dotfiles.git
```

You may optionally like to pass the `--depth` argument to clone only a few of the [most recent commits](https://github.com/victoriadrake/dotfiles/commits/master).
You may optionally like to pass the `--depth` argument to clone only a few of the [most recent commits](https://github.com/victoriadrake/dotfiles/commits/master).

Close Firefox if it's open, then run the installation script. (Read it first so you know what it does!)
3. Close Firefox if it's open, then run the installation script. ([Read it first](scripts/install.sh) so you know what it does!)
```sh
cd dotfiles/scripts/
./install.sh
```
```sh
cd dotfiles/scripts/
./install.sh
```
To install the Pop_OS! Shell for window tiling, see [Installation in their repo.](https://github.com/pop-os/shell#installation)
Expand All @@ -48,6 +49,8 @@ See [How to write Bash one-liners for cloning and managing GitHub and GitLab rep
There are plenty of themes for Gnome terminal at [Mayccoll/Gogh](https://github.com/Mayccoll/Gogh).
For the Gogh script to work, you may need to have an existing terminal profile named `Default`. This will get overwritten.
Print a 256-color test pattern in your terminal:
```sh
Expand Down
4 changes: 2 additions & 2 deletions scripts/programs/hugo.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

echo '🤵 Install Hugo'
HUGO_VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.tag_name')
HUGO_VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep 'tag_name' | cut -d '"' -f 4 | cut -c 2-)
mkdir tmp/ && cd tmp/
curl -sSL https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION: -6}_Linux-64bit.tar.gz | tar -xvzf-
curl -sSL https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz | tar -xvzf-
sudo mv hugo /usr/local/bin/
cd .. && rm -rf tmp/
hugo version
9 changes: 0 additions & 9 deletions scripts/programs/jekyll.sh

This file was deleted.

6 changes: 0 additions & 6 deletions scripts/programs/powerline-shell.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

echo "🐍 Installing Python"
echo "🐍 Installing Python helpers"
sudo apt install -y python3-venv python3-pip
pip3 install Django

5 changes: 0 additions & 5 deletions scripts/programs/sass.sh

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/programs/vundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ echo "📦 Installing Vundle"

mkdir -p $HOME/.vim/bundle
cd $HOME/.vim/bundle
git clone git://github.com/VundleVim/Vundle.vim.git
git clone git@github.com:VundleVim/Vundle.vim.git
vim +PluginInstall +qall

0 comments on commit e89c5d4

Please sign in to comment.