~/.dotfiles in 100 Seconds

  Рет қаралды 420,375

Fireship

Fireship

Күн бұрын

What are dotfiles? Take to take your developer productivity to the next level 🥋👊 by automating the setup of your computer. Go beyond 100 seconds with special guest Patrick McDonald to setup your own dotfiles repo from scratch dotfiles.eieio....
What are dotfiles? wiki.archlinux...
Example repo github.com/eie...
Full Dotfiles Course dotfiles.eieio....
#dev #learntocode#100SecondsOfCode
Install the quiz app 🤓
iOS itunes.apple.c...
Android play.google.co...
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
My VS Code Theme
Atom One Dark
vscode-icons
Fira Code Font

Пікірлер: 446
@Fireship
@Fireship 3 жыл бұрын
Make sure to check out Patrick's course, I learned at bunch of cool tricks from it bit.ly/3anaaFh
@SpaghettDev
@SpaghettDev 3 жыл бұрын
Sure! Hopefully I'll learn more cool tricks than you!
@Sekai966
@Sekai966 3 жыл бұрын
I will not ruin the 69 sorry
@heatengine6058
@heatengine6058 Жыл бұрын
this guy who is the tutorial instructor has very bad voice and it looks like it's not his own
@dvogel2010
@dvogel2010 3 жыл бұрын
The best thing about 100 second videos is taking the opportunity to listen to topics you might have ignored. This is a perfect example.
@jaxsyntax
@jaxsyntax Жыл бұрын
13:53
@stephen9849
@stephen9849 3 жыл бұрын
Not the video we think we wanted, but the video we need
@valtersanches3124
@valtersanches3124 Жыл бұрын
I love how he talks to us like we're mentally challenged. Really needed that to understand some of this topics
@TheKer7
@TheKer7 8 ай бұрын
What do you mean 'like'?
@surfingbilly9654
@surfingbilly9654 6 ай бұрын
we are tho 😂💀🤣🤦👏🤓💯♿🔥🗿🤯🫡😖🧢
@toxaq
@toxaq 3 жыл бұрын
This is what Siri’s voice should sound like.
@perfect.stealth
@perfect.stealth 3 жыл бұрын
Lmao
@unknownman1
@unknownman1 3 жыл бұрын
lol
@XerosOfficial
@XerosOfficial 2 жыл бұрын
Sounds like Siri but Obama
@mrchristoph5674
@mrchristoph5674 2 жыл бұрын
Preach
@sylver9547
@sylver9547 2 жыл бұрын
Sounds like lord gaben recording the tutorial
@SpaYco
@SpaYco 3 жыл бұрын
"To *git* started", i heard that
@surfingbilly9654
@surfingbilly9654 6 ай бұрын
😂💀🤣🤦👏🤓💯♿🔥🗿🤯🫡😖🧢
@its_vincesanity
@its_vincesanity 3 жыл бұрын
Imagine Patrick saying "In a World..."
@stephenhilson119
@stephenhilson119 3 жыл бұрын
No kidding his voice is like those old school no BS narrators.
@Fireship
@Fireship 3 жыл бұрын
kzbin.info/www/bejne/f3PKeWWHbN2SeM0
@athreyamurali1439
@athreyamurali1439 3 жыл бұрын
Nicely done
@SpaghettDev
@SpaghettDev 3 жыл бұрын
hm
@yt-sh
@yt-sh 3 жыл бұрын
@@Fireship Hello, I am learning Devops and I see you were taking recommendations. Can you make these in 100 sec or more: Ansible Jenkins Puppet Chef & other devops tools. Thanks
@user-wc1sm8cj8s
@user-wc1sm8cj8s 3 жыл бұрын
I haven't thought of having my own dot files repo before. Thanks for this realization and another lesson!
@alexhooper27
@alexhooper27 3 жыл бұрын
Is it just me or does 100 seconds get longer each episode?
@shashidhar71
@shashidhar71 3 жыл бұрын
Is to avoid KZbin demonetization of short videos.
@rudro314
@rudro314 3 жыл бұрын
is it just me or is this video getting kinda thicccccccc
@SirusStarTV
@SirusStarTV 3 жыл бұрын
@@shashidhar71 oh, that's where generosity comes from
@giuseppelanna
@giuseppelanna 2 жыл бұрын
1000 seconds now
@enossoares6907
@enossoares6907 2 жыл бұрын
Good
@phiwatec2576
@phiwatec2576 3 жыл бұрын
Be careful NOT to upload the .ssh dir to a public repo. This directory contains the ssh config file and private keys for logging into remote machines (Webservers etc.). If they would be public anyone could log into those machines and possibly get root access.
@spell105
@spell105 Жыл бұрын
You should not upload such information period.
@robonator2945
@robonator2945 7 ай бұрын
​@@spell105 incorrect, failing to have these files backed up to an external source is, well, let's not beat around the bush it's bloody stupid. You *_should_* upload them to other places, but only to places you directly control and can ensure are secure. Frankly I wouldn't upload or backup *_anything_* I care about to an external service I don't manage. Some people mitigate this by only uploading encrypted copies, meaning the external service provider never gets an unencrypted version of any of your data, and that can be good for an offsite backup, but personally even that feels like flying a bit close to the sun if you ask me. Another thing you should do if you care about security is put passwords on your SSH keys, so even if the keys get leaked they're still not usable. Alternatively you can buy a hardware security key and store keys on that instead, with the keyfiles only referencing the true resident keys stored on the hardware-key. Unfortunately as far as I understand it FIDO2 is not quantum safe so there is an arguable hit to your security if you go that route. To be clear, chances are you will never have someone attacking you via quantum cracking, but it *_is_* a weakness and there is already strong evidence that governments are following a "store now, decrypt later" approach. If quantum computers continue to improve at the same rate classical computers did, that *_does_* mean that, eventually, your data may be forcefully decrypted. Personally though I'd argue the benefit of using a FIDO2 resident key is that you can setup your SSH config to first require a resident key *_then_* require a password. This should mitigate the weakpoints of both while keeping the security layered so that if one is compromised the other should remain secure. Granted though, I'm not all that savvy when it comes to the nit and grit of cryptography so take that advice as exactly what it is; the ramblings of a jackass in a youtube comment section's replies.
@1u8taheb6
@1u8taheb6 3 жыл бұрын
Love how you're combining the short videos with the long. Best of both worlds.
@jackkendall6420
@jackkendall6420 3 жыл бұрын
A quick intro to Vim would be a good fit for a 100 seconds video -- what do you think?
@NovaAquarius
@NovaAquarius 3 жыл бұрын
I think we would need beyond 100 seconds version for vim
@MarvinJWendt
@MarvinJWendt 3 жыл бұрын
It's likely gonna be 99 seconds of how to exit vim ^^
@TurboBorsuk
@TurboBorsuk 3 жыл бұрын
I totally feel you
@Lensbreak
@Lensbreak 3 жыл бұрын
.ssh folder MUST NOT be on github for safety reasons!
@olirules1074
@olirules1074 3 жыл бұрын
Yeah only the config stuff should be there
@D0Samp
@D0Samp 2 жыл бұрын
@@olirules1074 Even that is questionable. For example, the whole point of a hashed known_hosts file (which itself should probably not included in a public repository) becomes moot when your config file contains all those host names in the open.
@Nodsaibot
@Nodsaibot 2 жыл бұрын
also need the .passwd file in there
@Raekh_
@Raekh_ Жыл бұрын
You can use stow to do this very efficiently. You can even make a script running stow on every folder/file in your ~/.dotfiles folder and it will do the work for you.
@BG-fo4si
@BG-fo4si 3 жыл бұрын
This godlike voice of Patrick made me feel so safe...
@MrDadidou
@MrDadidou 3 жыл бұрын
12:36 a good tool to symlink everything is Stow with dootfiles in ~/my_git_repos/dootfiles : 1. cd ~/my_git_repos 2. stow -v -R -t ~ dootfiles_folder
@mohammadimran2219
@mohammadimran2219 3 жыл бұрын
1:53 I though it was some kind of intro for Patrick
@shubhranildutta9564
@shubhranildutta9564 3 жыл бұрын
Dropping a like before I watch this video, 'cause I already know it's going to be good!
@fathnakbar
@fathnakbar 3 жыл бұрын
He sounds like nineties ads voice over
@_smhmd
@_smhmd 3 жыл бұрын
In all honesty, this is a really cumbersome approach. A bare repo is the way to go.
@Nukelover
@Nukelover 7 ай бұрын
I used to just use a bare repo before, but restoration wasn't smooth. I've moved back to using stow.
@TheDeathMongrel
@TheDeathMongrel 3 жыл бұрын
Using git and dotfiles in this way is something that never occurred to me. Thanks for the enlightenment!
@g-luu
@g-luu 3 жыл бұрын
This was surprisingly valuable. Thank you Jeff and company.
@TheJobCompany
@TheJobCompany 3 жыл бұрын
Ending every line of bash with a semicolon is the most soydev thing I've ever seen, I'm proud of you, Jeff!
@Fireship
@Fireship 3 жыл бұрын
Haha, it's his fault 👉 github.com/mathiasbynens/dotfiles
@dandoe2461
@dandoe2461 3 жыл бұрын
didn't realise soydevs knew what dotfiles where!!!!!
@TheOPtmal
@TheOPtmal 3 жыл бұрын
I like Jeff's content but I agree, he's a soydev.
@jackkendall6420
@jackkendall6420 3 жыл бұрын
Mom, I'm sorry, but you don't understand, he put my argument under an image of a soyjak, I have to kill myself
@adamjones7497
@adamjones7497 3 жыл бұрын
*were, Zing Fail.
@Fireship
@Fireship 3 жыл бұрын
just wait until you see my vim skills
@jeetadityachatterjee6995
@jeetadityachatterjee6995 3 жыл бұрын
@@Fireship vim in 100 seconds when?
@sco1369
@sco1369 3 жыл бұрын
Patricks voice though 🤤
@Jaybearno
@Jaybearno 2 жыл бұрын
I LOVE the 100s series. Please keep making them!!
@richienguyen2703
@richienguyen2703 3 жыл бұрын
this beyond 100 seconds video is beyond my expectation!
@givingittoyouraw4101
@givingittoyouraw4101 Жыл бұрын
Thank you Fireship and Patrick for this fantastic tutorial! Made everything so easy.
@11MyName111
@11MyName111 3 жыл бұрын
I was watching videos about git bare repos and storing dotfiles 2 days ago and here you are! Great timing! The bare repo way looks more elegant to me (no ln links). I'll try them both now
@WojciechFrancuzik
@WojciechFrancuzik 3 жыл бұрын
Exactly what I was wondering the whole video. Bare repos are really objectively better. You don't move files to other folders just commit them whey they live naturally.
@BakrAli10
@BakrAli10 Жыл бұрын
​@@WojciechFrancuzikwhat are bare repos? Can you recommend me a good one to try?
@TheTn1010
@TheTn1010 3 жыл бұрын
Patrick sounds like professional voice over guy!
@YoungGrizzly
@YoungGrizzly 3 жыл бұрын
Ive done this in other ways but just never connected the dots to do this with system file. Simple and usual. Thanks!
@tejas8417
@tejas8417 3 жыл бұрын
Awesome video as always sir! Would love to see more of these 💖💖💖 Lots of love
@MrZerosixZeroone
@MrZerosixZeroone 3 жыл бұрын
This is the ultimate procrastination task
@jacksontaylor3220
@jacksontaylor3220 3 жыл бұрын
Great video! The tutorial at the end was so helpful, I might even try out that course
@dlodeprojuicer
@dlodeprojuicer 3 жыл бұрын
Patrick can sing any rap song and make it sound church friendly.
@iamzubin
@iamzubin 3 жыл бұрын
wait, why do I feel like it's more than 100 seconds?
@nerdiloo9863
@nerdiloo9863 3 жыл бұрын
You're listening at high speed so everything seems like slow motion, that's why.
@sodiboo
@sodiboo 3 жыл бұрын
cause this one also goes beyond 100 seconds after explaining it in 100 seconds
@farhanaditya2647
@farhanaditya2647 3 жыл бұрын
because it is
@thefreeze6023
@thefreeze6023 3 жыл бұрын
Came for dotfiles Stayed for Patrick's voice
@richardbennett4365
@richardbennett4365 Жыл бұрын
Two points I'd make: First, it's a fantastic video and tutorial. Setting a git repository for one's dot files and dot directories will be so helpful for 1) the personalization of a rofi configuration. I spent over 2 hours getting rofi to work on a new machine as I had configured it on the first, and 2) it could be helpful for creating all the suggested subvolumes in btrfs, and 3) it could help with moving and symbolically linking Desktop, Documents, Pictures, Movies, Downloads, Templates, etc.from /home/user56 to /data/Users/user56/" on that separate partition as is suggested by tge folks who brilliantly work on siduction. See siduction manual about moving home.
@liondeluxe3834
@liondeluxe3834 3 жыл бұрын
This collab was fire
@pandavroomvroom
@pandavroomvroom 3 жыл бұрын
this is a win-win, we get 100 seconds videos with longer videos for yt algorithm
@AutisticThinker
@AutisticThinker 3 жыл бұрын
9:37 - Exiting Vim, LOL... So true. :)
@gavintillman1884
@gavintillman1884 5 ай бұрын
Lots of good stuff here. I did start the Udemy course, but never finished - work and other stuff gets in the way (coding is something I do for fun, not my job, though I'm hoping to do more n ow that I am working part time, transiationing to retirement) -- I'll be sure to go back and finish the course!
@shoukomi-sama
@shoukomi-sama 3 жыл бұрын
Environment variables next please
@ByteBound_
@ByteBound_ Жыл бұрын
bruh this aint 100 seconds
@blackstone12
@blackstone12 2 ай бұрын
Wait, Fireship's 100 seconds videos aren't 100 seconds? 🔫 Never we're.
@herkatron
@herkatron Ай бұрын
Bro, you realize you’re supposed play this video in 8.33x speed and it’s 100 seconds, right? Are you dumb 😂
@Boltkiller96
@Boltkiller96 Ай бұрын
​@@blackstone12 "never we are"
@prathameshmawale484
@prathameshmawale484 2 жыл бұрын
Patrick's voice is like those 90's commercials
@RedStone576
@RedStone576 3 жыл бұрын
yoooooo why patrick voice is soo damn good
@thiagoassisfernandes
@thiagoassisfernandes Жыл бұрын
Oh my god this dude's voice, is soooo pleasing
@plasmadice
@plasmadice Жыл бұрын
JESUS CHRIST I finally understand symlinks now. I can rest in peace.
@SouProds
@SouProds 2 жыл бұрын
Thanks for the help on setting dotfiles up! This really helped me.
@cirusMEDIA
@cirusMEDIA 2 жыл бұрын
I think Patrick needs a beer!
@developerpranav
@developerpranav 3 жыл бұрын
I'm gonna use symlinks too now! Thanks a lot both of you 😃
@eieioxyz
@eieioxyz 3 жыл бұрын
Symlinks are cool, but there are solutions to help you automate that part. I use Dotbot in the course.
@CodingNuggets
@CodingNuggets 3 жыл бұрын
Dotfiles in 100 seconds. Hmm. More like dotfiles in 524 git commits and 3 years. I wish I could create my dotfiles in 100 seconds. Thanks for this content. Will be super helpful to people who don't know about them. See you soon!
@eieioxyz
@eieioxyz 3 жыл бұрын
Indeed. The course is already 4+ hours and I have a ways to go.
@RonnieNissan
@RonnieNissan 3 жыл бұрын
With RCM, you can create them in a minute
@lukasli1772
@lukasli1772 3 жыл бұрын
This new twist to the 100sec format is awesome :)
@bkhd
@bkhd 3 жыл бұрын
I'll try automating the installation process on my Mac before purchasing a new one. Thanks for the video.
@akshatsingh7286
@akshatsingh7286 3 жыл бұрын
Love your content!! Please make a whole series on web dev. Love from INDIA!!
@neillunavat
@neillunavat 3 жыл бұрын
Damn, how do you create those stunning animations? 😍
@joepotentier
@joepotentier 3 жыл бұрын
This is awesome! Didn’t even think of it, my dot files are a disaster right now.
@Fizcakesprite
@Fizcakesprite 2 ай бұрын
dotfiles are files with a . at the beginning, that's the basic and short answer, they are usually pre made as configurations for your PC, and are hidden from some operating systems.
@katech6020
@katech6020 3 жыл бұрын
For managing dotfiles, I use yadm package on Linux, which is way easier
@leonamer4054
@leonamer4054 3 жыл бұрын
I tried yadm, but I like GNU stow better for the way I manage my repo and the minimalist approach
@katech6020
@katech6020 3 жыл бұрын
@@leonamer4054 I will have a look at it
@ansarnisargill
@ansarnisargill 3 жыл бұрын
And they said "Avengers" was best superhero collaboration!
@robschn
@robschn 3 жыл бұрын
love this format! keep cracking that KZbin algorithm!
@byakka
@byakka 3 жыл бұрын
Oh my, thanks for the ⌘⇧. I had no idea that shortcut exists. It's not even in the menu!
@wellswatti
@wellswatti 3 жыл бұрын
So many things I enjoyed about this video. Ty!!
@karthikeyan4963
@karthikeyan4963 3 жыл бұрын
Such a super creater i found on KZbin
@justafreak15able
@justafreak15able 3 жыл бұрын
OMG THAT VOICE!!!!!!!!
@chester.eucrine
@chester.eucrine 3 жыл бұрын
Was about to save this on watch later, then I was like "wait this is only a 100s"
@AryanLokar
@AryanLokar 3 жыл бұрын
The Only One Chanelle for developers
@paulmel4411
@paulmel4411 3 жыл бұрын
The video was great. And the symlink approach is revealing, I'll definitely use it. Thanks! But the guy explaining it looks like he comes directly from Krypton!! 😂
@luks1337
@luks1337 3 жыл бұрын
You can use bare repo for managing the dotfiles it is much easier and you can create an alias to command to do commit add push ... that's what I do!
@shinobi77
@shinobi77 3 жыл бұрын
His voice reminds me of the legendary commercial voices in 70s
@jesselima_dev
@jesselima_dev 3 жыл бұрын
Just one word for this: WOW
@alex08585
@alex08585 3 жыл бұрын
Me: Hey! Duke Nukem, what are you up to these days? Duke Nukem: I'm giving online courses Me:😲
@WhenIHit88MPH
@WhenIHit88MPH 3 жыл бұрын
Great Video! I love the collaboration, a sign of a healthy community.
@markilabot14
@markilabot14 3 жыл бұрын
Not actually 100 Seconds but it still worth anyone's time.
@chairlovawitabat
@chairlovawitabat 3 жыл бұрын
THANK YOU SO MUCH. I have a repo just like this but could not figure out what to do with dot files needing to be in two locations at once. SYM LINKS. Thanks !! 🙏🏼🙏🏼🙏🏼
@itssidhere
@itssidhere 3 жыл бұрын
Legend says this is going to be the next voice of Jarvis
@brianevans4
@brianevans4 3 жыл бұрын
Uploads .env to github ** instantly regrets it
@fikrad0
@fikrad0 3 жыл бұрын
But their is security risk if someone but hands on like some sensitive file like .ssh
@haomingxia2109
@haomingxia2109 3 жыл бұрын
You can just leave .ssh out of the git repo
@tilakmadichettitheappdeveloper
@tilakmadichettitheappdeveloper 3 жыл бұрын
I used to put ".gitignore" in .gitgnore to not ignore the other dot files . Now I know I can just simply leave empty the .gitignore. thanks ! 🙏
@alecjordan6100
@alecjordan6100 3 жыл бұрын
I’m late but, A Boyz n’ the hood reference and on the first day of black history month? Well done, my friend. 👌🏾
@micmacha
@micmacha 2 жыл бұрын
A lot of the time you can literally just copy them over... it's amazing just how much of, say, a Linux DE, is contained in the dot files alone.
@tigerboy4705
@tigerboy4705 Жыл бұрын
Me using i3 and litterally just copying .config/i3 over and have ererytging like I want it
@redgeoblaze3752
@redgeoblaze3752 3 жыл бұрын
One of these days I'll be bothered to make an install script for when I reinstall my OS. I'm pretty sure that that day will be the last time I need to install my OS for the next ten years though.
@cheng6523
@cheng6523 3 жыл бұрын
"It will take you more than half an hour to exit Vim" 😂
@kluplau
@kluplau Жыл бұрын
Patrick needs to make videos on KZbin himself too 💪💪
@nodidog
@nodidog 3 жыл бұрын
Udemy course purchased 👍
@tictoktrending7184
@tictoktrending7184 3 жыл бұрын
Is it me or he just really sounds like a god
@datswissguy5387
@datswissguy5387 3 жыл бұрын
I recently changed to Vim and Vim style input in my IDE. It's awesome, no more issues quitting the git commit prompt ;)
@ПанЧиЛо
@ПанЧиЛо 3 жыл бұрын
Another option would be to use GNU Stow to manage your dotfiles.
@nandordudas
@nandordudas 3 жыл бұрын
Im using gists and share them between different os and places - home, work. But this solution is more elegant
@seetlive
@seetlive 3 жыл бұрын
Awesome tips, thank you guys!
@tomaszsikora6723
@tomaszsikora6723 2 жыл бұрын
enrolled to the course on udemy. 👍
@heymakelemonades
@heymakelemonades Жыл бұрын
I HAVE to ask if the guest has a Channel ?! i would enjoy following him too and i believe that it is not just me
@jaysonbunnell8097
@jaysonbunnell8097 3 жыл бұрын
I keep my screenshots in a ~/Desktop/.mydotfiles/Screenshots folder, pinned to my file explorer. Dotfiles are so useful. I have several other folders like that.
@Davsan1
@Davsan1 3 жыл бұрын
Loved the first part, but TBH am not a big fan of the OS-specific part
@vivekteega
@vivekteega Жыл бұрын
This is awesome, thank you
@karasirarichard3358
@karasirarichard3358 3 жыл бұрын
Quality 🔥🔥🔥.... This is quality content
@soflass1293
@soflass1293 7 ай бұрын
i'm lovin' it
@tythedev9582
@tythedev9582 3 жыл бұрын
I like using GNU Stow to manage symlinks from the dotfile repo.
@ngochunglongnguyen4523
@ngochunglongnguyen4523 2 жыл бұрын
Thanks, this video is super useful!
@ack_
@ack_ 3 жыл бұрын
Karate vibes 🥋
NEVER lose dotfiles again with GNU Stow
14:33
typecraft
Рет қаралды 46 М.
I tried 10 code editors
10:28
Fireship
Рет қаралды 3 МЛН
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 4,4 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 18 МЛН
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 43 МЛН
ЭТО НАСТОЯЩАЯ МАГИЯ😬😬😬
00:19
Chapitosiki
Рет қаралды 3,5 МЛН
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 1,1 МЛН
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1 МЛН
13 Advanced (but useful) Git Techniques and Shortcuts
8:07
Fireship
Рет қаралды 918 М.
10 regrets of experienced programmers
8:16
Fireship
Рет қаралды 1,4 МЛН
Vim in 100 Seconds
11:53
Fireship
Рет қаралды 1,1 МЛН
Stow has forever changed the way I manage my dotfiles
8:09
Dreams of Autonomy
Рет қаралды 246 М.
why do header files even exist?
10:53
Low Level
Рет қаралды 411 М.
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,4 МЛН
Become a shell wizard in ~12 mins
12:25
CODE IS EVERYTHING
Рет қаралды 251 М.
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 4,4 МЛН