Never Setup A Development Environment From Scratch Again

  Рет қаралды 10,198

Jake Wiesler

Jake Wiesler

Күн бұрын

Пікірлер: 40
@nullcheque
@nullcheque 2 жыл бұрын
This was such a great series, please continue making content
@hossameldinabdin6932
@hossameldinabdin6932 3 жыл бұрын
Great video and series! I enjoyed and learned a ton
@jakewies
@jakewies 3 жыл бұрын
Thank you!
@LudoTechWorld
@LudoTechWorld 3 жыл бұрын
I followed the all series and started to apply it (I'm still configuring neovim since I use lua for the configuration and packer and need a bit of time to get into it!). It's a very interesting series, very well explained and it was a real pleasure to follow it! Also the two articles you wrote are great. I'd love to see more videos about neovim config/utilisation of plugins, or the zsh plugins you choose (how to use them). I know I can find all the information in the various doc but to complement, having someone like you - with good teaching skills - in a video format can be helpful :)
@jakewies
@jakewies 3 жыл бұрын
Thanks Ludo I'm glad you found it helpful :) How is packer? I've been thinking about trying it out. I appreciate your feedback and I'll definitely plan some neovim / zsh videos!
@EdgeOfObsurity
@EdgeOfObsurity 2 жыл бұрын
Great series! Silly question, how did you git clone when you had not yet installed it from nix?
@estebanmarin002
@estebanmarin002 2 жыл бұрын
Thank you very much for this series. Definitely got me inspired to build my own setup! de mistified Nix for my own personal use, cheers for that!
@Nick-cu1eg
@Nick-cu1eg 2 жыл бұрын
You can run "exec zsh" in your install script to automatically switch current shell to zsh without having to open a new window.
@laughingvampire7555
@laughingvampire7555 Жыл бұрын
fax
@siksniper1996
@siksniper1996 2 жыл бұрын
Have you looked into managing your dot files with nix instead of stow?
@deepakramani05
@deepakramani05 3 жыл бұрын
Hey Jake, Binge watched the series. Loved it. I love the idea of cloning dotfiles, run a script, boom! development setup complete. I wasn't aware of GNU Stow. It makes my task after cloning much easier. I read your blog on setting up Neovim as IDE. First off, bravo for having the patience to write such a detailed, technical post. Naturally, it is lot to digest on one read. LSP section is the hardest to comprehend; may be cos my setup with python. In the future, can you please make a long-ish video on installing LSP in Neovim? Also would be lovely if you can script that setup too. Two or three scripts complete a dev environment would be awesome. What future videos have you planned?
@jakewies
@jakewies 3 жыл бұрын
Hey Deepak! Wow I'm really happy that you received so much value from the series. It was a blast to make. The blog post did not intend to be a mini book, but alas, there was a lot to right lol. Neovim LSP configuration is tough for newcomers. I'm still wrapping my brain around it. Love Neovim but the "right way" to do a thing is not obvious at first. Most answers are buried in plugin READMEs and GitHub issues. That being said, I'm working on a few Neovim videos right now that will go in depth on some of these concepts, LSP included. The neovim series will go in depth on some of the major buckets, like LSP, searching for files/text, customizing the UI, autocompletion, and eventually working with Lua.
@lightfire276
@lightfire276 3 жыл бұрын
amazing content 🔥🔥🔥
@jakewies
@jakewies 3 жыл бұрын
Thank you Karim!
@idohirsh2226
@idohirsh2226 3 жыл бұрын
Just wow!
@jakewies
@jakewies 3 жыл бұрын
:D
@JipperGoneWild
@JipperGoneWild 3 жыл бұрын
Very similar to my setup! Main difference is that I don't use Nix, because half of the Linux systems I use are on servers where I don't have admin privileges, so for now my script installs from source if the commands don't exist. Pretty tedious to setup at first, but it works. Also, regarding how to run zsh after your install script, you can do something like below. The servers I ssh into always startup in bash, and since I can't "chsh", I manually execute zsh from the .bash_profile file: if command -v zsh &> /dev/null then exec zsh else if [ -f ~/.bashrc ]; then . ~/.bashrc fi fi
@jakewies
@jakewies 3 жыл бұрын
Hey Wes! Thank you for this tip :D I'm going to test it out later and see how it works for me.
@nbn22385
@nbn22385 3 жыл бұрын
You can also version control your .p10k.zsh file so you don't have to go through the setup wizard each time.
@jakewies
@jakewies 3 жыл бұрын
This is true!
@abidanbrito
@abidanbrito 3 жыл бұрын
Great series, I really liked it! Minor caveat: the script installs git with nix, but you do rely on git to clone the repository in the first place. If git needs to be preinstalled, why install it again via nix-env?
@jakewies
@jakewies 3 жыл бұрын
Hey Abidán I'm glad you enjoyed! 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!
@abidanbrito
@abidanbrito 3 жыл бұрын
@@jakewies I see, I didn't think about the updating process. Thanks for the reply!
@jakewies
@jakewies 3 жыл бұрын
@@abidanbrito No problem! Quick question for you now :P How did you @ me? I can't figure this out on KZbin. Usually apps will present a dropdown menu when you start typing someone's username. Do you just write "@" + the full name of the person and KZbin will do the link?
@abidanbrito
@abidanbrito 3 жыл бұрын
@@jakewies I don't know if there's a way to explicitly tag someone; that'd be great! But, when you reply to someone's comment it adds an auto-tag by default, which generates the link. In fact, your last comment has it and it links to my channel profile. If you delete that initial tag and write '@' + "username in question" yourself, you'll see it's recognized as plain text instead.
@jakewies
@jakewies 3 жыл бұрын
@@abidanbrito Oh no I see, when I reply to you it @'s you!
@bram4723
@bram4723 3 жыл бұрын
Interesting series, very clearly explained! Will try to setup something similar in the future, haven't used stow or nix before but they could solve some of the problems I'm having with my dotfiles repo. Concerning opening a new terminal: you could also run zsh from bash after being done with the script. That should than work as expected. (but have not tested it to confirm) Another thing that might be interesting to do: could you source the .profile directly from you .zshrc?
@jakewies
@jakewies 3 жыл бұрын
Hey Bram glad you enjoyed! That's actually a really interesting idea i hadn't thought of. I'm going to give that a go later today and see how it works out. Still need to iron out a few things with this script but for now it gets us most of the way there :)
@vaylx2253
@vaylx2253 3 жыл бұрын
Would be awesome to add numbers to your videos, just so we can tell which to watch first. Cheers!
@jakewies
@jakewies 3 жыл бұрын
Thanks for the tip! I also add them to playlists but it might be difficult to find. I will see what I can do in the future :D
@manitthatrimontrichai8446
@manitthatrimontrichai8446 2 жыл бұрын
# and this one [NvimTree] auto close feature has been removed, see note in the README (tips & reminder section) Using `gui`, `guifg`, `guibg`, `guisp` is deprecated please, convert these as follows: - guifg -> fg - guibg -> bg - guisp -> sp - gui -> underline = true, undercurl = true, italic = true see :help bufferline-highlights for more details on how to update your highlights Please fix: - background - buffer_visible - buffer_selected - fill Press ENTER or type command to continue # and I run :PlugInstall in nvim already ? how can I fix it??
@xdxalexxdx
@xdxalexxdx 3 жыл бұрын
why would you commit something before checking it works?
@jakewies
@jakewies 3 жыл бұрын
Great question
@regisk7
@regisk7 2 жыл бұрын
How is this better than flakes? I ask because I'm learning now nixos/nix...
@andrukthegreat
@andrukthegreat 6 ай бұрын
your way of code writing is horrible .. never put spaces and you don t have newlines to better visual. learn to space things and you ll never get into all that bugs
@elieobeid77
@elieobeid77 3 жыл бұрын
docker and the likes were created to solve this issue, not sure why you try solve this issue like we used to solve it 10 years ago. Besides if the development machine is your computer, you won't need this, who buys new computer regularly to need to automate this, if the machine is in the cloud, who develops in the cloud to begin with, why nvim and zsh
@jakewies
@jakewies 3 жыл бұрын
Why do anything? Because it was fun
@manitthatrimontrichai8446
@manitthatrimontrichai8446 2 жыл бұрын
#nvim #still error something like below cmp_nvim_lsp.update_capabilities is deprecated, use cmp_nvim_lsp.default_capabilities instead. See :h deprecated This function will be removed in cmp-nvim-lsp version 1.0.0 stack traceback: ...nfig/nvim/plugged/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:89: in function 'update_capabilities' /home/aek/.config/nvim/lua/jakewies/lsp.lua:46: in main chunk [C]: in function 'require' /home/aek/.config/nvim/lua/jakewies/init.lua:3: in main chunk [C]: in function 'require' [string ":lua"]:1: in main chunk [NvimTree] unknown option: view.auto_resize | see :help nvim-tree-setup for available configuration options
@danufebriansyah5558
@danufebriansyah5558 2 жыл бұрын
still error bro right now?
@manitthatrimontrichai8446
@manitthatrimontrichai8446 2 жыл бұрын
@@danufebriansyah5558 how to fixed it? .
Manage Your Dotfiles Like A Superhero
25:39
Jake Wiesler
Рет қаралды 17 М.
Build A Portable Development Environment With Nix Package Manager
14:14
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
How I Use Tmux With Neovim For An Awesome Dev Workflow On My Mac
21:41
Josean Martinez
Рет қаралды 384 М.
~/.dotfiles in 100 Seconds
13:54
Fireship
Рет қаралды 431 М.
Give Your Dotfiles a Home with GNU Stow
16:34
System Crafters
Рет қаралды 34 М.
Setting Up Zsh And Antibody
20:00
Jake Wiesler
Рет қаралды 11 М.
How To Automate Your Dev Setup
15:06
TheAltF4Stream
Рет қаралды 9 М.
Effective Neovim: Instant IDE
16:16
TJ DeVries
Рет қаралды 839 М.
Stow has forever changed the way I manage my dotfiles
8:09
Dreams of Autonomy
Рет қаралды 280 М.
Embedded Rust setup explained
23:03
The Rusty Bits
Рет қаралды 98 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1 МЛН
How to Create a Dotfiles Folder
16:23
System Crafters
Рет қаралды 22 М.
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН