Skip to content

radiomime/.dot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.dot

configuration files for dotfiles and configuration files I use across machines

clone

git clone --recursive git@github.com:radiomime/.dot.git

package (re)installation

homebrew for mac

install from this link...

# add to path
eval "$(/opt/homebrew/bin/brew shellenv)"

brew packages

brew install \
    black \
    fish \
    go \
    isort \
    lazygit \
    neovim \
    stow \
    fzf \
    tmux
for newer neovim
```sh
brew install neovim --HEAD
```

linux

manual
# fish
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt update
sudo apt install fish -y
via snap
# install snap
sudo apt update
sudo apt install snapd
# go
sudo snap install go --classic
sudo snap install rustup --classic
rustup default stable
# nvim
sudo snap install nvim --classic
via go
go install github.com/jesseduffield/lazygit@latest

apps and tools

fish

installed with brew on mac

instructions here

Update shell to fish

# add to /etc/shells. May need to echo the string, and add via tee
which fish | xargs tee -a /etc/shells

which fish | xargs chsh -s

stow

installed with brew on mac

apt install stow
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin

Note: the above command also will update kitty

rust and cargo packages

uninstall
```sh
rustup self uninstall
```
cargo packages
cargo install \
  bandwhich \
  bat \
  bottom \
  exa \
  fd-find \
  ripgrep \
  rm-improved \
  rnr \
  stylua \
  tree-sitter-cli \
  watchexec-cli

# other possible cool ones
# diskonaut from https://github.com/imsnif/diskonaut
# du-dust from https://github.com/bootandy/dust
# broot from https://github.com/Canop/broot

switch (uname)
  case Linux
    echo linux cargo package setup
    sudo setcap cap_sys_ptrace,cap_dac_read_search,cap_net_raw,cap_net_admin+ep (which bandwhich)
  case Darwin
    echo osx cargo package setup
  case '*'
    echo no setup defined for os
end

nerdfonts

git clone --depth 1 git@github.com:ryanoasis/nerd-fonts.git ~/.local/share/nerd-fonts

# and to install
~/.local/share/nerd-fonts/install.sh

TODO: slightly refactoring below this point

pyenv install

Follow instructions here.

pyenv seems useful, but I'm not sold yet.

fish shell in linux

git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \
cd ~/.pyenv && src/configure && make -C src && \
set -Ux PYENV_ROOT $HOME/.pyenv && \
set -U fish_user_paths $PYENV_ROOT/bin $fish_user_paths

starship

macos

brew install starship

linux

curl -sS https://starship.rs/install.sh | sh

link dotfiles with stow

stow -v \
  --dotfiles \
  --restow   \
  bash       \
  fish       \
  git        \
  kitty      \
  nvim       \
  starship   \
  tmux

MacOS Specific

Keyboard Shortcuts

  • I change mission control --> 'move left/right a space' shortcuts to line up with PopOS
keyboard shortcut overwrites

I found these to conflict with MacOS built-ins a little too much for my comfort.

  • @ : command
  • $ : shift
  • ~ : alt
  • ^ : ctr
defaults read -g                NSUserKeyEquivalents
defaults read com.brave.Browser NSUserKeyEquivalents
# defaults
defaults write -g NSUserKeyEquivalents -dict-add "Copy" -string "^c"
defaults write -g NSUserKeyEquivalents -dict-add "Paste" -string "^v"

# brave
defaults write com.brave.Browser NSUserKeyEquivalents -dict-add "New Tab"           -string "^t"
defaults write com.brave.Browser NSUserKeyEquivalents -dict-add "New Window"        -string "^n"
defaults write com.brave.Browser NSUserKeyEquivalents -dict-add "Close Tab"         -string "^w"
defaults write com.brave.Browser NSUserKeyEquivalents -dict-add "Reopen Closed Tab" -string "^\$t"
defaults write com.brave.Browser NSUserKeyEquivalents -dict-add "Open Location..."  -string "^l"
defaults write com.brave.Browser NSUserKeyEquivalents -dict-add "Reload This Page"  -string "^r"
defaults write com.brave.Browser NSUserKeyEquivalents -dict-add "Find..."           -string "^f"

node installation with nvm

fisher installs with uu

# stable (needed for copilot)
nvm install lts
set --universal nvm_default_version lts
```

```sh
# latest npm/node
nvm install latest
set --universal nvm_default_version latest

troubleshooting

Blow up packer
printf "*** packer base dir ***\n"
ls ~/.local/share/nvim/site/pack/packer
printf "*** packer opt dir ***\n"
ls ~/.local/share/nvim/site/pack/packer/opt
printf "*** packer start dir ***\n"
ls ~/.local/share/nvim/site/pack/packer/start

Are all your plugins there? If so,

rip ~/.local/share/nvim/site/pack/packer
nvim --headless -c 'exit'
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'

misc installs

linux
```sh
sudo apt install ctop
```
mac
```sh
brew install ctop
```

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published