dotfiles
direnv
dotfiles | direnv | |
---|---|---|
28 | 159 | |
29,804 | 11,697 | |
- | 0.9% | |
2.7 | 8.7 | |
2 days ago | 17 days ago | |
Shell | Go | |
MIT License | 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.
dotfiles
-
The first conformant M1 GPU driver
You might be interested in this: https://github.com/mathiasbynens/dotfiles/blob/main/.macos
I don't advise just running Mathias' config as is, but read through it and see if anything seems to be something you want in yours, make the changes, and save it somewhere for the next time you're setting up a Mac.
There's some stuff in there about speeding up certain animations (look for `# Speed up Mission Control animations`), and about not reordering "spaces" (desktops, full-screen apps, search for `# Donβt automatically rearrange Spaces based on most recent use`) based on use which I think may also affect cmd+tab ordering? Not sure, but it's a setting I always change anyway because the default doesn't make sense for power users.
About the trolling thing, sorry, I was genuinely not sure if you were arguing in good faith or just making stuff up, as most of the things you were saying were just plain incorrect or dishonest, from comparing desktop computer performance to low-powered laptops, to incorrect statements about features macOS truly excels at.
-
How to create a dotfile for all your Mac system preferences
Another resource is the .macos script from Mathias Bynens' dotfiles, which is the repo from the person in the article who gave the method for uncovering such system settings.
-
huge list of bash aliases
initially borrowed from these dots and then tailored to my needs.
- And that's a fact
- Dotfiles for macOS: Automating setting up a new Mac
-
macOS Ventura is now available
I added a PR to fix rsync, mosh, and some other tools, since they will be broken out of the box.
But it seems this project has fallen behind on PRs.
If you would like to have this fix, you can do this after cloning the repo:
git clone https://github.com/mathiasbynens/dotfiles && cd dotfiles
-
Has anyone made the switch from developing in Windows to macOS? Any general or specific advice about the switch?
Set some sane defaults for the OS. Browse through this script and pick and choose things that you may like.
-
Setting Mac hot corners in the terminal
https://github.com/mathiasbynens/dotfiles/blob/master/.macos https://blog.jiayu.co/2018/12/quickly-configuring-hot-corners-on-macos/
-
Is there a way to save system preferences?
macos setup script by Mathias Bynens
- Is it possible to automate the System Preferences configuration of a new Mac?
direnv
-
Show HN: Dotenv, if it is a Unix utility
I think direnv already does a good job in this space, and it's already available in your package manager.
https://direnv.net/
-
Mise is a polyglot tool version manager
I switched from asdf to mise after a comment on lobste.rs[1] suggested I do so a few months ago, and I have been very happy with it.
It sands off some of asdf's sharp UI edges and provides a somewhat larger but still reasonable feature set; I've also replaced most of my direnv[2] usage with it.
The mise -> asdf comparison page is useful[3]
1: https://lobste.rs/s/66uxbj/how_love_homebrew#c_mvmsjp
2: https://direnv.net/
3: https://mise.jdx.dev/dev-tools/comparison-to-asdf.html
-
Nix-direnv is a quality of life improvement
I also made the export diff configurable, motivated by this post: https://github.com/direnv/direnv/pull/1233
- Direnv β Unclutter Your .profile
-
Conditional Git Configuration
Nice.
For years I've been using [direnv](https://direnv.net/) for this, setting environment variables which git picks up. This looks like a more feature complete equivalent, although to be honest I only really need switching of committer email and the SSH key used.
- FLaNK 25 December 2023
-
Development Environments with Guix, similar to devenv.sh
Direnv, for the uninitiated, loads and unloads environment variables when directories are entered and exited. Under every project folder there is a `$PROJ_DIR/.envrc` which contains:
-
Emacs Advent Calendar 9: devdocs, code-cells, dREPL, etc.
buffer-env: A pure-Elisp version of the direnv utility. Useful to make Emacs aware of Python virtualenvs (which, judging by the questions posted here, is unfortunately still a complication for a lot of people). Similar to (and inspired by) envrc, but doesn't require the direnv program.
-
golang cli vs env var in windows?
You can look at direnv to see this in action as they wrote shell hooks that get loaded into the shell profile and are executed on every prompt. https://direnv.net/
-
Nix Survival Mode: macOS upgrades won't break Nix anymore
Yes, most Nix users employ https://direnv.net or the equivalent for your IDE of choice. Emacs for instance has https://github.com/purcell/envrc which set per-buffer variables.
What are some alternatives?
titus-awesome - Custom AwesomeWM Theme
spaceship-prompt - :rocket::star: Minimalistic, powerful and extremely customizable Zsh prompt
qtile-polybar
Pipenv - Python Development Workflow for Humans.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
lorri - Your project's nix-env
gitmux - :computer: Git in your tmux status bar
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
awesome-wm-widgets - Widgets for Awesome Window Manager
Neovim-from-scratch - π A Neovim config designed from scratch to be understandable
telescope-media-files.nvim - Telescope extension to preview media files using Ueberzug.
Poetry - Python packaging and dependency management made easy