sistema_progs

Programas para customizar o meu entorno de traballo nos meus equipos persoais
Log | Files | Refs

generate-mandb-cache.sh (447B)


      1 #!/usr/bin/env bash
      2 
      3 if [[ -s ~/.mwg/src/ble.sh/out/ble.sh ]]; then
      4   source ~/.mwg/src/ble.sh/out/ble.sh --lib
      5 else
      6   source ~/.local/share/blesh/ble.sh --lib
      7 fi
      8 ble-import core-complete
      9 ble-import core-cmdspec
     10 for cmd in alias bind cd command declare typeset dirs disown echo exec export fc hash help history jobs kill; do
     11   echo "========== $cmd =========="
     12   ble/complete/mandb/generate-cache "$cmd" && awk -F $'\x1c' '{print $1}' "$ret"
     13 done