dotfiles | : wrench : .files , including ~/.macos — sensible hacker | Configuration Management library

 by   mathiasbynens Shell Version: Current License: MIT

kandi X-RAY | dotfiles Summary

kandi X-RAY | dotfiles Summary

dotfiles is a Shell library typically used in Devops, Configuration Management, macOS applications. dotfiles has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS

            kandi-support Support

              dotfiles has a medium active ecosystem.
              It has 29062 star(s) with 8809 fork(s). There are 694 watchers for this library.
              It had no major release in the last 6 months.
              There are 139 open issues and 244 have been closed. On average issues are closed in 494 days. There are 48 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of dotfiles is current.

            kandi-Quality Quality

              dotfiles has 0 bugs and 0 code smells.

            kandi-Security Security

              dotfiles has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              dotfiles code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              dotfiles is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              dotfiles releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dotfiles
            Get all kandi verified functions for this library.

            dotfiles Key Features

            No Key Features are available at this moment for dotfiles.

            dotfiles Examples and Code Snippets

            No Code Snippets are available at this moment for dotfiles.

            Community Discussions


            Avoid read file being the alternate buffer in Vim
            Asked 2022-Mar-24 at 11:24

            I am having an issue with Vim, NeoVim in this case if it makes a difference. I have an autocmd that includes a boilerplate when creating a file of a certain type, a Vue file in this case. Here is the code:



            Answered 2022-Mar-24 at 09:53

            From :help :read, emphasis mine:

            If a file name is given with ":r", it becomes the alternate file. This can be used, for example, when you want to edit that file instead: ":e! #". This can be switched off by removing the 'a' flag from the 'cpoptions' option.



            How to symlink alias and function dotfiles
            Asked 2022-Mar-06 at 11:47

            I trying to make my own alises. I have this in my ~/dotfiles:



            Answered 2022-Mar-06 at 11:47

            Make sure you are sourcing your aliases file in your .bashrc or .zshrc

            the code for that in your .bashrc or .zshrc should look something like this:



            Is it possible to trace my shell(bash, fish, zsh)?
            Asked 2022-Mar-01 at 22:44

            I am running archlinux(arcolinux distro to be specific) everything is fine but one little tiny problem which annoys me the problem is every time i open a terminal this pops us at the top of the terminal

            "Linux pengu 5.15.25-1-lts x86_64 unknown"

            I know this is a uname command with custom flags however I don't have that in my use fish shell(I run fish with bash i), I am aware that every time I open a my fish shell the stuff in my run, is there anything I am missing or what? here is my




            Answered 2022-Mar-01 at 19:17

            strace can attach to a process using -p:



            Asked 2022-Feb-13 at 08:29

            Hello guys i create a website and everything works locally but when i deployed in heroku its not working and i cant find why thanks for the help

            heroku error:

            2022-02-10T03:13:43.014545+00:00 app[web.1]: (node:22) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see (rejection id: 1) 2022-02-10T03:13:43.014570+00:00 app[web.1]: (node:22) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 2022-02-10T03:14:13.009344+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/" request_id=ab93f3f6-9ccf-49e0-be7b-fe765239c47b fwd="" dyno=web.1 connect=0ms service=30000ms status=503 bytes=0 protocol=https




            Answered 2022-Feb-10 at 04:11

            All uses of await that can reject must be handled in some way. They must either be surrounded by a try/catch or the caller of the async function must handle the rejection.

            In this case, app.get() does not pay any attention to a returned/rejected promise from the async callback so you have to catch rejections locally. So, in this code:



            How do I 'better' my paths to lsp server binaries whilst using nvim-lsp-install?
            Asked 2022-Feb-06 at 20:56

            At the moment, every time I install a new LPS server using nvim-lsp-installer, I add an entry to my .zshenv, so that the bin folder of the server is available to $PATH:



            Answered 2022-Feb-06 at 20:56

            You shouldn't need to modify your PATH manually when using nvim-lsp-installer. The minimal setup recommends the following (there's more in the README):



            How to insert the configuration.nix file inside my dot files?
            Asked 2021-Dec-20 at 02:08

            I am creating my dot files following this tutorial. It successfully works for emacs.d.

            Since I am using NixOS, I tried doing exactly the same steps with symlink creation for the configuration.nix file. Thus, I did:

            1 - On terminal:



            Answered 2021-Dec-20 at 02:08

            Your Step 2 seems to have cause the issue here: The symlink should be called configuration.nix not configuration.nix~ as you have noticed.

            You could fix this by running mv configuration.nix~ configuration.nix in the /etc/nixos folder which would rename configuration.nix~ to the correct configuration.nix.



            How to properly setup Fish and version the configuration?
            Asked 2021-Nov-19 at 15:22

            I'm switching to fish from zsh and I'm struggling to find the correct way to it setup for my taste. Also adding that I want to add it to my dotfiles repository. Should I version the whole ~/.config/fish folder?

            Where should I put my environment variables? Should I just add them to the fish_variables config file? I was thinking on sourcing a file ~/ for the ones I don't want to version. Is this a good idea?

            I use exa and ripgrep and I like to override grep and ls with them. Can I just set aliases for them overriding like I would with zsh/bash?

            I want to use it inside neovim as well and I'm using the vi keybindings. Will this conflict with neovim? If so is there a way to make the vi keybindings active only outside of neovim?

            It seems most of the stuff I use is provided by vanilla fish without plugins (which I'm quite happy about). Is there any tips or must have plugins I should install?



            Answered 2021-Nov-19 at 15:22

            I have my ~/.config/fish in git, works well. I share my config over several machines, and to have host-specific settings and functions, I do this:



            extra links from foreach in Makefile
            Asked 2021-Nov-09 at 20:10

            I'm on a mac using GNU Make to manage my dotfiles. There's a directory with my emacs config files and a corresponding target in the Makefile:



            Answered 2021-Nov-09 at 20:10

            In general it's a bad idea to try to construct a complex shell command using make functions inside a recipe. You should simply use shell constructs: for example use the shell for loop, not the make foreach loop.

            Let's see what your recipe does:



            Warning! PATH is not properly set up, /Users/me/.rvm/gems/ruby-2.7.3/bin is not at first place
            Asked 2021-Nov-04 at 16:13

            I am still getting the warning given below when I run rvm -v.



            Answered 2021-Nov-04 at 16:13

            I found the solution here which states the following:

            I encountered a similar error using Mac OS 10.14.6 and RVM 1.29.9.

            For me the issue was resolved by moving the following code in my .bash_profile to the bottom of the file:



            Neovim gkeep plugin
            Asked 2021-Oct-19 at 09:05

            I installed gkeep plugin for Neovim ( and didn't like it. I removed it from my plugins (I use vim-plug) and run :PlugClean after that. But now I can't open neovim without error mentioning that gkeep plugin. How to fix this?



            Answered 2021-Oct-19 at 09:05

            It seems that you haven't removed the configuration related to gkeep.nvim. Try to remove all settings related to gkeep.nvim.

            Also, when you open neovim, run the command :UpdateRemotePlugins. It should solve your issue.


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install dotfiles

            Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!.
            To install these dotfiles without Git:. To update later on, just run that command again.
            When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):. Some of the functionality of these dotfiles depends on formulae installed by If you don’t plan to run, you should look carefully through the script and manually install any particularly important ones. A good example is Bash/Git completion: the dotfiles use a special version from Homebrew.


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone mathiasbynens/dotfiles

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Configuration Management Libraries


            by mathiasbynens


            by hashicorp


            by spf13


            by Netflix


            by kelseyhightower

            Try Top Libraries by mathiasbynens


            by mathiasbynensJavaScript


            by mathiasbynensJavaScript


            by mathiasbynensShell


            by mathiasbynensHTML


            by mathiasbynensJavaScript