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:
parent
fa2e9d4c30
commit
d4e183a5ef
3 changed files with 9 additions and 16 deletions
15
.wezterm.lua
15
.wezterm.lua
|
@ -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
|
|
@ -9,5 +9,7 @@ config.keys = {
|
|||
},
|
||||
}
|
||||
|
||||
config.color_scheme = "Catppuccin Mocha" -- or Macchiato, Frappe, Latte
|
||||
|
||||
config.font = wezterm.font 'JetBrains Mono'
|
||||
return config
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue