-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed redundant license headers and updated the README.
- Loading branch information
1 parent
9e482f6
commit 528148a
Showing
16 changed files
with
45 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,62 @@ | ||
# Yasin's .dotfiles | ||
# Yasin's `.dotfiles` | ||
|
||
These are my `dotfiles`!. You should definitely go through the files and tweak them to your needs if want to do so. | ||
Below is a comprehensive explanation on how do I structure these dotfiles. | ||
These are my `dotfiles`!. You should first go through the files and tweak them to your needs if want to do so. Below is | ||
a small explanation on how do I structure these dotfiles. | ||
|
||
But before that I must say **thanks** to [eieioxyz](https://github.com/eieioxyz). His | ||
amazing [course](https://www.udemy.com/course/dotfiles-from-start-to-finish-ish/) on Udemy about dotfiles helped me to | ||
understand some important topics in terminals. I highly encourage you to enroll in that course and learn more about | ||
dotfiles in-depth! | ||
|
||
## Terminology | ||
|
||
Lot of the dotfiles repo's out there has a linear file structure. In this repo I categorized based on modules. So, for | ||
each utility that has possible dotfiles will have their own module. For example, `git`, `vim`, `brew` etc. If you see | ||
one of the below named files in any of the available modules, this is what it means. | ||
|
||
### File `defaults` | ||
1. `defaults` | ||
|
||
Purpose to hold all the default commands, functions, aliases and related configurations which are loaded to the shell | ||
Basically holds all the default commands, functions, aliases and related configurations which are loaded to the shell | ||
environment. | ||
|
||
### File `setup_*` | ||
2. `setup_*` | ||
|
||
Purpose to hold all the bootstrapping logic for a new machine. Usually, this will be executed in the `shell` when we | ||
run `./install` file. | ||
|
||
## How to `install`? | ||
## `install`? | ||
|
||
First navigate to home `cd` and clone the repository using `git clone https://github.com/yasinmiran/.dotfiles.git` and | ||
navigate to dotfiles director using `cd ~/.dotfiles`. Now execute the command below to get started! | ||
|
||
#### Hol up 🚧🔧 | ||
|
||
Before that I usually, manually configure `git` and `ssh` access on a new machine. If you're running macOS Big Sur you | ||
may have to grant your Terminal app `Full Disk Access` in order to smoothly execute `install` script. | ||
|
||
```bash | ||
$ ./install | ||
``` | ||
|
||
After executing above command, dotfiles are linked successfully. To pickup the changes you must quit the current | ||
terminal process and all the functions will be preloaded to your zsh environment. Now you can re-run the installation | ||
command like below. | ||
After executing above command, dotfiles will get linked and all the sub `setup_*` scripts will execute in order. To pick | ||
up the changes you must quit the current terminal process and all the functions will be preloaded to your zsh | ||
environment. Now you can re-run the installation command like below. | ||
|
||
## Kudos 🧙🏻♂️ | ||
## Many Kudos 🧙🏻♂️ | ||
|
||
My dotfiles are **inspired by** some amazing dotfiles projects out there. Also, checkout | ||
this [curated list](https://github.com/webpro/awesome-dotfiles) for more amazing stuff! | ||
|
||
- [eieioxyz](https://github.com/eieioxyz/dotfiles_macos) | ||
- [Anish's dotfiles](https://github.com/anishathalye/dotfiles) | ||
- [Mathias's dotfiles](https://github.com/mathiasbynens/dotfiles) | ||
- [Bo's dotfiles](https://github.com/janusboandersen/dotfiles) | ||
- [Raf's dotfiles](https://github.com/rafaeleyng/dotfiles) | ||
- [Ryan's dotfiles](https://github.com/ryanb/dotfiles) | ||
- [Holman's dotfiles](https://github.com/holman/dotfiles) | ||
|
||
## TODO | ||
## Things I'm currently working on | ||
|
||
- [ ] Map IDE configurations (vscode, IdeaU, Goland). | ||
- [ ] Mapping IDE configurations (vscode, Idea). | ||
- [ ] Map Vim configurations. | ||
- [ ] Revisit SSH configurations. | ||
- [ ] Implement a new strategy for secret managing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,9 @@ | ||
#!/usr/bin/env zsh | ||
|
||
# MIT License | ||
# | ||
# Copyright (c) 2021 Yasin Miran | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in all | ||
# copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
|
||
# ====================================================================================== | ||
# Exports | ||
# ====================================================================================== | ||
|
||
# ====================================================================================== | ||
# Aliases | ||
# ====================================================================================== | ||
|
||
alias dlistall="docker ps -a" | ||
alias dstart="docker start" | ||
alias dstop="docker stop" | ||
|
||
# ====================================================================================== | ||
# Functions | ||
# ====================================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,5 @@ | ||
#!/usr/bin/env zsh | ||
|
||
# MIT License | ||
# | ||
# Copyright (c) 2021 Yasin Miran | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in all | ||
# copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
|
||
# Generate SSH key in default location (~/.ssh/config) | ||
ssh-keygen -t ed25519 -C "[email protected]" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,3 @@ | ||
#!/usr/bin/env zsh | ||
|
||
# MIT License | ||
# | ||
# Copyright (c) 2021 Yasin Miran | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in all | ||
# copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
# Work in progress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,3 @@ | ||
#!/usr/bin/env zsh | ||
|
||
# MIT License | ||
# | ||
# Copyright (c) 2021 Yasin Miran | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in all | ||
# copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
|
||
alias mvnci="mvn clean install" |
Oops, something went wrong.