From 329ed23c520bcc45332c6641d6873fc6bb7cbddc Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sat, 25 May 2024 12:40:52 +0200 Subject: local fixes --- .bash/aliases.bash | 6 ++++-- .flake8 | 4 ++++ .gitconfig | 2 +- .tmux.conf.local | 4 ++-- distrib.yml | 10 +++++----- 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.bash/aliases.bash b/.bash/aliases.bash index 86334b7..718e4d3 100644 --- a/.bash/aliases.bash +++ b/.bash/aliases.bash @@ -13,11 +13,13 @@ alias lst="ls -l --time-style=full-iso" alias cls=' echo -ne "\033c"' alias pip-update="sudo pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 sudo pip install -U" alias matrix='cmatrix -sbu6 -C cyan' +alias tbc='tbclock -e -H2 -M7 -S3' command -v colordiff >/dev/null 2>&1&&alias diff="colordiff" command -v colormake >/dev/null 2>&1&&alias make="colormake" alias perllint="perl -Mstrict -Mdiagnostics -cw" alias scredit='gimp "${SCRSHDIR}/$(ls -rt1 $SCRSHDIR/|tail -n1)"' alias scrview='pqiv -i "${SCRSHDIR}/$(ls -rt1 $SCRSHDIR/|tail -n1)"' +alias scrls='ls -l "${SCRSHDIR}/$(ls -rt1 $SCRSHDIR/|tail -n1)"' alias fuck='sudo $(history -p \!\!)' alias x509-out='openssl x509 -text -certopt no_version,no_pubkey,no_sigdump,no_aux,no_header -noout -in' alias isocreate='rm -vf /tmp/image.iso && mkisofs -v -r -J -translation-table -hide-joliet-trans-tbl -iso-level 4 -o /tmp/image.iso' @@ -92,9 +94,9 @@ xstat() { } # ----- PACKAGE MANAGERS ----- # if [ -x "/usr/bin/pikaur" ];then - alias pkgclean="pikaur --no-confirm -Sc" + alias pkgclean="pikaur --noconfirm -Sc" elif [ -x "/usr/bin/pacman" ];then - alias pkgclean="/usr/bin/sudo /usr/bin/pacman --no-confirm -Sc" + alias pkgclean="/usr/bin/sudo /usr/bin/pacman --noconfirm -Sc" elif [ -x "/usr/bin/apt" ];then alias pkgclean="/usr/bin/sudo /usr/bin/apt clean" elif [ -x "/usr/bin/dnf" ];then diff --git a/.flake8 b/.flake8 index d236572..383ed7b 100644 --- a/.flake8 +++ b/.flake8 @@ -10,3 +10,7 @@ max-line-length = 100 doctests = True # use only if flake8-colors is installed: format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}:\\t${red_bold}%(code)s${reset} %(text)s + +#per-file-ignores = +# # imported but unused +# __init__.py: F401 diff --git a/.gitconfig b/.gitconfig index 4521be7..cdf3747 100644 --- a/.gitconfig +++ b/.gitconfig @@ -73,7 +73,7 @@ fontui = -family Hack -size 11 -weight normal -slant roman -underline 0 -overstrike 0 fontdiff = -family Hack -size 11 -weight normal -slant roman -underline 0 -overstrike 0 [commit] - gpgSign = true + gpgsign = false #[gpg] # program = /usr/bin/gpg2 [http] diff --git a/.tmux.conf.local b/.tmux.conf.local index 906c425..7d6c8c4 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -405,8 +405,8 @@ bind-key -n C-S-Down resize-pane -D bind-key -n C-S-Up resize-pane -U bind-key -n C-S-Left resize-pane -L bind-key -n C-S-Right resize-pane -R -set -g pane-active-border-fg colour45 -set -g pane-active-border-bg default +#set -g pane-active-border-fg colour45 +#set -g pane-active-border-bg default set-option -g display-panes-active-colour colour45 set-option -g display-panes-colour colour8 run-shell ~/tmux-yank/yank.tmux diff --git a/distrib.yml b/distrib.yml index 8c30982..a8fb3ef 100644 --- a/distrib.yml +++ b/distrib.yml @@ -33,15 +33,15 @@ - ".tmux.conf.local" - ".vimrc" - ".bash/aliases.bash" - - ".bash/aliases.bash.local" + - "~/.bash/aliases.bash.local" - ".bash/exec.bash" - - ".bash/exec.bash.local" + - "~/.bash/exec.bash.local" - ".bash/postexec.bash" - - ".bash/postexec.bash.local" + - "~/.bash/postexec.bash.local" - ".bash/prompt.bash" - - ".bash/prompt.bash.local" + - "~/.bash/prompt.bash.local" - ".bash/vars.bash" - - ".bash/vars.bash.local" + - "~/.bash/vars.bash.local" - "bin/ssh-agent-launcher" - "bin/ssh-with-gpg" - ".gnupgdirmngr.conf" -- cgit v1.2.3