Dotfiles! Here's how I organize them.

  Рет қаралды 49,233

Andrew Burgess

Andrew Burgess

Күн бұрын

Пікірлер: 53
@maurolimaok
@maurolimaok 3 күн бұрын
This is a very nice channel. Thanks for the videos.
@pantasioinfo
@pantasioinfo 2 жыл бұрын
Stow still the best. Stow is the symbolic link farm manager.
@TheArnold002
@TheArnold002 10 ай бұрын
Wouldn't they solve different use-cases? This seems is better for having a different hierarchy in the dotfile directory than the symlinked directory. As well as allows for a relationship between the two besides a direct parent/child relation.
@rickyindragunawan384
@rickyindragunawan384 3 ай бұрын
@@TheArnold002 not really, using stow you can also have different hierarchy and they don't have to be parent/child relation you can set them manually, see the 'man stow'
@darthkielbasa
@darthkielbasa 10 ай бұрын
I’m very been tossing around the idea of organizing dotfiles. The algorithm knows me well.
@laughingvampire7555
@laughingvampire7555 Жыл бұрын
homebrew also makes it for linux, they call it Linuxbrew and the command works just the same, the problem is that the packages are a lot less.
@Metruzanca
@Metruzanca 2 жыл бұрын
4:40 - I have wanted to do the same exact thing and then I found that brew actually works on linux (you just can't use casks). So for stuff like alacritty you'll need to either use apt/pacman or use cargo install alacritty (which will take some time to build from src). I'm also trying to support a WSL setup where I'd need to use winget for alacritty and symlink the config over on the windows fs (messy).
@uaQt
@uaQt 7 ай бұрын
Would imagine Windows is not as good for this as a Unix based option
@HyperFocusMarshmallow
@HyperFocusMarshmallow Жыл бұрын
To actually have scripts that would be setup everything on a new Mac (or whatever) seems like it could need a lot of work to maintain. Unless you do it very often it might be better to just do a bit of it manually. I guess you could do broad outline stuff.
@biscotty6669
@biscotty6669 10 ай бұрын
Isn't stow (gnu) available on mac?
@TheArnold002
@TheArnold002 10 ай бұрын
It is. Though I imagine this is better for having a different hierarchy in the dotfile directory than the symlinked directory. As well as allows for a relationship between the two besides a direct parent/child relation.
@matthewbell5282
@matthewbell5282 2 жыл бұрын
Hey really liking your videos. Wondering if you could you make one about when to use *.d.ts vs just putting your types in the same file as your regular code. (How to organize a typescript project)
@andrew-burgess
@andrew-burgess 2 жыл бұрын
Greta idea, thanks! Adding it to my list 👍
@larzonForYa
@larzonForYa 2 жыл бұрын
+1 for this! :)
@Microphunktv-jb3kj
@Microphunktv-jb3kj 2 жыл бұрын
the only time you should be writing definition files (*.d.ts) manually is if you're converting a javascript library for typesafe use in typescript. Otherwise typescript will generate definition files for your library automatically when you build it.
@thi-m10
@thi-m10 Жыл бұрын
Currently I'm working on a AngularJS legacy project with no perspective of being upgraded to Typescript or any modern framework even in a long term. So I'm starting to use some *.d.ts files and import then as comments just for intellisense and to show off to my backend collegues that Javascript is not as bad as they think, it just need some types.
@rmdev
@rmdev Жыл бұрын
Any plans to show off what kind of equipment you're using? I'm interested in knowing what your keyboard is
@andrew-burgess
@andrew-burgess Жыл бұрын
That could be a fun video! Thanks for the suggestion!
@Marcus001
@Marcus001 4 ай бұрын
Can this be platform agnostic? I have a Mac but I want to be able to sync without problems with a Linux machine
@ezswan
@ezswan 4 ай бұрын
ive been using stow. however i still am confused about the application. are you supposed to keep a repository of dotfiles within ~/dotfiles separate from .config files?
@TreeLuvBurdpu
@TreeLuvBurdpu 11 ай бұрын
Wait, I'm new to this a little, coming from Windows. Others are using Ansible for the installs. Is Alacrity like that?
@aim__freakz8499
@aim__freakz8499 11 ай бұрын
alacritty is just a terminal
@mrlectus
@mrlectus 7 ай бұрын
does this mean i have to move every config from .config to dotfile and then symlink them back to .config?
@WilsonMar1
@WilsonMar1 5 ай бұрын
Why do you use zsh instead of bash when Linux is bash?
@adampatterson
@adampatterson 2 ай бұрын
Did I detect a bit of a Canadian / Ontario accent?
@andrew-burgess
@andrew-burgess 2 ай бұрын
Ha! Spot on!
@adampatterson
@adampatterson 2 ай бұрын
@@andrew-burgess I suspected when you said mouse. 😂
@wendlefluff
@wendlefluff 10 ай бұрын
Have you tried linux brew?
@dimaj1
@dimaj1 Жыл бұрын
Very cool setup! I just redid mine using zshell, it allows you to install dependencies from various sources (primarily git-based). For example, if I want to install 'exa', I would do something like this: zi ice wait'!' from"gh-r" as"program" pick"bin/exa" \ atload"alias ls='exa'; alias tree='exa -T'" zi light ogham/exa and it would automatically figure out which release to get based on the computer I am on.
@ganeshbabu8263
@ganeshbabu8263 10 ай бұрын
That precmd make sense 😊
@wilfredv1930
@wilfredv1930 2 жыл бұрын
thanks for sharing
@michaelkrailo5725
@michaelkrailo5725 9 ай бұрын
And Alacritty changed from yml to toml. Nothing like constant change to keep you on your toes.
@ozmosyd
@ozmosyd Жыл бұрын
Love it. Thanks for sharing chap!
@alonso0188
@alonso0188 Жыл бұрын
Thanks manito.
@wolfisraging
@wolfisraging 9 ай бұрын
use gnu stow!
@anasouardini
@anasouardini Жыл бұрын
Why the symlinks? use a bare repository.
@andrew-burgess
@andrew-burgess Жыл бұрын
Not familiar with that approach, can you say more?
@maradevv
@maradevv Жыл бұрын
Love the channel btw!
@anasouardini
@anasouardini Жыл бұрын
​@@andrew-burgess If only youtube would get off their asses and fix that filtering criteria. It might be the totally legit link I pasted although it was a really known domain name(atlasian). Anyways, the idea is that you use a bare git repository where the file system of the repo is your $HOME, and the repo itself is in its own directory, say .dotfiles, and then you only track the files from your home that need to be included in the repo, and every time you add>commit>push it'll only pick the up the changes of those explicitly tracked files. If you google it, you'll get an atlasian page explaining that. Sorry I can't link it because of the really smart team behind youtube's interface. I hope this doesn't get deleted.
@aim__freakz8499
@aim__freakz8499 11 ай бұрын
@@anasouardini this sounds amazing
@devchaudhary78
@devchaudhary78 9 күн бұрын
Jack Ryan?
@HyperFocusMarshmallow
@HyperFocusMarshmallow Жыл бұрын
Great stuff!
@BrunoReisVideo
@BrunoReisVideo 2 жыл бұрын
oh wow you were fast 😅
@joshpack
@joshpack Жыл бұрын
You lost me at Zed 🤣
@StefanoPompa
@StefanoPompa 11 ай бұрын
I think NixOs could interest you
@bulelanibotman
@bulelanibotman 2 жыл бұрын
informative video! thank you for sharing
@moneyfr
@moneyfr 2 жыл бұрын
I use chezmoi it's great I can encrypt my private rc dot files with "age"
@siuyutpang2335
@siuyutpang2335 11 ай бұрын
use precmd partially source alias is genius 😂
@caseyriley1014
@caseyriley1014 7 ай бұрын
I just have an alias for it😂, which works perfectly, bc my previous aliases are already sourced. You might like these When I want to use a new alias, I type src, which sources my ~/.bash_aliases When I want to add a new alias, I run "nalias" which stands for either new alias or really... nano alias, bc all it does is nano ~/.bash_aliases Another one I love is ca=clear &&, because the default ctrl+L in my main systems terminal just adds whitespace, and doesn't actually CLEAR the terminal, so you can scroll up, and see everything is still there. (I can probably change that, but i like having both options) Anyway, today I also added ofs open filesystem (manager)... which as a command is... xdg-open $(pwd) Shellp opens my "shellp" file (shell help), to quickly give me reminders on how to use things I've been trying to learn recently and keep forgetting.
@fms6306
@fms6306 2 жыл бұрын
You left nvim 😱 what are you using now instead and don't say vscode
@andrew-burgess
@andrew-burgess 2 жыл бұрын
Still neovim! Just been trying out an nvim config set called lunarvim. Liking it so far!
Build better shell scripts with ShellCheck [Terminal Velocity 6]
9:06
Andrew Burgess
Рет қаралды 4,8 М.
How to use WeakMap and WeakSet in JavaScript
7:02
Andrew Burgess
Рет қаралды 5 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Qué son los DOTFILES y cómo CONFIGURARLOS
12:18
Caos Binario
Рет қаралды 1,5 М.
NEVER lose dotfiles again with GNU Stow
14:33
typecraft
Рет қаралды 64 М.
Git Bare Repository - A Better Way To Manage Dotfiles
16:56
DistroTube
Рет қаралды 134 М.
Stow has forever changed the way I manage my dotfiles
8:09
Dreams of Autonomy
Рет қаралды 273 М.
~/.dotfiles in 100 Seconds
13:54
Fireship
Рет қаралды 429 М.
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 302 М.
Manage Your Dotfiles Like A Superhero
25:39
Jake Wiesler
Рет қаралды 17 М.
Bash vs ZSH vs Fish: What's the Difference?
13:32
Eric Murphy
Рет қаралды 197 М.
The ultimate dotfiles setup
9:36
CODE IS EVERYTHING
Рет қаралды 30 М.
Solving the Dotfiles Problem (And Learning Bash)
8:22
Bartek Spitza
Рет қаралды 93 М.