Update 2023-09-18 12:24 OpenBSD/amd64-x13
This commit is contained in:
parent
76aeb5288c
commit
5f45e94b0d
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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";
|
||||
|
@ -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() {
|
||||
|
@ -291,3 +291,4 @@ end)
|
||||
window.new(uris)
|
||||
|
||||
-- vim: et:sw=4:ts=8:sts=4:tw=80
|
||||
|
||||
|
2
.kshrc
2
.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
|
||||
|
@ -2,4 +2,6 @@
|
||||
printf "MU Seach: "
|
||||
read -r REPLY
|
||||
|
||||
set -x
|
||||
|
||||
mu find --clearlinks --format=links --linksdir=~/.cache/mu/results "${REPLY}"
|
||||
|
Loading…
Reference in New Issue
Block a user