From 4e4aaba6fa7ae1cc916e076b53ebce7758c5a225 Mon Sep 17 00:00:00 2001 From: Quentin Godefroid Date: Mon, 30 Sep 2024 17:29:48 +0200 Subject: [PATCH] improve work config --- .pre-commit-config.yaml | 14 +++++++------- setup.sh | 11 +++++------ zsh/.oh-my-zsh | 2 +- zsh/.zshrc | 4 ++-- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8388bb4..1c60d36 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,10 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 - hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: check-yaml - - id: check-added-large-files + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files diff --git a/setup.sh b/setup.sh index 96a762a..374a539 100755 --- a/setup.sh +++ b/setup.sh @@ -1,25 +1,20 @@ #!/usr/bin/env bash -cd $(dirname $0) +cd $(dirname $0) || exit # make sure we have pulled in and updated any submodules git submodule init git submodule update # what directories should be installable by all users including the root user base=( - picom - dracula dunst git helix htop - i3 nano nix - polybar puppet ssh - i3 terminfo tmux vim @@ -31,6 +26,10 @@ useronly=( alacritty asciinema awesome + dracula + i3 + picom + polybar ) # run the stow command for the passed in directory ($2) in location $1 diff --git a/zsh/.oh-my-zsh b/zsh/.oh-my-zsh index 6768906..a72a264 160000 --- a/zsh/.oh-my-zsh +++ b/zsh/.oh-my-zsh @@ -1 +1 @@ -Subproject commit 6768906d07151140db901510b2c8b1ce2622f365 +Subproject commit a72a26406ad3aa9a47c3f5227291bad23494bed0 diff --git a/zsh/.zshrc b/zsh/.zshrc index 80243b9..1427949 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -14,7 +14,7 @@ DEFAULT_USER=$USER # DISABLE_AUTO_TITLE="true" # ENABLE_CORRECTION="true" # Uncomment the following line to display red dots whilst waiting for completion. -# COMPLETION_WAITING_DOTS="true" +COMPLETION_WAITING_DOTS="true" # DISABLE_UNTRACKED_FILES_DIRTY="true" HIST_STAMPS="yyyy-mm-dd" @@ -170,7 +170,7 @@ man #n98-magerun nanoc #ng -nix +#nix #nmap #node #nomad