An open API service indexing awesome lists of open source software.

https://github.com/dantuck/dotfiles

Mirror of https://gitlab.com/dantuck/dotfiles
https://github.com/dantuck/dotfiles

dotfiles dotfiles-linux dotfiles-macos fishshell

Last synced: 19 days ago
JSON representation

Mirror of https://gitlab.com/dantuck/dotfiles

Awesome Lists containing this project

README

          

## Recommended Software

For both Linux and macOS:

- [`starship.rs`](https://starship.rs) the shell we are using;
- [`bat`](https://github.com/sharkdp/bat) a `cat` with wings;
- [`delta`](https://github.com/dandavison/delta) for better git diffs;
- [`pnpm`](https://pnpm.io/) fast, disk space efficient package manager
- [`rust-lang`](https://www.rust-lang.org/learn/get-started) Quickly set up a Rust development environment and write a small app!
- [`helix`](https://helix-editor.com/) a post-modern text editor.
- [`zellij`](https://zellij.dev) a terminal workspace with batteries included.

For macOS:

- `kubectl` - `brew install kubernetes-cli`
- `kubectx` - `brew install kubectx`
- `aws-iam-authenticator` - `brew install aws-iam-authenticator`
- `kubefwd` - `brew install txn2/tap/kubefwd`

## Optional Software

For both Linux and macOS:

- [`Apollo Rover CLI`](https://www.apollographql.com/docs/rover/getting-started/) is a CLI for managing and maintaining graphs with [Apollo Studio](https://www.apollographql.com/docs/studio/)

## Fish

### Getting started

```fish
curl -fsSL https://codeberg.org/tuck/dotfiles/raw/branch/main/install.sh | sh
```

or

```bash
sh -c "$(curl -fsSL https://codeberg.org/tuck/dotfiles/raw/branch/main/install.sh)"
```

### Install fish

Official [website](https://fishshell.com) or check out some snippets below.

macOS with homebrew

```bash
brew update && brew install fish
```

Ubuntu: fish shell - 3.x release series

```bash
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt-get update
sudo apt-get install fish

chsh -s /usr/bin/fish
```

#### Customizations

`fish` plugins are managed by `fisher` and can be cloned directly into `~/.extra/plugins` or added directly to a new file `~/.extra/plugins/fish_plugins`

```bash
jorgebucaran/fisher
jorgebucaran/nvm.fish
jorgebucaran/replay.fish
```

Add custom functions to `~/.extra/functions`

## ZSH

This is really not maintained. I have been transitioning over to fish shell and while doing so have started to restructure dotfiles thus making the zsh install untested. Use at your own risk.

### Getting started

### Setup dotfile components

*NOTE*: Make sure if needed to create local files first:

- git: [user] name and email and [url] instead of mapping
- zsh: environment variables with usernames and tokens set.

```shell
.dotfiles/git/config.local
.dotfiles/zsh/local.zsh
```

### Install dotfiles

```
cd ~/.dotfiles && . ./bootstrap
```

## Credits

Influenced by and examples taken from:

- [mnarrell](https://github.com/mnarrell/dotfiles)
- [kwtucker](https://github.com/kwtucker/dotfiles)
- [caarlos0](https://github.com/caarlos0/dotfiles.fish) ([LICENSE](license/LICENSE-CARLOSBECKER.md))