-
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.
- Loading branch information
Sketch Hely
committed
Dec 26, 2018
0 parents
commit f2842c4
Showing
7 changed files
with
62 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "mod/fonts"] | ||
path = mod/fonts | ||
url = https://github.com/powerline/fonts | ||
[submodule "mod/zsh/prezto"] | ||
path = mod/zsh/prezto | ||
url = https://github.com/BraveHelyx/prezto |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# dotfiles | ||
Uses [dotbot](https://github.com/anishathalye/dotbot) as a means of creating a robust deployment of my own dotfiles. | ||
|
||
## Dependencies | ||
* git | ||
* zsh | ||
|
||
## Modules and Submodules | ||
* bash | ||
- Powerline Fonts (https://github.com/powerline/fonts) | ||
- zsh | ||
- zprezto fork (https://github.com/BraveHelyx/prezto) |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "dotfog bootstrapper for https://github.com/BraveHelyx" | ||
echo "Also, shout out to https://github.com/minight who is sybersec winning." | ||
|
||
# https://stackoverflow.com/questions/19622198/what-does-set-e-mean-in-a-bash-script. | ||
set -e | ||
|
||
# https://www.anishathalye.com/2014/08/03/managing-your-dotfiles/ | ||
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
DOTBOT_DIR="dotbot" | ||
DOTBOT_BIN="bin/dotbot" | ||
DOTBOT_CONFIG="install.conf.yaml" | ||
|
||
# Update dotbot first | ||
cd "${BASEDIR}" | ||
git submodule update --init --recursive "${DOTBOT_DIR}" | ||
|
||
# Recursively update all modules | ||
git submodule update --init --recursive mod | ||
|
||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${DOTBOT_CONFIG}" "${@}" | ||
|
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- defaults: | ||
link: | ||
relink: true | ||
|
||
- clean: ['~'] | ||
|
||
- link: | ||
~/.dotfiles: '' | ||
~/.zalias: mod/zsh/zalias | ||
~/.zshenv: mod/zsh/prezto/runcoms/zshenv | ||
~/.zprofile: mod/zsh/prezto/runcoms/zprofile | ||
~/.zshrc: mod/zsh/prezto/runcoms/zshrc | ||
~/.zpreztorc: mod/zsh/prezto/runcoms/zpreztorc | ||
~/.zlogin: mod/zsh/prezto/runcoms/zlogin | ||
~/.zlogout: mod/zsh/prezto/runcoms/zlogout | ||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
alias pcp="pwd | pbcopy" | ||
alias cdp="cd \"\$(pbpaste)\"" | ||
alias lash="ls -lash" |