-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.fish
More file actions
executable file
·30 lines (22 loc) · 808 Bytes
/
init.fish
File metadata and controls
executable file
·30 lines (22 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env fish
# script used to initialize the environment
# $d is the dir for dotfiles
set -l d (realpath (dirname (status -f)))
# these go into home dir
for c in .mambarc .tmux.conf .wezterm.lua
ln -sf $d/$c ~
end
ln -sf $d/ipython_config.py ~/.ipython/profile_default
# these go into config dir
for c in alacritty cspell.config.yaml ghostty kitty neovide nvim rio starship.toml
ln -sf $d/$c ~/.config/
end
set -l VALE_CONFIG_PATH "$HOME/Library/Application Support/vale/"
cd $VALE_CONFIG_PATH
ln -sf $d/.vale.ini .
vale sync # must be executed inside VALE_CONFIG_PATH
cd ~/.config/rio
curl -L https://github.com/libretro/slang-shaders/archive/master.tar.gz |
tar -xz --strip-components=1 -C shaders
touch ~/.hushlogin
dash -c "ln -sf $d/fish ~/.config" # fish can't handle itself