diff --git a/.bin/dexec_browser b/.bin/dexec_browser index a3ec4da..a0c2132 100755 --- a/.bin/dexec_browser +++ b/.bin/dexec_browser @@ -154,7 +154,7 @@ choose_browser() { *peek-cloppenburg.de*) DEFAULT="Firefox (default)"; ;; *asos.com*) DEFAULT="Firefox (default)"; ;; *zalando.de*) DEFAULT="Firefox (default)"; ;; - *) DEFAULT="Firefox (default)"; ;; + *) DEFAULT="Luakit (default)"; ;; esac local S="${DEFAULT}\nLuakit\nFirefox\nChrome\nQutebrowser\nNetsurf\nTor-Browser" diff --git a/.bin/ksh-update-completions b/.bin/ksh-update-completions index 8f0024b..779f777 100755 --- a/.bin/ksh-update-completions +++ b/.bin/ksh-update-completions @@ -6,7 +6,7 @@ add() { ( printf '%s %s' "$1" "$2" | tr '\n' ' '; printf '\n') >> "${HOME}/.ksh- if [ -d ~/.password-store ]; then ARGS="$(cd ~/.password-store && ls -1d */* | sed 's/\.gpg$//g;s/ /\\ /g')" - add "set -A complete_pass -- edit insert show rm cp mv search find " "$ARGS" + add "set -A complete_pass -- change edit insert show rm cp mv search find " "$ARGS" fi if [ -f ${HOME}/.ssh/config ]; then diff --git a/.bin/pass-add b/.bin/pass-add index c024644..ddac709 100755 --- a/.bin/pass-add +++ b/.bin/pass-add @@ -8,7 +8,12 @@ echo -n "Username: " read _login="$REPLY" -_password="$(pwgen -syn -r "{}'\\§()°\`|[]\";" 16 1)" +echo -n "Password (empty to generate): " +read + +[ -z "$REPLY" ] \ + && _password="$(pwgen -syn -r "{}'\\§()°\`|[]\";" 16 1)" \ + || _password="$REPLY" { echo "$_password"; diff --git a/.bin/portinfo b/.bin/portinfo index a0b6cbd..2e1d0c4 100755 --- a/.bin/portinfo +++ b/.bin/portinfo @@ -17,8 +17,8 @@ show() { NR == 3 { print "| HOMEPAGE: "$0 } \ NR == 4 { print "| SITES: "$0 } \ NR == 5 { print "| MAINTAINER: "$0 } \ - NR == 5 { print "+--------------------------------------------------------------------" } \ - NR == 6 { print "\nDESCRIPTION: "; system("/bin/cat " $0); }' + NR == 5 { print "+--------------------------------------------------------------------\n" } \ + NR == 6 { system("/bin/cat " $0); }' } showsub() { diff --git a/.config/luakit/rc.lua b/.config/luakit/rc.lua index 5c1e04a..e31b747 100644 --- a/.config/luakit/rc.lua +++ b/.config/luakit/rc.lua @@ -291,3 +291,4 @@ end) window.new(uris) -- vim: et:sw=4:ts=8:sts=4:tw=80 + diff --git a/.kshrc b/.kshrc index 98fd0fa..58e317d 100644 --- a/.kshrc +++ b/.kshrc @@ -141,7 +141,7 @@ alias reinstall="remake && make reinstall" # remind alias rem="clear; remind -c+cu4 -wt ~/.reminders" -alias remy="clear; remind -cu12 -wt ~/.reminders | less" +alias remy="clear; remind -cu12 -wt ~/.reminders | less -r" rems() { echo "Reminders for $(date +%Y/%m/%d) (today)" remind ~/.reminders diff --git a/.mutt/scripts/mu-find.sh b/.mutt/scripts/mu-find.sh index 8547766..ff45bd8 100755 --- a/.mutt/scripts/mu-find.sh +++ b/.mutt/scripts/mu-find.sh @@ -2,4 +2,6 @@ printf "MU Seach: " read -r REPLY +set -x + mu find --clearlinks --format=links --linksdir=~/.cache/mu/results "${REPLY}"