Changeset 20 in code for trunk


Ignore:
Timestamp:
Sep 11, 2023, 4:59:07 PM (21 months ago)
Author:
yakumo.izuru
Message:

Release v2

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

Location:
trunk
Files:
2 added
3 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.md

    r18 r20  
    1212* `tree(1)` for printing a list
    1313* `mandoc(1)` for documentation
     14* `rm(1)` with the `-i` and `-I` switches
    1415
    1516## Add-ons
    1617
    17 ### kanako\_gen
    18 random username and password generator, requires `strings(1)`,
    19 `dd(1)` and a sane `tr(1)` (FreeBSD's one behaves differently and
    20 in unexpected ways)
    21 
    22 ### kanako\_menu
     18### kanako-menu
    2319quick graphical front-end for kanako, works with either of `dmenu(1)`
    2420or `bemenu(1)`, useful for copying passwords to clipboard.
    2521
    26 ### kanako\_totp
     22### kanako-totp
    2723time-based one time password addon for kanako, requires `oathtool(1)`
    2824from oath-toolkit.
  • trunk/kanako

    r19 r20  
    11#!/bin/sh
    2 # $TheSupernovaDuo: kanako,v 2.0 2023/08/23 23:33:45 yakumo_izuru Exp $
     2# $TheSupernovaDuo: kanako,v 2.0 2023/09/11 13:59:00 yakumo_izuru Exp $
    33
    44readonly kanako_conf_dir="${kanako_conf_dir:-$HOME/.config/kanako}"
     
    2828edit() {
    2929    ${kanako_encrypt_cmd} ${kanako_decrypt_args} ${1%%.enc}.enc > ${1%%.enc}
    30     "${EDITOR}" "${1%%.enc}"
     30    "${EDITOR:-${EDITOR:-vi}}" "${1%%.enc}"
    3131    ${kanako_encrypt_cmd} ${kanako_encrypt_args} ${1%%.enc} > ${1%%.enc}.enc
    3232    rm "${1%%.enc}"
     
    3939
    4040    tmpfile="$(mktemp)"
    41     "${EDITOR}" "${tmpfile}"
     41    "${EDITOR:-${EDITOR:-vi}}" "${tmpfile}"
    4242
    4343    mkdir -p "$(dirname "$1")"
Note: See TracChangeset for help on using the changeset viewer.