diff options
Diffstat (limited to '')
-rw-r--r-- | config/qutebrowser/config.py | 3 | ||||
-rwxr-xr-x | hooks/pre-up/1-ksh | 6 | ||||
-rwxr-xr-x | hooks/pre-up/1-mksh | 6 | ||||
-rwxr-xr-x | hooks/pre-up/2-nix | 2 | ||||
-rw-r--r-- | kshrc | 4 | ||||
-rw-r--r-- | repository.list | 7 | ||||
-rw-r--r-- | tigrc | 103 |
7 files changed, 121 insertions, 10 deletions
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py new file mode 100644 index 0000000..9023cb8 --- /dev/null +++ b/config/qutebrowser/config.py @@ -0,0 +1,3 @@ +config.load_autoconfig() + +config.source('qutemacs.py') diff --git a/hooks/pre-up/1-ksh b/hooks/pre-up/1-ksh new file mode 100755 index 0000000..ba33b10 --- /dev/null +++ b/hooks/pre-up/1-ksh @@ -0,0 +1,6 @@ +#!/bin/sh + +if ! [ -x "$(command -v ksh)" ]; then + sudo xbps-install -y ksh + chsh -s /bin/ksh +fi diff --git a/hooks/pre-up/1-mksh b/hooks/pre-up/1-mksh deleted file mode 100755 index 7cff998..0000000 --- a/hooks/pre-up/1-mksh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -if ! [ -x "$(command -v mksh)" ]; then - sudo xbps-install -y mksh - chsh -s /bin/mksh -fi diff --git a/hooks/pre-up/2-nix b/hooks/pre-up/2-nix index 945bf48..0a457ee 100755 --- a/hooks/pre-up/2-nix +++ b/hooks/pre-up/2-nix @@ -1,4 +1,4 @@ -#!/bin/mksh +#!/bin/sh if ! [ -x "$(command -v nix)" ]; then echo "Installing Nix" @@ -1,4 +1,3 @@ -eval "$(zoxide init posix --hook prompt)" export GPG_TTY=/dev/pts/0 gpg-connect-agent updatestartuptty /bye >/dev/null alias grep="ugrep --exclude-dir=node-modules --exclude-dir=_build" @@ -12,5 +11,6 @@ alias infols="inxi -S -c 0" alias de='eval "$(direnv export bash)"' alias f-commit="fossil commit && fossil git export" PS1='$(git branch 2> /dev/null | grep "^\*" | colrm 1 2 | sed -e "s/$/./")${PWD##*/} ' -eval "$(direnv export bash)" export SHELL='ksh' +eval "$(direnv export bash)" +eval "$(zoxide init posix --hook prompt)" diff --git a/repository.list b/repository.list index 596f525..f1b0e49 100644 --- a/repository.list +++ b/repository.list @@ -33,7 +33,7 @@ lvm2 mdadm mesa-dri msmtp -mksh +ksh pamixer pass pinentry-tty @@ -68,3 +68,8 @@ zathura zoxide pam-gnupg mg +zathura-pdf-mupdf +steam +kakoune +tig +chromium @@ -0,0 +1,103 @@ +set git-colors = yes +set mouse = yes +set main-view-date = custom +set main-view-date-format = "%y/%m/%d %H:%M" +set main-view = date author:abbreviated commit-title:graph:v2 +set tree-view = file-name + +color cursor 255 black bold +color default black default +color "Reported-by:" black default +color author black default bold +color title-focus black default underline +color title-blur black default underline +color stat-none black default +color stat-staged black default +color stat-unstaged black default +color status.header black default bold + +color file black default +color directory black default +color graph-commit black default + +color palette-0 black default +color palette-1 blue default +color palette-2 black default +color palette-3 blue default +color palette-4 black default +color palette-5 blue default +color palette-6 black default +color palette-7 blue default +color palette-8 black default +color palette-9 blue default +color palette-10 black default +color palette-11 blue default +color palette-12 black default +color palette-13 blue default + +color main-commit black default +color main-head black default bold +color main-annotated black default +color main-remote black default +color main-tracked black default +color main-tag black default +color main-local-tag black default +color main-ref black default + +color stat-none black default +color stat-staged red default +color stat-unstaged blue default +color stat-untracked black default +color status.header black default bold + +color help.header black default bold +color help-group black default +color help-action black default + +color pp-refs black default +color pp-reflog black default +color pp-reflogmsg black default +color pp-merge black default + +color tree black default +color committer black default +color author black default bold +color commit black default +color parent black default +color search-result green black standout +color date 244 default + +color diff-header black default +color diff-index black default +color diff-chunk black default +color diff-stat black default bold +color diff-add black 194 +color diff-add2 black 194 +color diff-del black 224 +color diff-del2 black 218 + +bind diff D !git difftool --tool=vimdiff --trust-exit-code --no-prompt %(commit)^! -- %(file) +bind main C ?git cherry-pick %(commit) +bind diff C ?git cherry-pick %(commit) +bind pager C !git commit +bind stage C !git commit +bind main @Q !git reset %(commit) +bind main @R !git rebase -i %(commit) +bind generic R refresh +bind status PU !git push +bind main PU !git push +bind status PFU ?git push --force-with-lease +bind main PFU ?git push --force-with-lease +bind status @@ ?sh -c 'git rev-parse --show-toplevel | xargs -I {} rm "{}/%(file)"' +bind main MM !git merge --ff-only %(commit) +bind generic T >git notes append %(commit) +bind generic d !sh -c "git show %(commit)" +bind tree @F >sh -c "echo 'New File Name (Blank cancels):'; read line; touch %(directory)/$line" +bind tree @D >sh -c "echo 'New Folder Name (Blank cancels):'; read line; mkdir %(directory)/$line" + +bind blob E >sh -c "$EDITOR %(file)" + +bind tree - parent +set pager-view = line-number:yes,interval=10 text + + |