fix install script

This commit is contained in:
Kenneth
2025-07-15 10:52:34 +02:00
parent 2805a5dd46
commit 39477f2b01

View File

@@ -4,14 +4,14 @@ set -eu
for arg in "$@"; do declare $arg='1'; done for arg in "$@"; do declare $arg='1'; done
if [ ! -n "$macos" ]; if [[ ! -n macos ]];
then linux=1; then linux=1;
else else
linux=""; linux="";
fi fi
# install asdf tool-versions # install asdf tool-versions
ln -s "$HOME/dotfiles/.tool-versions" "$HOME/.tool-versions" ln -s "$HOME/dotfiles/.tool-versions" "$HOME/.tool-versions" || :
# install wezterm config # install wezterm config
ln -s "$HOME/dotfiles/.wezterm.lua" "$HOME/.wezterm.lua" || : ln -s "$HOME/dotfiles/.wezterm.lua" "$HOME/.wezterm.lua" || :
@@ -24,8 +24,6 @@ fi
# install starship config # install starship config
ln -s "$HOME/dotfiles/starship.toml" "$HOME/.config/starship.toml" || : ln -s "$HOME/dotfiles/starship.toml" "$HOME/.config/starship.toml" || :
echo $macos
if [ ! -n "$linux" ]; then if [ ! -n "$linux" ]; then
# install aerospace config # install aerospace config
ln -s "$HOME/dotfiles/aerospace.toml" "$HOME/.aerospace.toml" || : ln -s "$HOME/dotfiles/aerospace.toml" "$HOME/.aerospace.toml" || :