Stow has forever changed the way I manage my dotfiles

  Рет қаралды 203,212

Dreams of Autonomy

Dreams of Autonomy

Күн бұрын

Managing dotfiles used to be a challenge, and despite numerous guides it was always more complex than I liked to.
That was before I discovered GNU Stow, which has simplified the management of dotfiles, considerably.
Links
- GNU Stow: www.gnu.org/software/stow/
- Video Repo: github.com/dreamsofautonomy/d...
- Atlassian: www.atlassian.com/git/tutoria...
00:00:00 Intro
00:00:28 Set up
00:01:19 GNU Stow
00:02:25 Version Control
00:03:03 Ignore file
00:04:07 More files & --adopt
00:05:55 Remote Repo
00:07:03 README.md

Пікірлер: 497
@InsaneFirebat
@InsaneFirebat 4 ай бұрын
wtf are dotfiles?
@dreamsofautonomy
@dreamsofautonomy 4 ай бұрын
Files that start with a . in their name! They're used for the configuration of applications and software inside of a *nix based operating system (linux, macOS, unix, and BSD)
@NostraDavid2
@NostraDavid2 4 ай бұрын
As said, dotfiles are used for configuration, but the dot at the start also makes them hidden by default, which is the actual use of the dot. In windows, your files have attributes (read only, hidden, etc) that you can enable via the properties. In Linux/Mac OS you use this feature by adding a dot at the start of the name.
@7thAttempt
@7thAttempt 4 ай бұрын
😂
@NickCombs
@NickCombs 4 ай бұрын
@@dreamsofautonomy ah yes, the garbage that shows up in my shared directories
@merlin9702
@merlin9702 4 ай бұрын
@@NickCombs Unless it's a .DS_Store file, it's most likely not garbage though
@AliciaSykes
@AliciaSykes 4 ай бұрын
Probably the best overview of Stow I've ever seen!
@dreamsofautonomy
@dreamsofautonomy 4 ай бұрын
Thank you!
@germanrinaldi7830
@germanrinaldi7830 3 ай бұрын
No more bash for loops to copy files and create their symlinks! This is soooo good! Thank you!
@psadi_
@psadi_ 4 ай бұрын
I used to perform ‘ln -s’ multiple times This is useful ! Thank you for making the video on introducing stow and how to use it.
@klfjoat
@klfjoat 3 ай бұрын
I started using Stow a decade ago, and it changed everything for me! Pro tip: If you do have more than one machine, you might require some dotfiles to have different content. Or you might not use all the same tools on every machine. Create different subdirs of your `dotfiles` dir, and use `stow subdir`. I will leave as an exercise for advanced users a script that can run on a new machine and auto-stow subdirs based on what that script can learn from its environment. Bonus points if it is idempotent and can install dependencies like git on its own.
@lunchbox1341
@lunchbox1341 2 күн бұрын
This is so useful, I never even heard of stow before! Dotfiles clutter the home directory so much and this is by far the most convenient way to solve this issue, thanks.
@vysokinskyi
@vysokinskyi 3 ай бұрын
This video is pure gold. It's the first time I've heard about stow and it seems like a great solution to the dot files problem. You keep to to the point and actually address the few common issues. Thank you!
@dreamsofautonomy
@dreamsofautonomy 3 ай бұрын
Glad you enjoyed it!
@milansatters8750
@milansatters8750 3 ай бұрын
Just stumbled upon this seemingly very new channel, seems like some awesome and high quality content. Very curious to see where you’re going with this channel, great videos so far.
@LudoTechWorld
@LudoTechWorld 4 ай бұрын
I set up stow 4 or 5 years ago (however I used a sub folder per application, it's a lot cleaner and modular imo) and never had to touch it ever again, it just works. Just need to git push when I change something in a config file. Probably one of the most time saving tool I ever used.
@JamesHounshell
@JamesHounshell 4 ай бұрын
Mine is the same way. I was starting to think I did something wrong. The `stow .` can be misleading. I have a Makefile with several helpful commands for laptop initial setup including a "stow" target that just calls stow on all the subfolders/applications.
@GPandzik
@GPandzik 4 ай бұрын
I haven't used Stow before, but I have found it useful to write a `.git/hooks/post-commit` script that runs `git push origin ${branch}` to just do a `git push` every time I successfully create a commit. It's not the right approach for *every* use-case, but I'm forgetful, and this is an easy and simple enough Git use-case that you're unlikely to get yourself into trouble. Git hooks are awesome and waaay underappreciated for the intermediate-to-power-users. Just, uh, be careful with them. Like most things with Git, there aren't a lot of safeties built in, and it's easy to lose a finger if you're not watchful. 😂
@fire17102
@fire17102 3 ай бұрын
Hey can you guys elaborate please? I wanna try out stow and I get the sense I'll also like to have sub folder & cleaner setup. Do you mean you have a different repo for each dotApp? Or you do have one but it's not mapped one-to-one on your home folder? Would love to understand what you guys did
@LudoTechWorld
@LudoTechWorld 3 ай бұрын
hey @@fire17102 , I have one git repo but one folder per dotApp, so I can restore only one for example. The process is easy but difficult to explain in a comment, I found this video kzfaq.info/get/bejne/fK6lqt2T1bq4n2Q.htmlsi=CMDaZ0dP3Hzs1pp4 that explains the process (it has also the explanation in a blog post linked in the comment section.
@fire17102
@fire17102 3 ай бұрын
@@LudoTechWorld Thanks I'll take a look! 💛😇🦄 All the best!
@Jebusankel
@Jebusankel 3 күн бұрын
I heard about stow forever ago but didn't know how to use it. I read some of the official docs but my eyes glazed over and I gave up. This video convinced me to give it a go.
@aqezzz
@aqezzz 4 ай бұрын
Stow can also take a target directory (-t TARGET) so if you don’t want to keep your dotfiles repo directly under your home directory you can use that. For me I would do “stow -t /home/username .” From the dotfiles repo which could be anywhere.
@samifouad
@samifouad 4 ай бұрын
that’s interesting. i’m curious how I would manage a config file for any program I install. they would have their config files in /etc or somewhere. how do permissions factor in with stow?
@RufianEmbozado
@RufianEmbozado 3 ай бұрын
​@@samifouad You could do the same with the root account. I'm not that sure about all the implications, though.
@spagettech
@spagettech 3 ай бұрын
Thanks, they makes things much more convenient
@scialomy
@scialomy 3 ай бұрын
Here is my stow command to put in a script or a Makefile: `stow --verbose --restow --target=$HOME --dotfiles $(dirname $0)`
@KaiDoesMineCraft10
@KaiDoesMineCraft10 4 ай бұрын
Found out about stow a few months back when trying to manage my dotfiles Hope this video spreads its utilization
@bertvv
@bertvv 2 ай бұрын
20+ years Linux user here, never heard of Stow before... I will definitely check this out! Thanks for making this video.
@Triavanicus
@Triavanicus 3 ай бұрын
You can also use stow to keep your app configurations separate, like say if you have a tmux config for your local config, and a tmux config that is slightly different for a server, you can put all of the files in two separate folders, then instead of specifying . You use the other folder name like `stow tmux-server` or `stow tmux-local`
@klfjoat
@klfjoat 3 ай бұрын
I do this all the time. And I have tricks to tell if I'm on a server or desktop so my scripts Stow the correct version. Or I have a folder with a host name in it (tmux-bartleby if the host name was bartleby).
@vortex2210
@vortex2210 Ай бұрын
@@klfjoat Can you please elaborate on the structure and commands used?
@klfjoat
@klfjoat Ай бұрын
@@vortex2210 While I appreciate the interest, this isn't exactly the Unix StackExchange. 😜 So I'll just give you one thing I do. I use a script to run all of the `stow` commands on a new host. And I will get the hostname with `hostnamectl status --static`, using that to stow hostname-specific subdirs.
@BekhzodIsmoiliy
@BekhzodIsmoiliy 2 күн бұрын
Or you can use git branches :)
@BLRMalcolm
@BLRMalcolm 4 ай бұрын
I was managing my own symlinks for this time. I though that stow was more complex but I was wrong. Thank you for this amazing and pleasant video!!
@TheLazyJAK
@TheLazyJAK 4 ай бұрын
Underrated channel man. Keep it up!
@megaxlrful
@megaxlrful 4 ай бұрын
What a great tool! I have been struggling with a homegrown solution in a Makefile, but this is so much better. Though I have been using Syncthing to keep the directory synchronised between machine instead of Git. Just so I don't need to remember to commit, push and pull changes.
@patricknelson
@patricknelson 3 ай бұрын
Gosh, this is so simple and straightforward, plus it’s way better than what I was doing: I had a similar folder under my $HOME but I also had a bash script that you had to run which would basically rsync. Sort of a facepalm moment realizing you could just symlink _and_ automate the symlink process w/ just having stow.
@btotta
@btotta 3 ай бұрын
Amazing tutorial, very easy and straight to the point!
@MikeWasteland
@MikeWasteland 2 ай бұрын
Very nice explanation, and channel! Keep up the good work! I would love to see a video showing your tmux customization.
@oshdubh
@oshdubh 4 ай бұрын
when is “since i use nixOS, btw” coming to DoA 🙏
@andremaldonado7410
@andremaldonado7410 4 ай бұрын
Seriously, only thing I don't use nixos for anymore is proxmox containers (all my vms are nixos), and that's solely because the lxc file made by hydra is almost always broken as shit
@andremaldonado7410
@andremaldonado7410 4 ай бұрын
Also doa if you read this you probably want nixos *and* home manager
@IogaMaster
@IogaMaster 4 ай бұрын
Fr
@woeky
@woeky 4 ай бұрын
@@andremaldonado7410 Or simply a good flake setup, managing the entire system (so both the home directory and the system)
@lucasew
@lucasew 4 ай бұрын
Me and the boys using nix modules to setup common logic on a whole network of machines
@duhnyel1697
@duhnyel1697 4 ай бұрын
Very well made and higly informative. Keep it up!
@starmechlx
@starmechlx 3 ай бұрын
holy shit. why is this not talked about more? i've been using linux as my daily driver for a year now and this is the first time i've heard anyone talk about this. this is a freaking game changer
@chocolate_squiggle
@chocolate_squiggle 3 ай бұрын
I've been using linux as my daily driver for 10+ years and after watching this video I'm still not sure what the need is for this? It creates symlinks to your dotfiles into another location? Okay...but why? Just to make using git easier? Sure I make occasional changes to dotfiles but not so often that it justifies a version management process. I have several backups of varying age I can refer to if needed.
@xplinux22
@xplinux22 3 ай бұрын
​​​@@chocolate_squiggle I use Git to track all my dotfiles, including my Neovim configuration, tmux configuration, aliases, terminal color scheme, etc. All my machines use a common base, but there is some natural variation between my personal laptop, work machine, development servers at work, and so on. Compared to using a bare Git repository, I can instead track both "aws-personal" and "aws-work" (for instance) in my single dotfiles repo and use GNU Stow to deliberately pick and choose what config files I need when setting up a new machine.
@RamirezGold
@RamirezGold 3 ай бұрын
@@chocolate_squiggle using git is never unjustified. Zero cost, huge benefit.
@CM-mo7mv
@CM-mo7mv 3 ай бұрын
​@@chocolate_squiggleit really depends on how you drive... having more than just 1 computer and a complex preference it can help. anyhow sprinkle scripts, brew and ansible on it and you can have a new install running in no time...
@joelpww
@joelpww 3 ай бұрын
​@@chocolate_squigglei feel the same so far. Even without. My normal repo method has me spinning up my setup elsewhere pretty quick
@anton.plotnikov
@anton.plotnikov 24 күн бұрын
Beautifully done. Amazing tool, thank you!
@judacs
@judacs 4 ай бұрын
thank you so much for this video, I haven't heard of Stow before. my dotfiles repo was the most atrocious thing ever lmao this is gonna be a fun weekend to update all that
@dawnrazor
@dawnrazor 4 ай бұрын
I didn’t even have a dot files repo, so I’ve really been dragging my knuckles along the floor, but not for much longer after discovering stow via this video
@Voshchronos
@Voshchronos 3 ай бұрын
Woah, this is incredibly useful. Thank you so much! Here's hoping more people spread the knowledge about _stow_
@kh0lis
@kh0lis 3 ай бұрын
First time to know about Stow. Will try it soon. Thank you 👍
@EagerEggplant
@EagerEggplant 3 ай бұрын
Very cool. Will implement this weekend. Thanks for the great video, you're awesome.
@ChosunOne
@ChosunOne 4 ай бұрын
Love this approach! I also was using a bare git setup but found it hard to work with. I'll switch to this way from now on
@schwja04
@schwja04 4 ай бұрын
Great video, I've already put my vim config in git. Now I can put the rest of my setup in there as well. Much appreciated!
@MrKeveran
@MrKeveran 4 ай бұрын
Great video as always! Keep going ❤
@GajanandaAdhikari
@GajanandaAdhikari 4 ай бұрын
your fonts are pure treat
@verb0ze
@verb0ze 2 ай бұрын
This is a neat find! I had rolled out my own script to sort of do this, but I'd manually have to add any new tool to that script. This automates that portion. Thanks for sharing, will give it a go
@trunejtral
@trunejtral 3 ай бұрын
I love how you explain how to push things to a remote to people that care about dotfiles management.
@trunejtral
@trunejtral 3 ай бұрын
Though it could have started with turning the computer on!
@MrJohnBBQ
@MrJohnBBQ 25 күн бұрын
@@trunejtral you never know. there could be kids watching! :D
@westlestrest6442
@westlestrest6442 16 күн бұрын
for real 😂
@berk_karaal
@berk_karaal 4 ай бұрын
Wow, I instantly switched to stow after this video. Thanks!
@jevandezande
@jevandezande 4 ай бұрын
I've used rcm for many years. It has the added benefit of prepending a dot to all files and folders in the top level of your dotfiles folder, thus allowing us to use ls normally (e.g. dotfiles/config symlinks to ~/.config).
@lizardspock4746
@lizardspock4746 4 ай бұрын
Is rcm still being maintained? It looks like the last commit (and release) was in 2022
@LucioDaou
@LucioDaou Ай бұрын
Amazing. I didn't use symlinks, but stow will help me a lot in setting up my configuration scripts. Thanks a lot.
@dezwujie
@dezwujie 4 ай бұрын
Just fighting with how to add some more organization to my dotfiles. For once, the algorithm did not lead me down a rabbit hole of distraction- it read my mind. Thank you!
@dino_source
@dino_source 2 ай бұрын
Thank you very much for this brilliant idea!
@skeilnet
@skeilnet 4 ай бұрын
I use a bare repo and a few handy aliases but I like stow will try it thank you for this amazing video!
@forest6008
@forest6008 4 ай бұрын
thank u so much, i tried to write a script to manage my dotfiles and almost just deleted them, i really needed this thank u so much
@moonmaan
@moonmaan 4 ай бұрын
I was about 24 hours from setting up a bare repo like every other tutorial, and then this came out! Perfectly timed!
@xExekut3x
@xExekut3x 4 ай бұрын
kinda funny, but this is how my dotfiles are currently setup, i just have a script that symlinks them myself. some i don't, such as files i have to merge between personal and work stuff, but yeah . . i can replace that entire script with one command .. wild. awesome vid!
@Yggdrasil42
@Yggdrasil42 4 ай бұрын
I've been using Stow for two years now, with Git to sync my changes across my Mac and Windows WSL2 machines. Like the simplicity.
@jtsiomb
@jtsiomb 4 ай бұрын
I used to do pretty much the exact same thing manually, but GNU stow seems nice. I'll give it a try.
@anonymousXYZ659
@anonymousXYZ659 3 ай бұрын
Awesome channel, already watched 66% 😉, looking forward to much more!!!
@wc4260
@wc4260 3 ай бұрын
this is the greatest thing i have ever done. hyprland on laptop and desktop configs being synced is the most goated thing ever.
@daleryanaldover6545
@daleryanaldover6545 3 ай бұрын
This is godsend, was planning on having a dotfiles repo but I was overwhelmed by the sheer amount of guides out there that seemed too opinionated.
@ebouchut
@ebouchut 10 күн бұрын
Thanks for the great video. I personally use rcm but will give stow a try.
@mylinuxforwork
@mylinuxforwork 4 ай бұрын
Great video. Thank you. I manage my dotfiles in a similar way but without stow. I have created a bash script that creates all required symlinks for me. With this setup, I can get rid of the .config folder in the dotfiles folder which makes the structure more readable.
@dreamsofautonomy
@dreamsofautonomy 4 ай бұрын
I'd love to see this bash script!
@DreadDeimos
@DreadDeimos 4 ай бұрын
Thank you for the inspiration.
@pango42069
@pango42069 4 ай бұрын
home-manager users in shambles
@pango42069
@pango42069 4 ай бұрын
i use NixOS btw ❄
@mirzaahilmi
@mirzaahilmi 4 ай бұрын
W
@merthyr1831
@merthyr1831 4 ай бұрын
nix OS users: look at what it takes to mimic a fraction of our power
@ytuser6276
@ytuser6276 4 ай бұрын
home-manager users waiting for `home-manager switch` to complete after making the tiniest change: ☠ (that's me, i'm the home-manager user)
@zyansheep
@zyansheep 4 ай бұрын
​@@ytuser6276i feel your pain fellow home-manager user 😭
@Beldraen
@Beldraen 4 ай бұрын
@InsanceFirebat Great video on an important subject. As a developer, all those configurations are an often overlooked piece of information to backup. Stow is a good solution for single-machine environment, but when you have multiple machines or virtual machines with different needs, I would suggest RCM. RCM supports tags, whereby the environment can be named. So, common things (git, tmux, etc) configurations can all be shared, but shell environment (.zshrc, per-machine scripts, etc) can be unique to each machine.
@dimitris470
@dimitris470 3 ай бұрын
You can also manage this in git with branches
@pabloqp7929
@pabloqp7929 4 ай бұрын
Heard about stow about a year ago but seemed awkward. Instead I've been writing one too many 'ln -s' in my setup scripts and it dayum it might be about time. Ye've truly pushed to try stow, cheers mate. Can't wait for the self-hosted git server vid!
@a_maxed_out_handle_of_30_chars
@a_maxed_out_handle_of_30_chars 4 ай бұрын
simple and to the point, thank you :)
@dreamsofautonomy
@dreamsofautonomy 4 ай бұрын
I'm glad you liked it! Thank you for the feedback!
@Madinko12
@Madinko12 4 ай бұрын
I switched from manual configuration to stow to chezmoi to ansible. Now I'm not looking back. Ansible is a perfect fit (for me) to manage dotfiles and much more. Every other solutions were making things very rigid: it was hard when not impossible to manage multiple systems, symlinks were often causing sneaky problems to some programs, it was unnatural to deploy only a subset of the dotfiles. But the best part with ansible in my opinion is that it can also manage system configuration (packages to install, /etc, or basically anything I need). Now when I need to deploy my config to a new device, I just run all my playbooks and voilà. I don't even have to remember which programs to install, what were my firewall rules, where to put that custom systemd service file. Ansible handles all that for me in a very customizable way.
@JChen7
@JChen7 4 ай бұрын
I learned about chezmoi and have been using before learning about stow from this video. Will try ansible, but chezmoi has felt unnecessarily complex and unwieldy, and stow seems the right amount of simplicity to me. The symlink issue does sound real though. Do you have any recommended guides on getting started with ansible?
@alexstone691
@alexstone691 4 ай бұрын
Mind sharing your dotfiles, i am struggling how to split configs for multiple devices nicely and sharing roles in ansible I can see why people use ansible, i never broke anything while porting my old dotfiles to it, it just shows how hard it is to shoot yourself into the foot (running with --check / --diff)
@abhishekmadhu1717
@abhishekmadhu1717 4 ай бұрын
Would you mind sharing a video on how you acheived it? Existing youtube videos that do the samy thing as you would be nice.
@davemeech
@davemeech 4 ай бұрын
That's right, I forgot about ansible. That was a skill I wanted to pick up anyways. I might try and look up some resources on managing system config and dotfiles. Anything you'd recommend?
@Madinko12
@Madinko12 4 ай бұрын
@@JChen7 actually, issues with symlinks is what ended up convincing me to migrate to something else. Can't remember what were the issues exactly. Though I agree with you: ansible is more complex and involved than any other solution that just aims at handling your dotfiles. I'm very used to ansible and some other iaas tools because I use them at work, so that's not really an issue for me, but it might be for many people. Still worth learning IMHO.
@kartikmahajan4405
@kartikmahajan4405 2 ай бұрын
Extremely useful, thanks a lot
@backhdlp
@backhdlp 4 ай бұрын
I manage my dotfiles manually with git. Made a ~/.dots directory, moved most my configs there and symlinked them back to the right places. Created a git repo in there and everything just works no problem (tho I made the mistake of putting a GPG key on the repo). It's kinda like using stow, but I just do the symlinks myself. Deployment is also easy because it only really needs coreutils (and optionally git and gnupg for managing the repo).
@cg219
@cg219 4 ай бұрын
I actually like this, I'm not going to lie. I'm sold
@kmud7750
@kmud7750 Ай бұрын
Thanks for this!
@JohnBrandon
@JohnBrandon 4 ай бұрын
Beautiful video
@LucaCanali
@LucaCanali 4 ай бұрын
Nice video, I've been using stow for a long time, but for each application I use a sub folder and in git I use a branch for each hardware or use !!!
@fire17102
@fire17102 3 ай бұрын
Wooo that's a good take!
@yuxiang4218
@yuxiang4218 3 ай бұрын
great one. Thanks for sharing
@ru31k32
@ru31k32 2 ай бұрын
You created a new channel without knowing it!!!! :OOOO Insta-subscribed
@Patterner
@Patterner 2 ай бұрын
last time i used stow was about a decade ago. but it's interesting and i may change my setup. good video
@1234minecraft5678
@1234minecraft5678 4 ай бұрын
Just the video i needed
@maabat8142
@maabat8142 4 ай бұрын
I think this has convinced me to make a switch again in how my dotfiles were being setup. I was following my friend who initially did shell scripting configs, then I ended up switching to Ansible. Still trying to figure it out as I am trying to make different use case dotfiles (e.g. work, personal etc). But I think I'll do a switch at some point and figure out the logistics later - thanks for this video!
@itstoxicqt
@itstoxicqt 3 ай бұрын
Nixos is great for having a set for work then personal etc
@maabat8142
@maabat8142 2 ай бұрын
@@itstoxicqt sorry just saw this after finally deciding to revisit and finally being the migration process to stow. Thanks very much!
@kevinc.7730
@kevinc.7730 Ай бұрын
stow is great and I used it for over a year. Would also suggest building out an ANSIBLE role that completely configures any number of machines fully to the way you like it. Another great option is a lightweight container image with zsh and a config repo/sshkey baked in.
@tysufa
@tysufa 4 ай бұрын
Thank you very much, for half a year I played with windows manager and I was constantly updating my dotfiles on many pc and it was really annoying, this method seems great I'm on my way to try it !
@dreamsofautonomy
@dreamsofautonomy 4 ай бұрын
You are welcome!
@thibtube5347
@thibtube5347 2 ай бұрын
thx for the video. I have been using stow for several years to manage my dotfiles. I advise you to consider the following options: - R || -- restow : allows you to delete all existing links and recreate all links. As iniquated in the manual: « This is useful for trimming obsolete symbolic links of the target tree after updating -the software in a package- - > your git dotfiles repo. -- dotfiles: All files starting with « dot- » will be linked by the replacement « dot- » by « » ".". Example dot-zshrc ->.zshrc -- ignore: does not take into account the indicated paths, practical for not using configurations depending on the type of machine (workstation or server).
@inononeeee
@inononeeee 3 ай бұрын
i found a great channel today
@konstantink07
@konstantink07 4 ай бұрын
put stuff in subfolders to group your dotfiles, like "zsh" or "Alacritty". That way, you can choose which dotfiles to restore and use the same dotfiles repo in vastly different environments. You can even have multible versions of the same dotfiles and switch between them easily
@vikingthedude
@vikingthedude 4 ай бұрын
I gotta try this . But I probably won’t
@user-sq1oi9qp8w
@user-sq1oi9qp8w 4 ай бұрын
how to switch
@konstantink07
@konstantink07 4 ай бұрын
@@user-sq1oi9qp8w just create a subfolder in your dotfiles directory and move files to it. Then run stow --adopt [name of subfolder] from the dotfiles directory
@mkum2141
@mkum2141 4 ай бұрын
Can you go into more detail as to how this works and how we can do it?
@rationalityfirst
@rationalityfirst 4 ай бұрын
@@mkum2141 man is probably your friend. read the program arguments and test them in an isolated subdirectory because every command in stow is relative to the current dir if you don't use the -d and -t switches.
@Wzooff
@Wzooff 3 ай бұрын
I used to have arch on my pc... Long time ago. Now i'm mac user, but still, if i'll have to choose distro - it will be arch. Because Arch has best wiki and require some knowledge and approach :) love your videos, keep going
@jonesy_b
@jonesy_b 2 ай бұрын
I've been developing my own config files sync program for the last few weeks. Now I see this and makes my whole project useless since this is so much better 😭
@francesdelivery
@francesdelivery 3 ай бұрын
Wow 😍 This is the cleanest and prittiest terminal setup i've ever seen, can you please tell what fonts and color scheme are using? And the color of the word based on if the command is right, and suggestions too, are from zsh basic config or some external plugin? The prompt is starship, right? I just wanna use this setup for my shell too 😆
@dalanxd
@dalanxd 4 ай бұрын
Very nice seeing your take on stow. I've been using a setup with stow for years now and it's really great. BTW you don't need to set your files as if they were in the home directory... I find that to be not so organized, specially if you have machines that use different setups, like one for your mac and one for your linux. Alternatively you can pass down some flags to stow to specify the target DIR... so I made a custom script to do that and I have a "packages" folder in my dotfiles where those configurations live pretty much like "packages", which are "stowable" configs I can pick and chose. Like a ".dotfiles/packages/encfs" is a config I can stow on linux while ".dotfiles/packages/macos-encfs" I can stow on apple machines That's close to stow's original use case as it was created as a way to maintain multiple package versions, like multiple different installations of PERL with different symlink files. Stow is also smart enough to handle complex situations where configurations would conflict.... stow will by default symlink the upmost directory / file and then recriate symlinks automatically in a more granular manner to acomodate other "stow installations" you make using the same ownership (read the docs for more info)... it sounds complicated but it isn't once you see it in action. It's pretty genius the way stow handles itself in the file tree. In practice what it means is that you could have a ZSH config for example that is your general config in a public ".dotfiles" repo "installed" at the same time as a personal ".dotfiles" ZSH config that lives in a private repo and has some custom bindings you might not wanna share publicly 😉 Anyway, if you are reading this comment up to this point maybe you could have a fun weekend project by feeding the Stow's Manual Page to ChatGPT and asking it to help you set it up. My strategy is to keep all created symlinks proxied in an "installed" folder, also in the ".dotfiles" but gitignored, to be more organized and to help stow because of how it handles Ownership ( and handles conflicts ) Here's some documentation reference in case you go this far: www.gnu.org/software/stow/manual/stow.html#Ownership Good luck Unix Adventurer!
@dmlsda1
@dmlsda1 3 ай бұрын
Thank you. This sounds like it’s exactly what I’m looking for. Looking forward to digging into this as my next project
@rodelias9378
@rodelias9378 4 ай бұрын
Great vídeo!
@YannMetalhead
@YannMetalhead Ай бұрын
Good video!
@Br4mVAL
@Br4mVAL 4 ай бұрын
great video! i expected this channel to have at least 50k subs lmao. great production quality
@oakentravis
@oakentravis 4 ай бұрын
his main channel has 90k it's called dreams of code you should check it out
@limbsjones
@limbsjones 3 ай бұрын
tanks!!! for the info!!
@awunnenb
@awunnenb 4 ай бұрын
nice video, thank you!
@BoyanOrion
@BoyanOrion 4 ай бұрын
Thanks for the video. Btw if you are on Gnome, can you share which theme you're using? I'm assuming it's one of the macOS inspired themes.
@1Iljo1
@1Iljo1 4 ай бұрын
Is there a change we could get an overview of your terminal and desktop/wm setup? It looks so nice and functional
@imamhatipoglu4040
@imamhatipoglu4040 3 ай бұрын
great videos!!!
@HarrysKavan
@HarrysKavan 3 ай бұрын
Man your transitions are sweet. What Editor do you use to make them?
@Denis-wf4bl
@Denis-wf4bl 4 ай бұрын
Thank you! This video is really clear and understandable. I created my own little script to symlink my dotfiles to the right locations, but there were many bugs. I will switch to stow, because it does exactly what I need.
@jakobheine578
@jakobheine578 4 ай бұрын
Your Videos are very promising. I already recommended your channel to several collegues. How about a part 2, how to handle .env files (or an alternative) with secrets and keys properly?
@dreamsofautonomy
@dreamsofautonomy 4 ай бұрын
This is a great idea!
@michaelmcnally9737
@michaelmcnally9737 4 ай бұрын
Hell yeah, I'm working on this exact thing right now. Thanks for doing all this research for me and sharing
@miko007
@miko007 4 ай бұрын
i am more of a bare repo kinda guy. some years ago, yadm came along to make that way easier to handle, and i have never looked back since.
@unnamed1479
@unnamed1479 4 ай бұрын
Since he initialized the repo inside of a folder where the config files actually lived, would it still make sense to make this repo a bare repo? Wouldn't it make more for only the remote origin to be a bare repo?
@miko007
@miko007 4 ай бұрын
@@unnamed1479 the remote always is a bare repo. no, in that case, it does not make any sense to go the bare repo route. but thats my whole argument. with the bare repo approach, the files can stay where they are, not need to fuddle around with symlinks etc., everything just stays where it belongs. also, yadm gives you tooling to address cases, where you use the same dotfiles repo on different operating systems etc. it is way more convenient in my opinion.
@NeatMemesDotCom
@NeatMemesDotCom 3 ай бұрын
I wish I could like this video twice.
@KevinLyda
@KevinLyda 3 ай бұрын
I use vcsh to manage my entire ~. It allows me to put ~ into multiple git repositories. So I can have a repo for history files, one for desktop systems, some for a base home dir, etc.
@ShreksSpliff
@ShreksSpliff 4 ай бұрын
Noob friendly but still concise, very nice!
@benjaminbras7475
@benjaminbras7475 4 ай бұрын
quick tip, you can use ctrl+l to clear the screen instead of running the clear command, works by out of the box in most shells
@a_maxed_out_handle_of_30_chars
@a_maxed_out_handle_of_30_chars 4 ай бұрын
yes, but the author wants to show he's clearing the screen so he uses the clear command to be more explicit
@dawnrazor
@dawnrazor 4 ай бұрын
Hey dude this video is brilliant I can now stop acting like a Neanderthal, with regard to how I manage my dot files. I always felt I was walking a tight rope making changes to my zshrc files that may or may not break without having a clean way to revert changes instead relying on manual backing up files with .back2 .back3 ad infinitum. Using stow alongside git is going to be fantastic so I thank you most wholeheartedly for making this video
@manoel.vilela.neoway
@manoel.vilela.neoway 3 ай бұрын
I've been using since 2017+- a bare repo setup very similar what stow does, but totally manually managed
@umairjibran7
@umairjibran7 4 ай бұрын
I need your terminal config!! Fonts, theme, EVERYTHING!
@Milotiiic
@Milotiiic 4 ай бұрын
I think he uses "Catppuccin" as theme and "JetbrainsMono Nerd Font" as the font
@umairjibran7
@umairjibran7 3 ай бұрын
Thanks@@Milotiiic
@RyanBaig
@RyanBaig 2 ай бұрын
Hey, what terminal styler (e.g Oh-my-posh, starship, etc) do you use? I like it alot. and also this helped me alot!
@devhammed
@devhammed Ай бұрын
I use yadm, it is much more easier because you don't have to worry about creating a separate folder, it uses bare repository but is a complete wrapper on Git. Just create the file where it is supposed to be and run "yadm add FILE" then "yadm commit -m 'fix: issue with my FILE'" then "yadm push". It also have things like templating for cases where you want to run some logic based on the OS and other factors. And to end it all, you can add a bootstrap script that can be run on new systems, useful for when you want to create a reproduceable setup.
@brainwater
@brainwater 4 ай бұрын
I simply created a shell script that created symlinks for each of my dotfiles. Stow will make it much easier and prevent me from having to add each new dotfile to the script
@MikeKasprzak
@MikeKasprzak 25 күн бұрын
Nice tip
NixOS: Everything Everywhere All At Once
15:10
No Boilerplate
Рет қаралды 264 М.
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 216 М.
When someone reclines their seat ✈️
00:21
Adam W
Рет қаралды 23 МЛН
ELE QUEBROU A TAÇA DE FUTEBOL
00:45
Matheus Kriwat
Рет қаралды 35 МЛН
zoxide has forever improved the way I navigate in the terminal.
9:53
Dreams of Autonomy
Рет қаралды 397 М.
Give Your Dotfiles a Home with GNU Stow
16:34
System Crafters
Рет қаралды 30 М.
Cutefish Desktop Via Arch - WSL - Windows 11 - CutefishOS - YouTube 2024
4:40
Mattias Vinberg - DevOps - IT-specialist
Рет қаралды 2 М.
We may have killed p10k, so I found the perfect replacement.
19:48
Dreams of Autonomy
Рет қаралды 48 М.
The Art of Linear Programming
18:56
Tom S
Рет қаралды 619 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 903 М.
Solving the Dotfiles Problem (And Learning Bash)
8:22
Bartek Spitza
Рет қаралды 85 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 395 М.
How The 'awk' Command Made Me A 10x Engineer
10:40
RobertElderSoftware
Рет қаралды 167 М.
How I Setup Neovim To Make It AMAZING in 2024: The Ultimate Guide
1:26:35
Josean Martinez
Рет қаралды 132 М.
When someone reclines their seat ✈️
00:21
Adam W
Рет қаралды 23 МЛН