Skip to content

Commit

Permalink
use asdf more, fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mosheavni committed Nov 24, 2023
1 parent edc919d commit befa3c8
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 75 deletions.
16 changes: 13 additions & 3 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
ag 2.2.0
argocd 2.9.2
aws-sso-cli 1.9.9
awscli 2.13.30
fd 8.7.1
golang 1.21.3
helm 3.13.2
java corretto-21.0.1.12.1
jq 1.7
k9s 0.28.2
kubectl 1.25.6
kubectx 0.9.5
minikube 1.32.0
mysql 8.0.34
neovim nightly
nodejs 21.0.0
python 3.8.18
ripgrep 13.0.0
semver 3.4.0
mysql 8.0.34
helm 3.13.2
kubectl 1.25.6
terragrunt 0.53.6
yq 4.40.3
32 changes: 4 additions & 28 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,16 @@ tap "homebrew/command-not-found"
tap "homebrew/core"
tap "neovim/neovim"
tap "weaveworks/tap"
brew "argocd"
brew "asdf"
brew "automake"
brew "aws/tap/ec2-instance-selector"
brew "awscli"
brew "bash"
brew "bashdb"
brew "bpytop"
brew "bwhaley/ssmsh/ssmsh"
brew "cmake"
brew "coreutils"
brew "cowsay"
brew "ctags"
brew "curl"
brew "fd"
brew "figlet"
brew "findutils"
brew "fortune"
Expand All @@ -35,49 +31,29 @@ brew "gnu-sed"
brew "gnupg"
brew "[email protected]"
brew "gnutls"
brew "golang"
brew "grep"
brew "grpcurl"
brew "hacker1024/hacker1024/coretemp"
brew "hadolint"
brew "helm"
brew "hyperkit", link: false
brew "jq"
brew "k9s"
brew "kube-ps1"
brew "kubectx"
brew "kubernetes-cli"
brew "lastpass-cli"
brew "minikube"
brew "mkcert"
brew "moreutils"
brew "msgpack"
brew "ncurses"
brew "neovim"
brew "nmap"
brew "oniguruma"
brew "[email protected]"
brew "pcre"
brew "perl"
brew "[email protected]"
brew "pcre"
brew "pkg-config"
brew "readline"
brew "ripgrep"
brew "ruby"
brew "rust"
brew "shellcheck"
brew "shfmt"
brew "starship"
brew "terraform-docs"
brew "terragrunt"
brew "the_silver_searcher"
brew "tmux"
brew "tree"
brew "viddy"
brew "watch"
brew "weaveworks/tap/eksctl"
brew "wget"
brew "yarn"
brew "yq"
brew "xz"
brew "zsh"
cask "adobe-acrobat-reader"
cask "alfred"
Expand Down
1 change: 1 addition & 0 deletions Npmfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ prettier
semver
typescript
typescript-language-server
yarn
66 changes: 22 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,31 @@
brew bundle
```

4. Open [iTerm2](https://www.iterm2.com/) and start using a real terminal.
4. Install [asdf-vm](https://asdf-vm.com/guide/getting-started.html) and its
plugins

```bash
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1
```

> **_NOTE:_** Reload shell
```bash
while read -r plugin_line;do
asdf plugin-add $(awk '{print $1}' <<<"$plugin_line")
done < .tool-versions
asdf install
```

5. Open [iTerm2](https://www.iterm2.com/) and start using a real terminal.
Also, install shell intergrations

```bash
cd ~/Repos/dotfiles
curl -L https://iterm2.com/misc/install_shell_integration.sh | bash
```

5. Install [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh) and its plugins
6. Install [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh) and its plugins

```bash
sh -c \
Expand All @@ -59,24 +75,12 @@
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
```

6. Install [effuse](https://github.com/jeromelefeuvre/effuse):
7. Install [effuse](https://github.com/jeromelefeuvre/effuse):

```bash
sudo gem install effuse
```

7. Backup current files:

```bash
cd ~
mkdir dotfiles-backup
for dotfile in .*;do
if [[ -f ~/Repos/dotfiles/${dotfile} ]];then
mv ~/${dotfile} ~/dotfiles-backup/${dotfile}
fi
done
```

8. Run effuse to create the symlinks between the repo dir and the home dir:
`effuse`

Expand All @@ -92,35 +96,15 @@
pip3 install -r requirements.txt
```

11. Set python version

```bash
PY_LATEST=$(pyenv latest -k 3)
pyenv install "$PY_LATEST"
pyenv global "$PY_LATEST"
```

11. Add support for recently-installed [fzf](https://github.com/junegunn/fzf)

```bash
$(brew --prefix)/opt/fzf/install
```

12. Open vim with minimal packer file, wait 1 minute for the [packer.nvim](https://github.com/wbthomason/packer.nvim) repo to be cloned.

```bash
nvim -u .config/nvim/first-init.lua
```
12. ???

13. Now Install the plugins and wait. (TreeSitter might take some time):

```vim
:PackerInstall
```

14. ???

15. PROFIT
13. PROFIT

## Additional stuff

Expand All @@ -130,16 +114,10 @@

- Download and install [docker](https://www.docker.com/products/docker-desktop)

- Change clipy shortcuts
- Change clipy shortcuts, and load snippets

- Install [magnet](https://apps.apple.com/us/app/magnet/id441258766?mt=12)

- Install [Mac Media Key Forwarder](https://github.com/milgra/macmediakeyforwarder)

- Install Snagit

- Set Rhubarb file:

```bash
echo 'machine api.github.com login moshe password <token>' >> ~/.netrc
```

0 comments on commit befa3c8

Please sign in to comment.