Manage Your Dotfiles Like A Superhero

  Рет қаралды 15,972

Jake Wiesler

Jake Wiesler

Күн бұрын

In this fourth episode of the "Build A Portable Development Environment" series we call all of our relevant dotfiles into a common ".dotfiles" folder. By doing so, we are able to version control our configuration using Git! To accomplish this we will use a command line tool called GNU Stow.
If this video helped you, or you have any questions / concerns, let me know in the comment section below! ⚡️
📌 Other videos in the series
Build A Portable Development Environment With Nix Package Manager
• Build A Portable Devel...
Setting Up Zsh And Antibody
• Setting Up Zsh And Ant...
Neovim - Your First 15 Minutes
• Neovim - Your First 15...
⏰ Timestamps
0:00 Intro
2:49 Create a .dotfiles directory
3:37 How Stow works
8:29 Add configuration files to .dotfiles directory
19:56 Update install script
22:36 Version .dotfiles directory with Git
24:47 Conclusion
📝 Show Notes
Notion Template
jakewiesler.notion.site/Build...
GNU Stow
www.gnu.org/software/stow/
Manage Your Dotfiles Like A Superhero (Blog Post)
www.jakewiesler.com/blog/mana...
My Dotfiles
github.com/jakewies/.dotfiles
👋 About Me
Hey there! I'm Jake. I make KZfaq videos about all the cool things I learn in my pursuit to be a better software developer.
🐦 Connect with me on Twitter
/ jakewies
💌 Subscribe to my Newsletter
jakewiesler.com/newsletter

Пікірлер: 30
@poodapoorc
@poodapoorc 6 ай бұрын
I just stumbled upon your blog post on stow. It was super clear to read through and you've saved me a lot of time and researching to figure out a better way to set up my environment. I had a dotfiles repo and was not looking forward to copying or symlinking everything in there. Thanks so much for spreading the word on this awesome tool and providing instructions to get going quickly!
@jakewies
@jakewies 2 жыл бұрын
New drinking game! Drink everytime I say "directory" 😅
@jameswinston5369
@jameswinston5369 Жыл бұрын
This was all sorts of awesome. Total game-changer. Thank you!
@bertmeijeringh9559
@bertmeijeringh9559 5 ай бұрын
Thanks Jake. Awesome contribution. I'll stow my .dot-files right away. Keep up the good work!
@marcossantos1998
@marcossantos1998 2 жыл бұрын
thank you so much for doing this step by step, very helpful to beginners
@DanielTubul
@DanielTubul Жыл бұрын
Great explanations - so good I had to use the comment feature which i normally chose not to.
@smilin_dominator
@smilin_dominator 2 жыл бұрын
Thanks a lot for the amazing tutorial!
@tillw9730
@tillw9730 Жыл бұрын
Instead of creating the nested .config structure, I simply used stow nvim --target=
@arashitempesta
@arashitempesta 4 ай бұрын
thanks for the tip!
@duncan-mcrae
@duncan-mcrae 2 жыл бұрын
Thanks. Best video for stow
@JalukOne
@JalukOne 2 жыл бұрын
Thanks ! great job
@RodrigoStuchi
@RodrigoStuchi 2 жыл бұрын
Very cool content, I'll give a shot to stow. Tks
@jakewies
@jakewies 2 жыл бұрын
Awesome!
@chillydoog
@chillydoog 2 жыл бұрын
bless you
@sachak7001
@sachak7001 2 жыл бұрын
Hey, just followed your guide. Thanks, just set it up for me. How did you move lines up and down in Neovim?
@jakewies
@jakewies 2 жыл бұрын
Hey Sacha. I usually just cut a line with "D" and paste it where i want with "o" and "p". The former pastes a line above, the latter pastes a line below. There's probably more efficient ways but i haven't found myself looking for them yet.
@soymichelo75
@soymichelo75 2 жыл бұрын
awesome series jake :D just one question: if you intend to also take with you your p10k prompt configuration, should you also take any dotfile? or where does that config "live"? (I checked your GH and didn't see anything. I am a bit maniac about the prompt O:-)
@vikingthedude
@vikingthedude 11 ай бұрын
I use p10k and the dotfile i use is at ~/.p10k.zsh I haven't watched the whole video though so I'm not sure if this was answered already
@CNich90
@CNich90 11 күн бұрын
Is there an easy way to know which files are automatically generated and therefore should be ignored?
@joelpittet5957
@joelpittet5957 2 жыл бұрын
Great video, seems lots of videos and blogs of using stow 'packages' but in a bit of testing you can make your dotfiles repo the 'package' and do `stow .`. Any down side to that approach? I found it saved me from needing to reorganize my existing dotfiles in folders and only one stow command call though maybe I'm missing something from the need for that organization.
@vanadium4167
@vanadium4167 Жыл бұрын
That organization in different packages may indeed be less essential. You also could manage all of your dot files in a single package. In other use cases, it may be essential, e.g. when used for "stowing" files from manually compiled and installed programs, which may come with many files. Unstowing and deleting the package directory then uninstalls the application at once.
@Slate245Ivanovo
@Slate245Ivanovo 2 жыл бұрын
Just a thought: if you intent to clone .dotfiles folder into a new machine and then run install.sh, why do you install git as a part of a setup? It seems to me that you rely on it in the first place)
@jakewies
@jakewies 2 жыл бұрын
Great question. Someone asked this on another video in the series. Here was my response: "This is a great point that I failed to identify myself. It looks like git is pre-installed on both Linux and MacOS machines, however I'm not sure what version it will be. I can certainly run a test. So on one hand, yes, it's a little redundant to install git again. But on the other, installing with nix means git will be placed in a deterministic location on your machine similar to other packages, and updating should be easy through nix as well. But I really do want to test this out and see how it works in theory. I have a thought that maybe the nix version is never being used! lol Thanks for the heads up!"
@soymichelo75
@soymichelo75 2 жыл бұрын
hello Ivan, technically speaking, you can also download the files as such and unzip them (rudimentary, but would work)
@amit12000
@amit12000 2 жыл бұрын
why dont we not use bare repository and alias method which simple can u provide reason and advantage over bare repository and alias method
@jakewies
@jakewies 2 жыл бұрын
Bare repositories work fine. This way makes sense for me.
@coderzio
@coderzio 8 ай бұрын
Jee-en-you 😂
@pranavrk2622
@pranavrk2622 2 жыл бұрын
I played the game. Now I'm too drunk to remember who I am.
@jakewies
@jakewies 2 жыл бұрын
I hate when that happens
@1____-____1
@1____-____1 2 ай бұрын
Ga Nu, or Ga New. Dont keep saying G.N.U. It's a recursive acronym for GNU is Not Unix...
Never Setup A Development Environment From Scratch Again
19:35
Jake Wiesler
Рет қаралды 10 М.
Sync your .dotfiles with git and GNU #Stow like a pro!
38:16
DevInsideYou
Рет қаралды 29 М.
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 38 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 16 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 17 МЛН
NEVER lose dotfiles again with GNU Stow
14:33
typecraft
Рет қаралды 33 М.
Give Your Dotfiles a Home with GNU Stow
16:34
System Crafters
Рет қаралды 31 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 951 М.
Manage Your Dotfiles with Home Manager!
32:06
LibrePhoenix
Рет қаралды 51 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1 МЛН
Setting Up Zsh And Antibody
20:00
Jake Wiesler
Рет қаралды 11 М.
~/.dotfiles in 100 Seconds
13:54
Fireship
Рет қаралды 413 М.
Can I Run Youtube Entirely From My Terminal? (No Browser)
15:31
Neovim - Your First 15 Minutes
16:45
Jake Wiesler
Рет қаралды 38 М.
Manage your dotfiles across multiple machines with GNU Stow and Git
12:27
Это - iPhone 16!
16:29
Rozetked
Рет қаралды 440 М.
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 7 МЛН
My iPhone 15 pro max 😱🫣😂
0:21
Nadir Show
Рет қаралды 1,9 МЛН
КРАХ WINDOWS 19 ИЮЛЯ 2024 | ОБЪЯСНЯЕМ
10:04