config: script fixes
This commit is contained in:
parent
1f2b734fd7
commit
31528e0d93
|
@ -453,7 +453,6 @@ Version 2019-11-04 2021-02-16"
|
|||
|
||||
(use-package! ox-context
|
||||
:after ox)
|
||||
|
||||
(use-package! ox-extra
|
||||
:after ox
|
||||
:config (ox-extras-activate '(ignore-headlines)) ;; use tag :ignore: to export content without headline
|
||||
|
|
|
@ -79,7 +79,9 @@ for arg; do
|
|||
(*\ image/*)
|
||||
timg+=("$arg"); continue;;
|
||||
(*\ inode/directory\;*)
|
||||
ls+=("$arg"); continue;;
|
||||
ls+=("$arg")
|
||||
test -L "$arg" || continue
|
||||
;;
|
||||
(*)
|
||||
case "$(file "$arg")" in
|
||||
(*\ ?udio*)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
case "$1" in ([0-9]) depth=$1; shift;; esac
|
||||
for f in "${@-.}"
|
||||
do
|
||||
test -w "$f" && elevate="" || elevate=sudo
|
||||
test -w "$(dirname "$f")" && elevate="" || elevate=sudo
|
||||
if test -d "$f"
|
||||
then
|
||||
if test -e "$f/.git" || test -e "$f/packed-refs"
|
||||
|
|
Loading…
Reference in New Issue