fix install script
This commit is contained in:
@@ -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" || :
|
||||||
|
Reference in New Issue
Block a user