-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into speedup-pyenv-virtualenv-prompt
- Loading branch information
Showing
12 changed files
with
199 additions
and
20 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
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
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
File renamed without changes.
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,41 @@ | ||
#!/usr/bin/env bats | ||
|
||
# bats file_tags=common | ||
@test "[common] dotfiles" { | ||
files_exists=( | ||
"${HOME}/.config/git/ignore" | ||
"${HOME}/.config/git/config" | ||
"${HOME}/.config/jupyter/lab/user-settings/@jupyterlab/terminal-extension/plugin.jupyterlab-settings.json" | ||
"${HOME}/.config/tango.yml" | ||
"${HOME}/.local/bin/common/dev" | ||
"${HOME}/.local/bin/common/gpg.sh" | ||
"${HOME}/.local/bin/common/setup-gh" | ||
"${HOME}/.gnupg/gpg-agent.conf" | ||
"${HOME}/.ssh/config" | ||
"${HOME}/.vimrc" | ||
"${HOME}/.tmux.conf" | ||
) | ||
for file in "${files_exists[@]}"; do | ||
echo "Checking ${file}" | ||
[ -f "${file}" ] | ||
done | ||
|
||
directories_exists=( | ||
"${HOME}/.config/fzf" | ||
"${HOME}/.spacemacs.d" | ||
"${HOME}/.pyenv" | ||
) | ||
for directory in "${directories_exists[@]}"; do | ||
echo "Checking ${directory}" | ||
[ -d "${directory}" ] | ||
done | ||
|
||
symbolic_links_exists=( | ||
"${HOME}/.zshrc" | ||
"${HOME}/.zprofile" | ||
) | ||
for link in "${symbolic_links_exists[@]}"; do | ||
echo "Checking ${link}" | ||
[ -L "${link}" ] | ||
done | ||
} |
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,46 @@ | ||
#!/usr/bin/env bats | ||
|
||
@test "[macos] dotfiles" { | ||
files_exists=( | ||
"${HOME}/.config/powerlevel10k/p10k.zsh" | ||
"${HOME}/.zsh/client/zshrc" | ||
"${HOME}/.zsh/client/zprofile" | ||
"${HOME}/.bash/client/bashrc" | ||
"${HOME}/.tmux-powerlinerc" | ||
"${HOME}/.tmux.conf.d/system/client.conf" | ||
"${HOME}/.tmux.conf.d/os/macos.conf" | ||
) | ||
for file in "${files_exists[@]}"; do | ||
echo "Checking ${file}" | ||
[ -f "${file}" ] | ||
done | ||
|
||
directories_exists=( | ||
"${HOME}/.local/bin/client" | ||
"${HOME}/.zprezto" | ||
) | ||
for directory in "${directories_exists[@]}"; do | ||
echo "Checking ${directory}" | ||
[ -d "${directory}" ] | ||
done | ||
|
||
symbolic_links_exists=( | ||
"${HOME}/Library/Application Support/iTerm2/DynamicProfiles/hotkey_window.json" | ||
) | ||
for link in "${symbolic_links_exists[@]}"; do | ||
echo "Checking ${link}" | ||
[ -L "${link}" ] | ||
done | ||
|
||
files_not_exists=( | ||
"${HOME}/.local/bin/server" | ||
"${HOME}/.zsh/server/zshrc" | ||
"${HOME}/.zsh/server/zprofile" | ||
"${HOME}/.tmux.conf.d/system/server.conf" | ||
"${HOME}/.tmux.conf.d/os/ubuntu_client.conf" | ||
) | ||
for file in "${files_not_exists[@]}"; do | ||
echo "Checking ${file}" | ||
[ ! -f "${file}" ] | ||
done | ||
} |
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,62 @@ | ||
#!/usr/bin/env bats | ||
|
||
# bats test_tags=ubuntu:client | ||
@test "[ubuntu-client] dotfiles" { | ||
files_exists=( | ||
"${HOME}/.zsh/client/zshrc" | ||
"${HOME}/.zsh/client/zprofile" | ||
"${HOME}/.tmux-powerlinerc" | ||
"${HOME}/.tmux.conf.d/system/client.conf" | ||
"${HOME}/.tmux.conf.d/os/ubuntu_client.conf" | ||
) | ||
for file in "${files_exists[@]}"; do | ||
echo "Checking ${file}" | ||
[ -f "${file}" ] | ||
done | ||
|
||
directories_exists=( | ||
"${HOME}/.local/bin/client" | ||
"${HOME}/.zprezto" | ||
) | ||
for directory in "${directories_exists[@]}"; do | ||
echo "Checking ${directory}" | ||
[ -d "${directory}" ] | ||
done | ||
|
||
files_not_exists=( | ||
"${HOME}/.zsh/server/zshrc" | ||
"${HOME}/.zsh/server/zprofile" | ||
"${HOME}/.tmux.conf.d/system/server.conf" | ||
"${HOME}/.tmux.conf.d/os/macos.conf" | ||
) | ||
for file in "${files_not_exists[@]}"; do | ||
echo "Checking ${file}" | ||
[ ! -f "${file}" ] | ||
done | ||
} | ||
|
||
# bats test_tags=ubuntu:server | ||
@test "[ubuntu-server] dotfiles" { | ||
files_exists=( | ||
"${HOME}/.zsh/server/zshrc" | ||
"${HOME}/.zsh/server/zprofile" | ||
"${HOME}/.tmux.conf.d/system/server.conf" | ||
"${HOME}/.tmux.conf.d/os/ubuntu_server.conf" | ||
) | ||
for file in "${files_exists[@]}"; do | ||
echo "Checking ${file}" | ||
[ -f "${file}" ] | ||
done | ||
|
||
files_not_exists=( | ||
"${HOME}/.tmux-powerlinerc" | ||
"${HOME}/.zsh/client/zshrc" | ||
"${HOME}/.zsh/client/zprofile" | ||
"${HOME}/.tmux.conf.d/system/client.conf" | ||
"${HOME}/.tmux.conf.d/os/macos.conf" | ||
) | ||
for file in "${files_not_exists[@]}"; do | ||
echo "Checking ${file}" | ||
[ ! -f "${file}" ] | ||
done | ||
} |