diff --git a/git/.gitconfig b/git/.gitconfig deleted file mode 100644 index 9350ba7..0000000 --- a/git/.gitconfig +++ /dev/null @@ -1,10 +0,0 @@ -[core] - editor = emacs - excludesfile = /home/alrayyes/.gitignore_global -[user] - email = ryan@ryankes.eu - name = Ryan Kes - signingkey = ryan@ryankes.eu - useconfigonly = true -[push] - default = matching diff --git a/install b/install index b01a88a..0220d12 100755 --- a/install +++ b/install @@ -1,6 +1,6 @@ #!/usr/bin/env zsh -# We need the environement to be able to symlink files accordingly +# We need the environment to be able to symlink files accordingly case "$1" in desktop) EXTENSION="desktop" @@ -15,16 +15,6 @@ for d in $(find -- */ -maxdepth 0 -type d | cut -f1 -d '/'); do (stow -t "$HOME" "$d") done -# Install spaceship zsh theme if it doesn't exist -if [ ! -d "$HOME/.oh-my-zsh/custom/themes/spaceship-prompt" ]; then - echo "Cloning spacehip-prompt..." - git clone https://github.com/denysdovhan/spaceship-prompt.git "$HOME/.oh-my-zsh/custom/themes/spaceship-prompt" -fi -if [ ! -f "$HOME/.oh-my-zsh/custom/themes/spaceship.zsh-theme" ]; then - echo "Linking spacehip-prompt..." - ln -s "$HOME/.oh-my-zsh/custom/themes/spaceship-prompt/spaceship.zsh-theme" "$HOME/.oh-my-zsh/custom/themes/spaceship.zsh-theme" -fi - if [ ! -z "$EXTENSION" ]; then echo "\n\nDon't forget to symlink these files:\n\n" find ~ \( -type l -o -type f \) -name "*.$EXTENSION" -exec ls -al {} \;