bashrcd
dotfiles
bashrcd | dotfiles | |
---|---|---|
1 | 13 | |
0 | 926 | |
- | - | |
2.5 | 4.6 | |
3 months ago | 16 days ago | |
Shell | Shell | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bashrcd
-
Using GNU Stow to manage your dotfiles (2012)
I moved to splitting my bashrc into multiple files and having my main bashrc source them from a ~/.bashrcd directory.
At heart it's a short snippet that just checks for existence and sources each file in the directory:
https://github.com/targaryen/bashrcd/blob/master/install/ins...
I added aliases to list/edit/remove entries from the .bashrcd directory and resource it. And a script I can call with a one-liner to edit bashrc on a new machine to add the sourcing and the helper aliases.
It'll load alphabetically so I can prefix entries with a number to specify load order (defaulting to 0100 so I don't need to specify this in the commands unless I explicitly changed them).
So the end result is that I can quickly edit or create a new bashrc entry by running 'ebrc entryname'. This opens ~/.bashrcd/0100--entryname in vi, and when it's saved it'll re-source so the add/change takes effect immediately.
Or 'lbrc' to list contents of the directory, or 'rbrc entryname' to remove ~/.bashrcd/0100--entryname
It's fairly simplistic but takes away most of the cognitive load of managing a complex bashrc.
dotfiles
-
Oh My Zsh
Yep, I use zsh with 2 plugins. One for syntax highlighting commands and another for showing auto-suggestions. It's really fast. The rest is nearly a default zsh set up in terms of zsh configuration. Everything is documented in my dotfiles https://github.com/nickjj/dotfiles.
My prompt is a 1 liner that shows your git branch as well as coloring up $ to be red or not based on if the last command failed. Coincidentally I just released a blog post today on coloring up your prompt based on if the last command failed at https://nickjanetakis.com/blog/color-your-shell-prompt-red-i....
-
Ask HN: How do you sync your computers development configurations/environment?
I stole/copied my setup from Nick Janetakis who's just great all around. Its worked for me through several new systems and many updates.
https://github.com/nickjj/dotfiles
-
vim-dirtytalk: spellcheck dictionary for programmers 📖
If anyone is looking for a word list of programming terms I have one with 500+ words in my dotfiles at https://github.com/nickjj/dotfiles/blob/master/.vim/spell/en.utf-8.add.
-
Zim – The Zsh configuration framework with blazing speed and modular extensions
Is anyone else mostly rolling with the zsh (not oh-my-zsh) defaults?
After so many years of using Bash I switched to zsh almost a year ago. I use the vanilla zsh set up with 2 plugins:
- https://github.com/zdharma-continuum/fast-syntax-highlightin... for very good and fast syntax highlighting
- https://github.com/zsh-users/zsh-autosuggestions for auto-suggestions
I don't use a plugin manager, instead I put together a ~20 line shell script[0] which handles either cloning or pulling plugins, then you can load them in your zshrc[1].
I haven't found the need for anything else and my whole dev environment is based on using tmux, terminal Vim, etc.. Basically I spend a lot of time there in my day to day.
[0] https://github.com/nickjj/dotfiles/blob/0076e508403c9981e393...
[1] https://github.com/nickjj/dotfiles/blob/0076e508403c9981e393...
-
Newbie here, how should i use vim on windows ? gvim or wsl 2 vim ?
My set up is documented at https://github.com/nickjj/dotfiles and I have a bunch of Vim related videos at https://nickjanetakis.com/blog/tag/vim-tips-tricks-and-tutorials.
-
New job, windows computer. I tried to use VisualStudo code, but I got back to vim anyway
This is what I've been doing for years (WSL 2). It's really solid if you combine tmux with terminal Vim. My dotfiles work exactly the same on my native Linux device as WSL 2 and it's fast too.
-
"How to do what 90% of plugins do in vanilla vim" - what are some of the 10% plugins?
Here's a couple from my vimrc.
-
My Favorite Commandline Oneliners
All of my aliases are listed in my dotfiles at: https://github.com/nickjj/dotfiles/blob/master/.aliases
-
GUI app support is now available for the Windows Subsystem for Linux
I handle both cases in my dotfiles: https://github.com/nickjj/dotfiles/blob/a29ced43dd384f7226aaf0c384f56951869d0435/.bashrc#L59-L76
-
Hello there, any idea so I can switch between dark and light color in vim seamlessly? The problem is...
Screenshots and documentation are at: https://github.com/nickjj/dotfiles
What are some alternatives?
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
vim-python-ide - Python development config
nix - my nix modules, overlays, host configurations, and more!
org-roam - Rudimentary Roam replica with Org-mode
zinit - Flexible and fast Zsh plugin manager with clean fpath, reports, completion management, Turbo, annexes, services, packages.
GNU Stow - GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches
bashdot - Minimalist dotfile management framework.
vim-dirvish - Directory viewer for Vim :zap:
debug - Debugging functionality for Ruby
nushell - A new type of shell
vcsh - config manager based on Git