{"id":17606400,"url":"https://github.com/atcold/unix-dot-files","last_synced_at":"2025-04-30T11:11:55.503Z","repository":{"id":10827879,"uuid":"13105268","full_name":"Atcold/Unix-dot-files","owner":"Atcold","description":"Mac OS X and Linux optimal configuration files","archived":false,"fork":false,"pushed_at":"2025-02-08T02:20:58.000Z","size":149,"stargazers_count":22,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T15:36:26.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Atcold.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-09-25T20:58:41.000Z","updated_at":"2025-03-04T17:14:26.000Z","dependencies_parsed_at":"2024-03-13T20:39:33.364Z","dependency_job_id":"c0b67326-2e01-4f1f-91ec-27d6139a245d","html_url":"https://github.com/Atcold/Unix-dot-files","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atcold%2FUnix-dot-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atcold%2FUnix-dot-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atcold%2FUnix-dot-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atcold%2FUnix-dot-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atcold","download_url":"https://codeload.github.com/Atcold/Unix-dot-files/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251687004,"owners_count":21627509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-22T15:44:24.829Z","updated_at":"2025-04-30T11:11:55.433Z","avatar_url":"https://github.com/Atcold.png","language":"Shell","readme":"# Unix-dot-files\n\nThis repository aims to achieve the highest beauty in terms of Unix configuration dot-files.\nThis goal is not too ambitious since we are starting from my personal settings (he, he, he :wink:) which could be improved with forking and pull-requesting further updates.\n\n\n## Setting up your Mac\n\n- Since I'm still using Bash (and I'm not moving to `zsh`) we should tell Mac to revert to the old shell. \\\n  `System Settings…` / `Users \u0026 Groups` / (`^-click`) `Advanced options…` / `Login shell` choose `/bin/bash`.\n- Install [`brew`](https://brew.sh/).\n\n## Installation instructions\n\nClone the repository\n\n```bash\ngit clone https://github.com/Atcold/Unix-dot-files.git\n```\n\nThen, after having chosen the subfolder of interest (say for example [`Vim`](https://github.com/Atcold/Unix-dot-files/tree/master/Vim))\n\n```bash\ncd Unix-dot-files\ncd Vim\n./install.sh\n```\n\nDon't forget to backup your previous configuration, since it will be overwritten.\n\nInstallation is required once only. Then you will simply need to pull in any new update.\n\n\n# Better colours\n\nLet's give to our *Unix* some pretty colours!\n\n\n## Ubuntu\n\n`cd` into `Ubuntu` and run `install.sh`. It will take care of everything.  \nIf you'd like only to fix the colours, then run `Ubuntu/fix_colours.sh` only.\n\n\n## MacOS\n\nIn order to customise your *Terminal* application, you can simply import the file `Mac-Terminal/Monokai.terminal` and set it as default.\n\n\n# Substituting \u003ckbd\u003eCaps Lock\u003c/kbd\u003e with \u003ckbd\u003eCtrl\u003c/kbd\u003e\n\nSince you will never use your \u003ckbd\u003eCaps Lock\u003c/kbd\u003e key, let's get another \u003ckbd\u003eCtrl\u003c/kbd\u003e, handy for our left pinkie when writing code in *Vim* within *Tmux*.\n(Remember that \u003ckbd\u003eEsc\u003c/kbd\u003e can be obtained by typing `^[`, that is \u003ckbd\u003eCtrl\u003c/kbd\u003e-\u003ckbd\u003e[\u003c/kbd\u003e.)\n\n\n## Ubuntu\n\nIn `/etc/default/keyboard` we ought to change something, so\n\n```bash\nsudo vim /etc/default/keyboard +/XKBOPTIONS\n```\n\nand let's set\n\n```lua\nXKBOPTIONS=\"ctrl:nocaps,compose:ralt\"\n```\n\n\u003e To exchange the position of \u003ckbd\u003eCaps Lock\u003c/kbd\u003e and \u003ckbd\u003eCtrl\u003c/kbd\u003e, instead\n\u003e ```lua\n\u003e XKBOPTIONS=\"ctrl:swapcaps,compose:ralt\"\n\u003e ```\n\nand, therefore, run\n\n```bash\nsudo dpkg-reconfigure keyboard-configuration\n```\n\nWe have also mapped the \u003ckbd\u003eAltGr\u003c/kbd\u003e (the \u003ckbd\u003eAlt\u003c/kbd\u003e on the right) to the *compose-key*, so that we can write accented letters in Ubuntu.\nFor example, we can type an *È* by typing \u003ckbd\u003eAltGr\u003c/kbd\u003e-\u003ckbd\u003e`\u003c/kbd\u003e \u003ckbd\u003eShift\u003c/kbd\u003e-\u003ckbd\u003eE\u003c/kbd\u003e.\nWe can type an *é* with \u003ckbd\u003eAltGr\u003c/kbd\u003e-\u003ckbd\u003e'\u003c/kbd\u003e \u003ckbd\u003eE\u003c/kbd\u003e.\n\n\n## MacOS\n\n`System Settings…` / `Keyboard` / `Keyboard Shortcuts…` / `Modifier Keys` / `Caps Lock` \u003e choose `^ Control`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatcold%2Funix-dot-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatcold%2Funix-dot-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatcold%2Funix-dot-files/lists"}