1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-18 16:26:50 +00:00

add homedir support

This commit is contained in:
Luna 2023-06-01 12:54:39 +02:00
parent fa2e9d4c30
commit d4e183a5ef
3 changed files with 9 additions and 16 deletions

View file

@ -1,15 +0,0 @@
local wezterm = require 'wezterm'
local config = {}
config.keys = {
{
key = '[',
mods = 'SUPER',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' },
},
}
config.color_scheme = "Catppuccin Mocha" -- or Macchiato, Frappe, Latte
config.font = wezterm.font 'JetBrains Mono'
return config

View file

@ -9,5 +9,7 @@ config.keys = {
},
}
config.color_scheme = "Catppuccin Mocha" -- or Macchiato, Frappe, Latte
config.font = wezterm.font 'JetBrains Mono'
return config

View file

@ -38,7 +38,13 @@ if [ -n "${NPM_CONFIG_PREFIX}" ]; then
sed -i "s%\# export NPM_CONFIG_PREFIX=\"\"%export NPM_CONFIG_PREFIX=\"$NPM_CONFIG_PREFIX\"%g" $HOME/.zsh/env.zsh
fi
cp -v .tmux.conf ~/.tmux.conf
cp -v .wezterm.lua ~/
echo
echo "[*] installing homedir files"
find homedir -type f |while read -r file; do
install $file $(echo $file | sed "s|homedir|$HOME|")
done
echo
echo "[*] installing config files"
install -m644 .zshrc -t "$HOME"