Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Designing an automation script, for automatically installing packages for craftzdog dotfiles. #142

Open
harshv5094 opened this issue Nov 17, 2023 · 8 comments

Comments

@harshv5094
Copy link
Contributor

harshv5094 commented Nov 17, 2023

Hello, I want to design an automation script to install craftzdog setup. I've already developed a script for my existing setup in linux. So I want to ask @craftzdog to ask his permission to develop script for macOS and windows for his setup.

@harshv5094 harshv5094 changed the title Designing an automation script, for automatically setup craftzdog config files. Feature: Designing an automation script, for automatically setup craftzdog config files. Nov 17, 2023
@harshv5094 harshv5094 changed the title Feature: Designing an automation script, for automatically setup craftzdog config files. Feature: Designing an automation script, for automatically setup craftzdog dotfiles Nov 17, 2023
@craftzdog
Copy link
Owner

sounds interesting! please go ahead

@harshv5094
Copy link
Contributor Author

harshv5094 commented Nov 17, 2023

Thank you for your permission, I also need to ask you some question, Here are some of them for now:

  1. Since I don't know what packages you are using in your setup. Could you mail me through my GitHub email address about what packages you need to automatically install during initial setup of Windows, MacOS and Linux?

  2. Which currently linux distro are you using, Do you distro hop a lot of time?. It'll help me to add option to install packages based on package manager of your current distribution.

@craftzdog
Copy link
Owner

  1. Yeah I actually have some scripts for installing packages. I'll share them later
  2. Currently I use Ubuntu for building my app

@harshv5094 harshv5094 changed the title Feature: Designing an automation script, for automatically setup craftzdog dotfiles [enhancement]: Designing an automation script, for automatically setup craftzdog dotfiles Nov 22, 2023
@harshv5094 harshv5094 changed the title [enhancement]: Designing an automation script, for automatically setup craftzdog dotfiles Feature: Designing an automation script, for automatically setup craftzdog dotfiles Nov 22, 2023
@harshv5094
Copy link
Contributor Author

harshv5094 commented Nov 24, 2023

Ah, @craftzdog sorry to disturb you. But I didn't receive any response after your message. Would you please send me those scripts so I can begin to develop the script?

@craftzdog
Copy link
Owner

sorry for the delay. here!

Ubuntu

via apt

fish exa fzf fd-find ripgrep

macOS

via Homebrew

fish
ghq     
pyenv   
jq      
neovim  
node    
eza     
bat     
hub     
tmux    
ripgrep 
fd      
fzf
watchman

via npm

npm i -g commitizen cz-conventional-changelog

windows

not available

fish

#!/usr/bin/env fish

set CONFIG_PATH ~/.config/fish
set BASE_DIR $HOME/.dotfiles/.config/fish
ln -s $BASE_DIR/config.fish $CONFIG_PATH
ln -s $BASE_DIR/config-osx.fish $CONFIG_PATH
ln -s $BASE_DIR/config-windows.fish $CONFIG_PATH
ln -s $BASE_DIR/config-linux.fish $CONFIG_PATH
ln -s $BASE_DIR/functions/fzf_change_directory.fish $CONFIG_PATH/functions/
ln -s $BASE_DIR/functions/fish_user_key_bindings.fish $CONFIG_PATH/functions/
ln -s $BASE_DIR/conf.d/tide.fish $CONFIG_PATH/conf.d/

echo installing z
fisher install jethrokuan/z

# Mind the compatibility: https://github.com/IlanCosman/tide/wiki/Fish-version-compatibility
echo installing a theme for fish
fisher install IlanCosman/tide

echo installing bass
fisher install edc/bass

echo installing ssh-agent
fisher install danhper/fish-ssh-agent

echo installing nvm
fisher install jorgebucaran/nvm.fish

echo installing fzf
fisher install PatrickF1/fzf.fish

@harshv5094
Copy link
Contributor Author

harshv5094 commented Nov 30, 2023

Thanks for your config, I'll start my work and contact you around 2 - 3 days to give you my updates. I've also registered for neovimconf 2023. I'm looking forward to your presentation on Dec 8

@harshv5094 harshv5094 changed the title Feature: Designing an automation script, for automatically setup craftzdog dotfiles Feature: Designing an automation script, for automatically installing packages for craftzdog dotfiles and also configuring the default shell to fish shell. Nov 30, 2023
@harshv5094 harshv5094 changed the title Feature: Designing an automation script, for automatically installing packages for craftzdog dotfiles and also configuring the default shell to fish shell. Feature: Designing an automation script, for automatically installing packages for craftzdog dotfiles. Dec 3, 2023
@roda404
Copy link

roda404 commented Aug 18, 2024

Did you manage to make the auto installer of these configurations?

@harshv5094
Copy link
Contributor Author

Did you manage to make the auto installer of these configurations?

Not auto installation, It's just I've created the script with options to copy config files to default directory and also installing packages with setting up fish shell as different option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants